summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2014-01-29 19:00:43 -0500
committerNirbhay Choubey <nirbhay@mariadb.com>2014-01-29 19:00:43 -0500
commitecc2c96c9d9b0fb5d94a1203d3ffa1a2d6c036b7 (patch)
tree3798790cf0141d8074a1c935dd9d7a9c644de0e4
parentd2c72da610074afe95959094a11f95b29a741f29 (diff)
parent6b6d40fa6ca1fe36f2a51c2723c58dfb3fc025bb (diff)
downloadmariadb-git-ecc2c96c9d9b0fb5d94a1203d3ffa1a2d6c036b7.tar.gz
Merge of maria/5.5 into maria-5.5-galera.
bzr merge -r tag:mariadb-5.5.35 maria/5.5
-rw-r--r--CMakeLists.txt81
-rw-r--r--VERSION2
-rw-r--r--client/mysql.cc9
-rw-r--r--client/mysql_upgrade.c35
-rw-r--r--client/mysqladmin.cc3
-rw-r--r--client/mysqlbinlog.cc2
-rw-r--r--client/mysqlcheck.c1
-rw-r--r--client/mysqldump.c3
-rw-r--r--client/mysqlimport.c3
-rw-r--r--client/mysqlshow.c1
-rw-r--r--client/mysqlslap.c2
-rw-r--r--client/mysqltest.cc3
-rw-r--r--cmake/install_macros.cmake28
-rw-r--r--cmake/os/Linux.cmake7
-rw-r--r--cmake/plugin.cmake22
-rw-r--r--configure.cmake4
-rw-r--r--debian/dist/Debian/control172
-rw-r--r--debian/dist/Ubuntu/control166
-rwxr-xr-xdebian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch10
-rwxr-xr-xdebian/patches/38_scripts__mysqld_safe.sh__signals.dpatch6
-rwxr-xr-xdebian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch4
-rwxr-xr-xdebian/patches/44_scripts__mysql_config__libs.dpatch2
-rwxr-xr-xdebian/patches/50_mysql-test__db_test.dpatch4
-rw-r--r--extra/jemalloc/src/ctl.c2
-rw-r--r--extra/yassl/CMakeLists.txt5
-rw-r--r--extra/yassl/taocrypt/CMakeLists.txt5
-rw-r--r--include/handler_ername.h1
-rw-r--r--include/my_base.h3
-rw-r--r--include/my_check_opt.h73
-rw-r--r--include/myisam.h3
-rw-r--r--include/myisamchk.h39
-rw-r--r--include/mysql/service_logger.h2
-rw-r--r--libmysql/CMakeLists.txt2
-rw-r--r--libmysql/libmysql.c4
-rw-r--r--libmysqld/CMakeLists.txt2
-rw-r--r--mysql-test/CMakeLists.txt26
-rw-r--r--mysql-test/collections/default.experimental1
-rw-r--r--mysql-test/extra/rpl_tests/rpl_drop_create_temp_table.inc10
-rw-r--r--mysql-test/extra/rpl_tests/rpl_innodb.test2
-rw-r--r--mysql-test/extra/rpl_tests/rpl_reset_slave.test3
-rw-r--r--mysql-test/include/ctype_filesort.inc11
-rw-r--r--mysql-test/include/mtr_check.sql5
-rw-r--r--mysql-test/include/search_pattern_in_file.inc66
-rw-r--r--mysql-test/lib/My/Suite.pm1
-rw-r--r--mysql-test/lib/mtr_cases.pm67
-rwxr-xr-xmysql-test/mysql-test-run.pl67
-rw-r--r--mysql-test/r/alter_table_trans.result12
-rw-r--r--mysql-test/r/assign_key_cache-5405.result14
-rw-r--r--mysql-test/r/ctype_big5.result34
-rw-r--r--mysql-test/r/ctype_eucjpms.result34
-rw-r--r--mysql-test/r/ctype_euckr.result34
-rw-r--r--mysql-test/r/ctype_gb2312.result34
-rw-r--r--mysql-test/r/ctype_gbk.result34
-rw-r--r--mysql-test/r/ctype_latin1.result34
-rw-r--r--mysql-test/r/ctype_latin1_de.result17
-rw-r--r--mysql-test/r/ctype_sjis.result34
-rw-r--r--mysql-test/r/ctype_tis620.result34
-rw-r--r--mysql-test/r/ctype_uca.result17
-rw-r--r--mysql-test/r/ctype_ucs.result34
-rw-r--r--mysql-test/r/ctype_ujis.result34
-rw-r--r--mysql-test/r/ctype_utf16.result34
-rw-r--r--mysql-test/r/ctype_utf16_uca.result17
-rw-r--r--mysql-test/r/ctype_utf32.result34
-rw-r--r--mysql-test/r/ctype_utf32_uca.result17
-rw-r--r--mysql-test/r/ctype_utf8.result34
-rw-r--r--mysql-test/r/ctype_utf8mb4.result34
-rw-r--r--mysql-test/r/ctype_utf8mb4_heap.result34
-rw-r--r--mysql-test/r/ctype_utf8mb4_innodb.result34
-rw-r--r--mysql-test/r/ctype_utf8mb4_myisam.result34
-rw-r--r--mysql-test/r/derived.result36
-rw-r--r--mysql-test/r/derived_view.result109
-rw-r--r--mysql-test/r/func_equal.result43
-rw-r--r--mysql-test/r/func_time.result73
-rw-r--r--mysql-test/r/group_by.result48
-rw-r--r--mysql-test/r/group_by_innodb.result33
-rw-r--r--mysql-test/r/group_by_null.result6
-rw-r--r--mysql-test/r/innodb_ext_key.result48
-rw-r--r--mysql-test/r/innodb_icp.result25
-rw-r--r--mysql-test/r/insert.result20
-rw-r--r--mysql-test/r/join_cache.result19
-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/merge.result7
-rw-r--r--mysql-test/r/myisam_optimize.result1
-rw-r--r--mysql-test/r/mysql_tzinfo_to_sql_symlink.result40
-rw-r--r--mysql-test/r/mysql_upgrade.result3
-rw-r--r--mysql-test/r/mysqld--help.result7
-rw-r--r--mysql-test/r/order_by.result30
-rw-r--r--mysql-test/r/perror.result4
-rw-r--r--mysql-test/r/plugin_auth.result1
-rw-r--r--mysql-test/r/plugin_vars.result22
-rw-r--r--mysql-test/r/processlist.result1
-rw-r--r--mysql-test/r/ps.result23
-rw-r--r--mysql-test/r/quick_select_4161.result1
-rw-r--r--mysql-test/r/repair.result34
-rw-r--r--mysql-test/r/repair_symlink-5543.result14
-rw-r--r--mysql-test/r/select.result2
-rw-r--r--mysql-test/r/select_jcl6.result2
-rw-r--r--mysql-test/r/select_pkeycache.result2
-rw-r--r--mysql-test/r/sp-bugs.result46
-rw-r--r--mysql-test/r/subselect.result2
-rw-r--r--mysql-test/r/subselect4.result22
-rw-r--r--mysql-test/r/subselect_extra.result4
-rw-r--r--mysql-test/r/subselect_mat.result36
-rw-r--r--mysql-test/r/subselect_no_mat.result2
-rw-r--r--mysql-test/r/subselect_no_opts.result2
-rw-r--r--mysql-test/r/subselect_no_scache.result2
-rw-r--r--mysql-test/r/subselect_no_semijoin.result2
-rw-r--r--mysql-test/r/subselect_sj.result50
-rw-r--r--mysql-test/r/subselect_sj_jcl6.result50
-rw-r--r--mysql-test/r/subselect_sj_mat.result36
-rw-r--r--mysql-test/r/table_elim.result28
-rw-r--r--mysql-test/r/timezone2.result6
-rw-r--r--mysql-test/r/type_date.result2
-rw-r--r--mysql-test/r/type_datetime.result4
-rw-r--r--mysql-test/r/type_time.result109
-rw-r--r--mysql-test/r/union.result15
-rw-r--r--mysql-test/r/view.result50
-rw-r--r--mysql-test/std_data/host_old.MYD0
-rw-r--r--mysql-test/std_data/host_old.MYIbin0 -> 1024 bytes
-rw-r--r--mysql-test/std_data/host_old.frmbin0 -> 8958 bytes
-rw-r--r--mysql-test/suite/binlog/r/binlog_row_ctype_cp932.result34
-rw-r--r--mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result34
-rw-r--r--mysql-test/suite/handler/innodb.result4
-rw-r--r--mysql-test/suite/innodb/r/innodb_bug13510739.result2
-rw-r--r--mysql-test/suite/innodb/t/innodb.test6
-rw-r--r--mysql-test/suite/maria/alter.result33
-rw-r--r--mysql-test/suite/maria/alter.test27
-rw-r--r--mysql-test/suite/parts/r/insert_ignore-5421.result9
-rw-r--r--mysql-test/suite/parts/t/insert_ignore-5421.test12
-rw-r--r--mysql-test/suite/plugins/r/sql_error_log.result45
-rw-r--r--mysql-test/suite/plugins/t/sql_error_log.test55
-rw-r--r--mysql-test/suite/rpl/r/rpl_create_tmp_table_if_not_exists.result3
-rw-r--r--mysql-test/suite/rpl/r/rpl_lost_events_on_rotate.result14
-rw-r--r--mysql-test/suite/rpl/r/rpl_mdev359.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_mixed_ddl_dml.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result6
-rw-r--r--mysql-test/suite/rpl/r/rpl_rotate_logs.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_drop_create_temp_table.result6
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_reset_slave.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_stm_000001.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_stm_drop_create_temp_table.result6
-rw-r--r--mysql-test/suite/rpl/r/rpl_stm_innodb.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_stm_reset_slave.result1
-rw-r--r--mysql-test/suite/rpl/r/rpl_stop_slave.result2
-rw-r--r--mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test4
-rw-r--r--mysql-test/suite/rpl/t/rpl_lost_events_on_rotate.test51
-rw-r--r--mysql-test/suite/rpl/t/rpl_mdev359.test1
-rw-r--r--mysql-test/suite/rpl/t/rpl_mixed_ddl_dml.test1
-rw-r--r--mysql-test/suite/rpl/t/rpl_rotate_logs.test1
-rw-r--r--mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test1
-rw-r--r--mysql-test/suite/rpl/t/rpl_stm_000001.test2
-rw-r--r--mysql-test/suite/rpl/t/rpl_stop_slave.test2
-rw-r--r--mysql-test/suite/storage_engine/have_engine.inc2
-rw-r--r--mysql-test/suite/sys_vars/r/old_mode_basic.result174
-rw-r--r--mysql-test/suite/sys_vars/t/identity_func.test6
-rw-r--r--mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_func.test6
-rw-r--r--mysql-test/suite/sys_vars/t/last_insert_id_func.test6
-rw-r--r--mysql-test/suite/sys_vars/t/old_mode_basic.test244
-rw-r--r--mysql-test/suite/sys_vars/t/storage_engine_basic.test6
-rw-r--r--mysql-test/suite/sys_vars/t/tx_isolation_func.test6
-rw-r--r--mysql-test/t/alter_table_trans.test20
-rw-r--r--mysql-test/t/assign_key_cache-5405.test27
-rw-r--r--mysql-test/t/bad_frm_crash_5029.test3
-rw-r--r--mysql-test/t/date_formats.test2
-rw-r--r--mysql-test/t/derived.test39
-rw-r--r--mysql-test/t/derived_view.test112
-rw-r--r--mysql-test/t/func_equal.test50
-rw-r--r--mysql-test/t/func_time.test32
-rw-r--r--mysql-test/t/group_by.test39
-rw-r--r--mysql-test/t/group_by_innodb.test31
-rw-r--r--mysql-test/t/group_by_null.test7
-rw-r--r--mysql-test/t/innodb_ext_key.test28
-rw-r--r--mysql-test/t/innodb_icp.test28
-rw-r--r--mysql-test/t/insert.test18
-rw-r--r--mysql-test/t/join_cache.test20
-rw-r--r--mysql-test/t/merge.test9
-rw-r--r--mysql-test/t/myisam_optimize.test1
-rw-r--r--mysql-test/t/mysql_tzinfo_to_sql_symlink.test24
-rw-r--r--mysql-test/t/mysql_upgrade.test5
-rw-r--r--mysql-test/t/order_by.test32
-rw-r--r--mysql-test/t/perror.test2
-rw-r--r--mysql-test/t/plugin_vars.test56
-rw-r--r--mysql-test/t/processlist.test2
-rw-r--r--mysql-test/t/ps.test22
-rw-r--r--mysql-test/t/quick_select_4161.test1
-rw-r--r--mysql-test/t/repair.test20
-rw-r--r--mysql-test/t/repair_symlink-5543.test26
-rw-r--r--mysql-test/t/sp-bugs.test57
-rw-r--r--mysql-test/t/subselect4.test25
-rw-r--r--mysql-test/t/subselect_sj.test49
-rw-r--r--mysql-test/t/subselect_sj_mat.test40
-rw-r--r--mysql-test/t/table_elim.test31
-rw-r--r--mysql-test/t/timezone2.test6
-rw-r--r--mysql-test/t/type_time.test68
-rw-r--r--mysql-test/t/union.test16
-rw-r--r--mysql-test/t/view.test45
-rw-r--r--mysys/CMakeLists.txt4
-rw-r--r--mysys/mf_iocache2.c4
-rw-r--r--mysys/my_addr_resolve.c4
-rw-r--r--mysys/my_handler_errors.h3
-rw-r--r--packaging/WiX/mysql_server.wxs.in42
-rw-r--r--packaging/rpm-uln/mysql.spec.sh7
-rw-r--r--plugin/semisync/semisync_master.cc28
-rw-r--r--plugin/win_auth_client/CMakeLists.txt4
-rw-r--r--scripts/CMakeLists.txt9
-rw-r--r--scripts/mysql_install_db.sh8
-rw-r--r--[-rwxr-xr-x]scripts/mysql_secure_installation.pl.in0
-rw-r--r--scripts/mysql_system_tables_data.sql7
-rw-r--r--scripts/mysql_system_tables_fix.sql2
-rw-r--r--[-rwxr-xr-x]scripts/mytop.sh0
-rw-r--r--sql-common/client.c1
-rw-r--r--sql-common/my_time.c4
-rw-r--r--sql/ha_partition.cc27
-rw-r--r--sql/ha_partition.h3
-rw-r--r--sql/handler.cc15
-rw-r--r--sql/item.cc123
-rw-r--r--sql/item.h15
-rw-r--r--sql/item_cmpfunc.cc41
-rw-r--r--sql/item_cmpfunc.h7
-rw-r--r--sql/item_func.cc14
-rw-r--r--sql/item_func.h5
-rw-r--r--sql/item_strfunc.cc12
-rw-r--r--sql/item_strfunc.h2
-rw-r--r--sql/item_sum.cc10
-rw-r--r--sql/item_timefunc.cc46
-rw-r--r--sql/item_timefunc.h4
-rw-r--r--sql/log_event.cc4
-rw-r--r--sql/mysqld.cc5
-rw-r--r--sql/net_serv.cc2
-rw-r--r--sql/opt_range.cc19
-rw-r--r--sql/opt_subselect.cc21
-rw-r--r--sql/opt_table_elimination.cc15
-rw-r--r--sql/partition_info.cc6
-rw-r--r--sql/partition_info.h2
-rw-r--r--sql/records.cc3
-rw-r--r--sql/set_var.cc6
-rw-r--r--sql/set_var.h3
-rw-r--r--sql/share/errmsg-utf8.txt47
-rw-r--r--sql/slave.cc12
-rw-r--r--sql/sql_admin.cc5
-rw-r--r--sql/sql_base.cc89
-rw-r--r--sql/sql_class.cc4
-rw-r--r--sql/sql_class.h5
-rw-r--r--sql/sql_derived.cc17
-rw-r--r--sql/sql_insert.cc11
-rw-r--r--sql/sql_lex.cc27
-rw-r--r--sql/sql_lex.h3
-rw-r--r--sql/sql_parse.cc9
-rw-r--r--sql/sql_partition.cc2
-rw-r--r--sql/sql_plugin.cc167
-rw-r--r--sql/sql_prepare.cc2
-rw-r--r--sql/sql_select.cc223
-rw-r--r--sql/sql_show.cc7
-rw-r--r--sql/sql_table.cc37
-rw-r--r--sql/sql_time.cc33
-rw-r--r--sql/sql_time.h4
-rw-r--r--sql/sql_union.cc21
-rw-r--r--sql/sql_view.cc6
-rw-r--r--sql/sql_yacc.yy4
-rw-r--r--sql/sys_vars.cc38
-rw-r--r--sql/table.cc39
-rw-r--r--sql/tztime.cc191
-rw-r--r--storage/innobase/btr/btr0cur.c31
-rw-r--r--storage/innobase/btr/btr0pcur.c46
-rw-r--r--storage/innobase/dict/dict0dict.c13
-rw-r--r--storage/innobase/fil/fil0fil.c2
-rw-r--r--storage/innobase/handler/ha_innodb.cc82
-rw-r--r--storage/innobase/ibuf/ibuf0ibuf.c29
-rw-r--r--storage/innobase/include/btr0cur.h15
-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/dict0types.h5
-rw-r--r--storage/innobase/include/ibuf0ibuf.h5
-rw-r--r--storage/innobase/include/log0log.h2
-rw-r--r--storage/innobase/log/log0log.c110
-rw-r--r--storage/innobase/mysql-test/storage_engine/trx/cons_snapshot_serializable.rdiff18
-rw-r--r--storage/innobase/mysql-test/storage_engine/trx/disabled.def2
-rw-r--r--storage/innobase/mysql-test/storage_engine/trx/level_read_committed.rdiff11
-rw-r--r--storage/innobase/mysql-test/storage_engine/trx/level_read_uncommitted.rdiff11
-rw-r--r--storage/innobase/row/row0sel.c103
-rw-r--r--storage/maria/ha_maria.cc14
-rw-r--r--storage/maria/ma_check.c3
-rw-r--r--storage/maria/ma_check_standalone.h2
-rw-r--r--storage/maria/ma_recovery.c1
-rw-r--r--storage/maria/ma_sort.c1
-rw-r--r--storage/maria/maria_chk.c1
-rw-r--r--storage/maria/trnman.c4
-rw-r--r--storage/myisam/ha_myisam.cc5
-rw-r--r--storage/myisam/mi_keycache.c23
-rw-r--r--storage/myisammrg/ha_myisammrg.cc43
-rw-r--r--storage/myisammrg/mysql-test/storage_engine/disabled.def2
-rw-r--r--storage/oqgraph/CMakeLists.txt34
-rw-r--r--storage/tokudb/CMakeLists.txt2
-rw-r--r--storage/tokudb/ft-index/CMakeLists.txt1
-rw-r--r--storage/tokudb/mysql-test/rpl/suite.pm1
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb/suite.pm3
-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/hotindex-del-0.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.opt1
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_timeout.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test4
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/suite.pm6
-rw-r--r--storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test5
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_add3.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_add.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_drop.result40
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_drop.result308
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_fixed_add.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_var_drop.result40
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add2.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add2.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_drop.result140
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_varblob_add.result434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/suite.pm6
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add.test436
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add2.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_add3.test436
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_add.test436
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_blob_drop.test42
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_drop.test310
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_add.test436
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_fixed_drop.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_add.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_all_var_drop.test42
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add.test434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedblob_add2.test434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add.test434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_add2.test434
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_fixedvar_drop.test140
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/t/hcad_varblob_add.test434
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result4
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result9
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result18
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result9
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/suite.pm6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test4
-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_2.test12
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test6
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test3
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/commit_5396.result16
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result1
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/suite.pm6
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/t/commit_5396.test18
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test1
-rw-r--r--storage/tokudb/tokudb.cnf6
-rw-r--r--storage/xtradb/btr/btr0cur.c31
-rw-r--r--storage/xtradb/btr/btr0pcur.c46
-rw-r--r--storage/xtradb/buf/buf0buf.c6
-rw-r--r--storage/xtradb/buf/buf0flu.c10
-rw-r--r--storage/xtradb/dict/dict0dict.c13
-rw-r--r--storage/xtradb/fil/fil0fil.c17
-rw-r--r--storage/xtradb/handler/ha_innodb.cc82
-rw-r--r--storage/xtradb/handler/i_s.cc4
-rw-r--r--storage/xtradb/ibuf/ibuf0ibuf.c29
-rw-r--r--storage/xtradb/include/btr0cur.h15
-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/dict0types.h5
-rw-r--r--storage/xtradb/include/ibuf0ibuf.h5
-rw-r--r--storage/xtradb/include/log0log.h2
-rw-r--r--storage/xtradb/include/univ.i2
-rw-r--r--storage/xtradb/log/log0log.c116
-rw-r--r--storage/xtradb/log/log0online.c19
-rw-r--r--storage/xtradb/row/row0sel.c103
-rw-r--r--storage/xtradb/trx/trx0trx.c8
-rw-r--r--strings/CMakeLists.txt5
-rw-r--r--strings/ctype-utf8.c4
-rw-r--r--strings/ctype-win1250ch.c2
-rw-r--r--support-files/compiler_warnings.supp5
-rw-r--r--support-files/mysql.spec.sh5
-rw-r--r--support-files/rpm/server-postin.sh4
-rw-r--r--tests/bug25714.c2
-rw-r--r--vio/CMakeLists.txt5
-rw-r--r--zlib/CMakeLists.txt5
403 files changed, 14776 insertions, 1291 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f9dbbb2837..43e6077b253 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,12 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.6)
CMAKE_POLICY(VERSION 2.8)
endif()
+# explicitly set the policy to OLD
+# (cannot use NEW, not everyone is on cmake-2.8.12 yet)
+IF(POLICY CMP0022)
+ CMAKE_POLICY(SET CMP0022 OLD)
+ENDIF()
+
MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}")
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
@@ -170,6 +176,81 @@ MARK_AS_ADVANCED(CYBOZU BACKUP_TEST WITHOUT_SERVER DISABLE_SHARED)
OPTION(NOT_FOR_DISTRIBUTION "Allow linking with GPLv2-incompatible system libraries. Only set it you never plan to distribute the resulting binaries" OFF)
+include(CheckCSourceCompiles)
+include(CheckCXXSourceCompiles)
+# We need some extra FAIL_REGEX patterns
+# Note that CHECK_C_SOURCE_COMPILES is a misnomer, it will also link.
+MACRO (MY_CHECK_C_COMPILER_FLAG FLAG RESULT)
+ SET(SAVE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
+ SET(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}")
+ CHECK_C_SOURCE_COMPILES("int main(void) { return 0; }" ${RESULT}
+ FAIL_REGEX "argument unused during compilation"
+ FAIL_REGEX "unsupported .*option"
+ FAIL_REGEX "unknown .*option"
+ FAIL_REGEX "unrecognized .*option"
+ FAIL_REGEX "ignoring unknown option"
+ FAIL_REGEX "[Ww]arning: [Oo]ption"
+ )
+ SET(CMAKE_REQUIRED_FLAGS "${SAVE_CMAKE_REQUIRED_FLAGS}")
+ENDMACRO()
+
+MACRO (MY_CHECK_CXX_COMPILER_FLAG FLAG RESULT)
+ SET(SAVE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
+ SET(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}")
+ CHECK_CXX_SOURCE_COMPILES("int main(void) { return 0; }" ${RESULT}
+ FAIL_REGEX "argument unused during compilation"
+ FAIL_REGEX "unsupported .*option"
+ FAIL_REGEX "unknown .*option"
+ FAIL_REGEX "unrecognized .*option"
+ FAIL_REGEX "ignoring unknown option"
+ FAIL_REGEX "[Ww]arning: [Oo]ption"
+ )
+ SET(CMAKE_REQUIRED_FLAGS "${SAVE_CMAKE_REQUIRED_FLAGS}")
+ENDMACRO()
+
+OPTION(WITH_ASAN "Enable address sanitizer" OFF)
+IF (WITH_ASAN)
+ # gcc 4.8.1 and new versions of clang
+ MY_CHECK_C_COMPILER_FLAG("-fsanitize=address" HAVE_C_FSANITIZE)
+ MY_CHECK_CXX_COMPILER_FLAG("-fsanitize=address" HAVE_CXX_FSANITIZE)
+
+ IF(HAVE_C_FSANITIZE AND HAVE_CXX_FSANITIZE)
+ # We switch on basic optimization also for debug builds.
+ # With optimization we may get some warnings, so we switch off -Werror
+ SET(CMAKE_C_FLAGS_DEBUG
+ "${CMAKE_C_FLAGS_DEBUG} -fsanitize=address -O1 -Wno-error -fPIC")
+ SET(CMAKE_C_FLAGS_RELWITHDEBINFO
+ "${CMAKE_C_FLAGS_RELWITHDEBINFO} -fsanitize=address -fPIC")
+ SET(CMAKE_CXX_FLAGS_DEBUG
+ "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address -O1 -Wno-error -fPIC")
+ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO
+ "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -fsanitize=address -fPIC")
+ SET(WITH_ASAN_OK 1)
+ ELSE()
+ # older versions of clang
+ MY_CHECK_C_COMPILER_FLAG("-faddress-sanitizer" HAVE_C_FADDRESS)
+ MY_CHECK_CXX_COMPILER_FLAG("-faddress-sanitizer" HAVE_CXX_FFADDRESS)
+
+ IF(HAVE_C_FADDRESS AND HAVE_CXX_FFADDRESS)
+ # We switch on basic optimization also for debug builds.
+ SET(CMAKE_C_FLAGS_DEBUG
+ "${CMAKE_C_FLAGS_DEBUG} -faddress-sanitizer -O1 -fPIC")
+ SET(CMAKE_C_FLAGS_RELWITHDEBINFO
+ "${CMAKE_C_FLAGS_RELWITHDEBINFO} -faddress-sanitizer -fPIC")
+ SET(CMAKE_CXX_FLAGS_DEBUG
+ "${CMAKE_CXX_FLAGS_DEBUG} -faddress-sanitizer -O1 -fPIC")
+ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO
+ "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -faddress-sanitizer -fPIC")
+ SET(WITH_ASAN_OK 1)
+ ENDIF()
+ ENDIF()
+
+ IF(NOT WITH_ASAN_OK)
+ MESSAGE(FATAL_ERROR "Do not know how to enable address sanitizer")
+ ENDIF()
+ENDIF()
+
+
OPTION(ENABLE_DEBUG_SYNC "Enable debug sync (debug builds only)" ON)
IF(ENABLE_DEBUG_SYNC)
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
diff --git a/VERSION b/VERSION
index 26414adb678..3a42bb0f600 100644
--- a/VERSION
+++ b/VERSION
@@ -1,4 +1,4 @@
MYSQL_VERSION_MAJOR=5
MYSQL_VERSION_MINOR=5
-MYSQL_VERSION_PATCH=34
+MYSQL_VERSION_PATCH=35
MYSQL_VERSION_EXTRA=
diff --git a/client/mysql.cc b/client/mysql.cc
index e3885422563..fbae2310e39 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1227,7 +1227,7 @@ int main(int argc,char *argv[])
put_info("Welcome to the MariaDB monitor. Commands end with ; or \\g.",
INFO_INFO);
- sprintf((char*) glob_buffer.ptr(),
+ my_snprintf((char*) glob_buffer.ptr(), glob_buffer.alloced_length(),
"Your %s connection id is %lu\nServer version: %s\n",
mysql_get_server_name(&mysql),
mysql_thread_id(&mysql), server_version_string(&mysql));
@@ -1383,7 +1383,6 @@ sig_handler handle_sigint(int sig)
mysql_real_query(kill_mysql, kill_buffer, (uint) strlen(kill_buffer));
mysql_close(kill_mysql);
tee_fprintf(stdout, "Ctrl-C -- query killed. Continuing normally.\n");
- interrupted_query= 0;
if (in_com_source)
aborted= 1; // Abort source command
return;
@@ -1409,7 +1408,8 @@ sig_handler window_resize(int sig)
struct winsize window_size;
if (ioctl(fileno(stdin), TIOCGWINSZ, &window_size) == 0)
- terminal_width= window_size.ws_col;
+ if (window_size.ws_col > 0)
+ terminal_width= window_size.ws_col;
}
#endif
@@ -1673,8 +1673,9 @@ static void usage(int version)
return;
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
printf("Usage: %s [OPTIONS] [database]\n", my_progname);
- my_print_help(my_long_options);
print_defaults("my", load_default_groups);
+ puts("");
+ my_print_help(my_long_options);
my_print_variables(my_long_options);
}
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c
index 9e39b7273ea..8529ab91015 100644
--- a/client/mysql_upgrade.c
+++ b/client/mysql_upgrade.c
@@ -22,7 +22,7 @@
#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */
-#define VER "1.3"
+#define VER "1.3a"
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
@@ -164,6 +164,15 @@ static struct my_option my_long_options[]=
};
+static const char *load_default_groups[]=
+{
+ "client", /* Read settings how to connect to server */
+ "mysql_upgrade", /* Read special settings for mysql_upgrade */
+ "client-server", /* Reads settings common between client & server */
+ "client-mariadb", /* Read mariadb unique client settings */
+ 0
+};
+
static void free_used_memory(void)
{
/* Free memory allocated by 'load_defaults' */
@@ -180,6 +189,7 @@ static void die(const char *fmt, ...)
DBUG_ENTER("die");
/* Print the error message */
+ fflush(stdout);
va_start(args, fmt);
if (fmt)
{
@@ -259,8 +269,11 @@ get_one_option(int optid, const struct my_option *opt,
printf("%s Ver %s Distrib %s, for %s (%s)\n",
my_progname, VER, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
- puts("MariaDB utility for upgrading databases to new MariaDB versions.\n");
+ puts("MariaDB utility for upgrading databases to new MariaDB versions.");
+ print_defaults("my", load_default_groups);
+ puts("");
my_print_help(my_long_options);
+ my_print_variables(my_long_options);
die(0);
break;
@@ -736,6 +749,7 @@ static int run_mysqlcheck_upgrade(void)
!opt_silent || opt_verbose ? "--verbose": "",
opt_silent ? "--silent": "",
opt_write_binlog ? "--write-binlog" : "--skip-write-binlog",
+ "2>&1",
NULL);
}
@@ -754,6 +768,7 @@ static int run_mysqlcheck_fixnames(void)
opt_verbose ? "--verbose": "",
opt_silent ? "--silent": "",
opt_write_binlog ? "--write-binlog" : "--skip-write-binlog",
+ "2>&1",
NULL);
}
@@ -855,14 +870,11 @@ static int run_sql_fix_privilege_tables(void)
}
-static const char *load_default_groups[]=
+static void print_error(const char *error_msg, DYNAMIC_STRING *output)
{
- "client", /* Read settings how to connect to server */
- "mysql_upgrade", /* Read special settings for mysql_upgrade */
- "client-server", /* Reads settings common between client & server */
- "client-mariadb", /* Read mariadb unique client settings */
- 0
-};
+ fprintf(stderr, "%s\n", error_msg);
+ fprintf(stderr, "%s", output->str);
+}
/* Convert the specified version string into the numeric format. */
@@ -895,6 +907,8 @@ static int check_version_match(void)
&ds_version, FALSE) ||
extract_variable_from_show(&ds_version, version_str))
{
+ print_error("Version check failed. Got the following error when calling "
+ "the 'mysql' command line client", &ds_version);
dynstr_free(&ds_version);
return 1; /* Query failed */
}
@@ -963,7 +977,8 @@ int main(int argc, char **argv)
}
else
{
- printf("The --upgrade-system-tables option was used, databases won't be touched.\n");
+ if (!opt_silent)
+ printf("The --upgrade-system-tables option was used, databases won't be touched.\n");
}
/*
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc
index e4a45d52f83..dd35547a2c2 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -1179,9 +1179,10 @@ static void usage(void)
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
puts("Administration program for the mysqld daemon.");
printf("Usage: %s [OPTIONS] command command....\n", my_progname);
+ print_defaults("my",load_default_groups);
+ puts("");
my_print_help(my_long_options);
my_print_variables(my_long_options);
- print_defaults("my",load_default_groups);
puts("\nWhere command is a one or more of: (Commands may be shortened)\n\
create databasename Create a new database\n\
debug Instruct server to write debug information to log\n\
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index 408a7c36139..990fadadae2 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -1542,6 +1542,8 @@ static void usage()
Dumps a MySQL binary log in a format usable for viewing or for piping to\n\
the mysql command line client.\n\n");
printf("Usage: %s [options] log-files\n", my_progname);
+ print_defaults("my",load_groups);
+ puts("");
my_print_help(my_options);
my_print_variables(my_options);
}
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index 7462c7561f6..b9053c3a142 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -250,6 +250,7 @@ static void usage(void)
puts("http://kb.askmonty.org/v/mysqlcheck for latest information about");
puts("this program.");
print_defaults("my", load_default_groups);
+ puts("");
my_print_help(my_long_options);
my_print_variables(my_long_options);
DBUG_VOID_RETURN;
diff --git a/client/mysqldump.c b/client/mysqldump.c
index bf3697f2b84..88aae2d4321 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -612,7 +612,8 @@ static void usage(void)
puts("Dumping structure and contents of MySQL databases and tables.");
short_usage_sub();
print_defaults("my",load_default_groups);
- my_print_help(my_long_options);
+ puts("");
+my_print_help(my_long_options);
my_print_variables(my_long_options);
} /* usage */
diff --git a/client/mysqlimport.c b/client/mysqlimport.c
index 77d0cd0a7d3..686f26cebeb 100644
--- a/client/mysqlimport.c
+++ b/client/mysqlimport.c
@@ -216,8 +216,9 @@ If one uses sockets to connect to the MySQL server, the server will open and\n\
read the text file directly. In other cases the client will open the text\n\
file. The SQL command 'LOAD DATA INFILE' is used to import the rows.\n");
- printf("\nUsage: %s [OPTIONS] database textfile...",my_progname);
+ printf("\nUsage: %s [OPTIONS] database textfile...\n",my_progname);
print_defaults("my",load_default_groups);
+ puts("");
my_print_help(my_long_options);
my_print_variables(my_long_options);
}
diff --git a/client/mysqlshow.c b/client/mysqlshow.c
index 323c4282ff4..5bcdd911cfd 100644
--- a/client/mysqlshow.c
+++ b/client/mysqlshow.c
@@ -279,6 +279,7 @@ If no table is given, then all matching tables in database are shown.\n\
If no column is given, then all matching columns and column types in table\n\
are shown.");
print_defaults("my",load_default_groups);
+ puts("");
my_print_help(my_long_options);
my_print_variables(my_long_options);
}
diff --git a/client/mysqlslap.c b/client/mysqlslap.c
index 202fcf7950f..536535be294 100644
--- a/client/mysqlslap.c
+++ b/client/mysqlslap.c
@@ -732,7 +732,9 @@ static void usage(void)
puts("Run a query multiple times against the server.\n");
printf("Usage: %s [OPTIONS]\n",my_progname);
print_defaults("my",load_default_groups);
+ puts("");
my_print_help(my_long_options);
+ my_print_variables(my_long_options);
}
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 22645c89067..68d220b26c0 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -7003,8 +7003,9 @@ void usage()
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
printf("Runs a test against the mysql server and compares output with a results file.\n\n");
printf("Usage: %s [OPTIONS] [database] < test_file\n", my_progname);
+ print_defaults("my",load_default_groups);
+ puts("");
my_print_help(my_long_options);
- printf(" --no-defaults Don't read default options from any options file.\n");
my_print_variables(my_long_options);
}
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
index b7e27ba5667..df0d1142727 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -47,10 +47,10 @@ FUNCTION (INSTALL_DEBUG_SYMBOLS)
)
IF(NOT ARG_COMPONENT)
- MESSAGE(FATAL_ERROR "No COMPONENT passed to INSTALL_DEBUG_SYMBOLS")
+ SET(ARG_COMPONENT DebugBinaries)
ENDIF()
IF(NOT ARG_INSTALL_LOCATION)
- MESSAGE(FATAL_ERROR "No INSTALL_LOCATION passed to INSTALL_DEBUG_SYMBOLS")
+ SET(ARG_INSTALL_LOCATION lib)
ENDIF()
SET(targets ${ARG_DEFAULT_ARGS})
@@ -400,3 +400,27 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
ENDIF()
ENDFUNCTION()
+
+FUNCTION(INSTALL_MYSQL_TEST from to)
+ IF(INSTALL_MYSQLTESTDIR)
+ INSTALL(
+ DIRECTORY ${from}
+ DESTINATION "${INSTALL_MYSQLTESTDIR}/${to}"
+ USE_SOURCE_PERMISSIONS
+ COMPONENT Test
+ PATTERN "var/" EXCLUDE
+ PATTERN "lib/My/SafeProcess" EXCLUDE
+ PATTERN "lib/t*" EXCLUDE
+ PATTERN "CPack" EXCLUDE
+ PATTERN "CMake*" EXCLUDE
+ PATTERN "mtr.out*" EXCLUDE
+ PATTERN ".cvsignore" EXCLUDE
+ PATTERN "*.am" EXCLUDE
+ PATTERN "*.in" EXCLUDE
+ PATTERN "*.vcxproj" EXCLUDE
+ PATTERN "*.vcxproj.filters" EXCLUDE
+ PATTERN "*.vcxproj.user" EXCLUDE
+ PATTERN "CTest" EXCLUDE
+ )
+ ENDIF()
+ENDFUNCTION()
diff --git a/cmake/os/Linux.cmake b/cmake/os/Linux.cmake
index 36d7ade66a7..b0680d92a1b 100644
--- a/cmake/os/Linux.cmake
+++ b/cmake/os/Linux.cmake
@@ -1,5 +1,5 @@
-# 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
@@ -34,7 +34,10 @@ ENDFOREACH()
# Ensure we have clean build for shared libraries
# without unresolved symbols
-SET(LINK_FLAG_NO_UNDEFINED "-Wl,--no-undefined")
+# Not supported with AddressSanitizer
+IF(NOT WITH_ASAN)
+ SET(LINK_FLAG_NO_UNDEFINED "-Wl,--no-undefined")
+ENDIF()
# 64 bit file offset support flag
SET(_FILE_OFFSET_BITS 64)
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index b06d6ac9ca3..7b0d7af7b3f 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -27,23 +27,6 @@ INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/cmake_parse_arguments.cmake)
# [LINK_LIBRARIES lib1...libN]
# [DEPENDENCIES target1...targetN]
-# Append collections files for the plugin to the common files
-# Make sure we don't copy twice if running cmake again
-
-MACRO(PLUGIN_APPEND_COLLECTIONS plugin)
- SET(fcopied "${CMAKE_CURRENT_SOURCE_DIR}/tests/collections/FilesCopied")
- IF(NOT EXISTS ${fcopied})
- FILE(GLOB collections ${CMAKE_CURRENT_SOURCE_DIR}/tests/collections/*)
- FOREACH(cfile ${collections})
- FILE(READ ${cfile} contents)
- GET_FILENAME_COMPONENT(fname ${cfile} NAME)
- FILE(APPEND ${CMAKE_SOURCE_DIR}/mysql-test/collections/${fname} "${contents}")
- FILE(APPEND ${fcopied} "${fname}\n")
- MESSAGE(STATUS "Appended ${cfile}")
- ENDFOREACH()
- ENDIF()
-ENDMACRO()
-
MACRO(MYSQL_ADD_PLUGIN)
MYSQL_PARSE_ARGUMENTS(ARG
"LINK_LIBRARIES;DEPENDENCIES;MODULE_OUTPUT_NAME;STATIC_OUTPUT_NAME;COMPONENT"
@@ -226,6 +209,11 @@ MACRO(MYSQL_ADD_PLUGIN)
TARGET_LINK_LIBRARIES (${target} ${ARG_LINK_LIBRARIES})
ENDIF()
+ GET_FILENAME_COMPONENT(subpath ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+ IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/mysql-test")
+ INSTALL_MYSQL_TEST("${CMAKE_CURRENT_SOURCE_DIR}/mysql-test/" "plugin/${subpath}")
+ ENDIF()
+
ENDMACRO()
diff --git a/configure.cmake b/configure.cmake
index 9476b876b4c..0bd7bbe38a1 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -147,6 +147,10 @@ IF(UNIX)
SET(CMAKE_REQUIRED_LIBRARIES
${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT} ${LIBEXECINFO})
+ # Need explicit pthread for gcc -fsanitize=address
+ IF(CMAKE_USE_PTHREADS_INIT AND CMAKE_C_FLAGS MATCHES "-fsanitize=")
+ SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} pthread)
+ ENDIF()
IF(CMAKE_REQUIRED_LIBRARIES)
LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES)
diff --git a/debian/dist/Debian/control b/debian/dist/Debian/control
index cf10e8e2daf..6d692773abb 100644
--- a/debian/dist/Debian/control
+++ b/debian/dist/Debian/control
@@ -10,6 +10,178 @@ Homepage: http://mariadb.org/
Vcs-Browser: http://bazaar.launchpad.net/~maria-captains/maria/5.5/files
Vcs-Bzr: bzr://lp:maria
+Package: libmariadbclient18
+Section: libs
+Architecture: any
+Depends: mariadb-common, libmysqlclient18 (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Conflicts: mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33),
+ mariadb-server-5.1, mariadb-server-5.2, mariadb-server-5.3
+Description: MariaDB database client library
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the client library.
+
+Package: libmysqlclient18
+Section: libs
+Architecture: any
+Depends: libmariadbclient18 (= ${source:Version})
+Replaces: libmysqlclient18 (<< ${source:Version})
+Description: Virtual package to satisfy external depends
+ This is an empty package that provides an updated "best" version of
+ libmysqlclient18 that does not conflict with the libmariadbclient18
+ package.
+ .
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+
+Package: libmariadbd-dev
+Architecture: any
+Section: libdevel
+Depends: libmariadbclient-dev (>= ${source:Version}), ${misc:Depends}
+Provides: libmysqld-dev
+Conflicts: libmysqld-dev
+Replaces: libmysqld-dev
+Description: MariaDB embedded database development files
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the embedded server library and header files.
+
+Package: libmariadbclient-dev
+Architecture: any
+Section: libdevel
+Depends: libmariadbclient18 (>= ${source:Version}), zlib1g-dev, , ${shlibs:Depends}, ${misc:Depends}
+Replaces: libmariadbclient16-dev, libmysqlclient16-dev
+Conflicts: libmysqlclient-dev, libmariadbclient16-dev, libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient15-dev, libmysqlclient16-dev
+Provides: libmysqlclient-dev
+Description: MariaDB database development files
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes development libraries and header files.
+
+Package: mysql-common
+Section: database
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: MariaDB database common files (e.g. /etc/mysql/my.cnf)
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes files needed by all versions of the client library
+ (e.g. /etc/mysql/my.cnf).
+
+Package: mariadb-common
+Section: database
+Architecture: all
+Depends: mysql-common, ${shlibs:Depends}, ${misc:Depends}
+Description: MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes files needed by all versions of the client library
+ (e.g. /etc/mysql/conf.d/mariadb.cnf).
+
+Package: mariadb-client-core-5.5
+Architecture: any
+Depends: mariadb-common, libmariadbclient18 (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Provides: mysql-client-core, mysql-client-core-5.1, mysql-client-core-5.5
+Conflicts: mysql-client (<< 5.0.51), mysql-client-5.0,
+ mysql-client-5.1 (<< ${source:Version}), mysql-client-5.5 (<< ${source:Version}),
+ mysql-client-core-5.1, mysql-client-core-5.5,
+ mariadb-client-5.1, mariadb-client-core-5.1,
+ mariadb-client-5.2, mariadb-client-core-5.2,
+ mariadb-client-5.3, mariadb-client-core-5.3
+Replaces: mysql-client (<< 5.0.51), mysql-client-5.0,
+ mysql-client-5.1, mysql-client-5.5,
+ mysql-client-core-5.1, mysql-client-core-5.5,
+ mariadb-client-5.1, mariadb-client-core-5.1,
+ mariadb-client-5.2, mariadb-client-core-5.2,
+ mariadb-client-5.3, mariadb-client-core-5.3
+Description: MariaDB database core client binaries
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the core client files, as used by Akonadi.
+
+Package: mariadb-client-5.5
+Architecture: any
+Depends: debianutils (>=1.6), libdbi-perl, libdbd-mysql-perl (>= 1.2202), mariadb-common, libmariadbclient18 (>= ${source:Version}), mariadb-client-core-5.5 (>= ${source:Version}), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: virtual-mysql-client, mysql-client,
+ mysql-client-4.1, mysql-client-5.1, mysql-client-5.5
+Conflicts: mysql-client (<< 5.0.51), mysql-client-5.0, mysql-client-5.1,
+ mariadb-client (<< ${source:Version}),
+ mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3, mysql-client-5.5
+Replaces: mysql-client (<< 5.0.51), mysql-client-5.0, mysql-client-5.1,
+ mysql-client-5.5,
+ mariadb-client (<< ${source:Version}),
+ mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3
+Description: MariaDB database client binaries
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the client binaries and the additional tools
+ innotop and mysqlreport.
+
+Package: mariadb-server-core-5.5
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libmariadbclient18 (>= ${binary:Version})
+Provides: mysql-server-core, mysql-server-core-5.1, mysql-server-core-5.5
+Conflicts: mariadb-server-5.1 (<< 5.1.60),
+ mariadb-server-5.2 (<< 5.2.10),
+ mariadb-server-5.3 (<< 5.3.3),
+ mysql-server-5.0,
+ mysql-server-core-5.0, mysql-server-core-5.1, mysql-server-core-5.5,
+ mariadb-server-core-5.1, mariadb-server-core-5.2, mariadb-server-core-5.5
+Replaces: mariadb-server-5.1 (<< 5.1.60),
+ mariadb-server-5.2 (<< 5.2.10),
+ mariadb-server-5.3 (<< 5.3.3),
+ mysql-server-5.0,
+ mysql-server-core-5.0, mysql-server-core-5.1, mysql-server-core-5.5,
+ mariadb-server-core-5.1, mariadb-server-core-5.2, mariadb-server-core-5.5
+Description: MariaDB database core server files
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the core server files, as used by Akonadi.
+
+Package: mariadb-test-5.5
+Section: database
+Architecture: any
+Depends: mariadb-server-5.5 (= ${source:Version}), mariadb-client-5.5 (= ${source:Version})
+Conflicts: mariadb-test (<< ${source:Version}),
+ mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3,
+ mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33)
+Suggests: patch
+Replaces: mariadb-test (<< ${source:Version}),
+ mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
+Description: MariaDB database regression test suite
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the regression test suite.
+
Package: mariadb-galera-server-5.5
Architecture: any
Suggests: tinyca, mailx, mariadb-test
diff --git a/debian/dist/Ubuntu/control b/debian/dist/Ubuntu/control
index 409612dccbb..9e8f491cfcb 100644
--- a/debian/dist/Ubuntu/control
+++ b/debian/dist/Ubuntu/control
@@ -10,6 +10,172 @@ Homepage: http://mariadb.org/
Vcs-Browser: http://bazaar.launchpad.net/~maria-captains/maria/5.5/files
Vcs-Bzr: bzr://lp:maria
+Package: libmariadbclient18
+Section: libs
+Architecture: any
+Depends: mariadb-common, libmysqlclient18 (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Conflicts: mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33),
+ mariadb-server-5.1, mariadb-server-5.2, mariadb-server-5.3
+Description: MariaDB database client library
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the client library.
+
+Package: libmysqlclient18
+Section: libs
+Architecture: any
+Depends: libmariadbclient18 (= ${source:Version})
+Replaces: libmysqlclient18 (<< ${source:Version})
+Description: Virtual package to satisfy external depends
+ This is an empty package that provides an updated "best" version of
+ libmysqlclient18 that does not conflict with the libmariadbclient18
+ package.
+ .
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+
+Package: libmariadbd-dev
+Architecture: any
+Section: libdevel
+Depends: libmariadbclient-dev (>= ${source:Version}), ${misc:Depends}
+Provides: libmysqld-dev
+Conflicts: libmysqld-dev
+Replaces: libmysqld-dev
+Description: MariaDB embedded database development files
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the embedded server library and header files.
+
+Package: libmariadbclient-dev
+Architecture: any
+Section: libdevel
+Depends: libmariadbclient18 (>= ${source:Version}), zlib1g-dev, , ${shlibs:Depends}, ${misc:Depends}
+Replaces: libmariadbclient16-dev, libmysqlclient16-dev
+Conflicts: libmysqlclient-dev, libmariadbclient16-dev, libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient15-dev, libmysqlclient16-dev
+Provides: libmysqlclient-dev
+Description: MariaDB database development files
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes development libraries and header files.
+
+Package: mysql-common
+Section: database
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: MariaDB database common files (e.g. /etc/mysql/my.cnf)
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes files needed by all versions of the client library
+ (e.g. /etc/mysql/my.cnf).
+
+Package: mariadb-common
+Section: database
+Architecture: all
+Depends: mysql-common, ${shlibs:Depends}, ${misc:Depends}
+Description: MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes files needed by all versions of the client library
+ (e.g. /etc/mysql/conf.d/mariadb.cnf).
+
+Package: mariadb-client-core-5.5
+Architecture: any
+Depends: mariadb-common, libmariadbclient18 (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Provides: mysql-client-core, mysql-client-core-5.1, mysql-client-core-5.5
+Conflicts: mysql-client (<< 5.0.51), mysql-client-5.0,
+ mysql-client-5.1 (<< ${source:Version}), mysql-client-5.5 (<< ${source:Version}),
+ mysql-client-core-5.1, mysql-client-core-5.5,
+ mariadb-client-5.1, mariadb-client-core-5.1,
+ mariadb-client-5.2, mariadb-client-core-5.2,
+ mariadb-client-5.3, mariadb-client-core-5.3
+Replaces: mysql-client (<< 5.0.51), mysql-client-5.0,
+ mysql-client-5.1, mysql-client-5.5,
+ mysql-client-core-5.1, mysql-client-core-5.5,
+ mariadb-client-5.1, mariadb-client-core-5.1,
+ mariadb-client-5.2, mariadb-client-core-5.2,
+ mariadb-client-5.3, mariadb-client-core-5.3
+Description: MariaDB database core client binaries
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the core client files, as used by Akonadi.
+
+Package: mariadb-client-5.5
+Architecture: any
+Depends: debianutils (>=1.6), libdbi-perl, libdbd-mysql-perl (>= 1.2202), mariadb-common, libmariadbclient18 (>= ${source:Version}), mariadb-client-core-5.5 (>= ${source:Version}), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: virtual-mysql-client, mysql-client,
+ mysql-client-4.1, mysql-client-5.1, mysql-client-5.5
+Conflicts: mysql-client (<< 5.0.51), mysql-client-5.0, mysql-client-5.1,
+ mariadb-client (<< ${source:Version}),
+ mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3, mysql-client-5.5
+Replaces: mysql-client (<< 5.0.51), mysql-client-5.0, mysql-client-5.1,
+ mysql-client-5.5,
+ mariadb-client (<< ${source:Version}),
+ mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3
+Description: MariaDB database client binaries
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the client binaries and the additional tools
+ innotop and mysqlreport.
+
+Package: mariadb-server-core-5.5
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libmariadbclient18 (>= ${binary:Version})
+Provides: mysql-server-core, mysql-server-core-5.1, mysql-server-core-5.5
+Conflicts: mysql-server-5.0,
+ mysql-server-core-5.0, mysql-server-core-5.1, mysql-server-core-5.5,
+ mariadb-server-core-5.1, mariadb-server-core-5.2, mariadb-server-core-5.5
+Replaces: mysql-server-5.0,
+ mysql-server-core-5.0, mysql-server-core-5.1, mysql-server-core-5.5,
+ mariadb-server-core-5.1, mariadb-server-core-5.2, mariadb-server-core-5.5
+Description: MariaDB database core server files
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the core server files, as used by Akonadi.
+
+Package: mariadb-test-5.5
+Section: database
+Architecture: any
+Depends: mariadb-server-5.5 (= ${source:Version}), mariadb-client-5.5 (= ${source:Version})
+Suggests: patch
+Conflicts: mariadb-test (<< ${source:Version}),
+ mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3,
+ mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33)
+Replaces: mariadb-test (<< ${source:Version}),
+ mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
+Description: MariaDB database regression test suite
+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
+ server. SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MariaDB are speed, robustness and
+ ease of use.
+ .
+ This package includes the regression test suite.
+
Package: mariadb-galera-server-5.5
Architecture: any
Suggests: tinyca, mailx, mariadb-test
diff --git a/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch b/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch
index 4c84e14bf06..a52c198da8d 100755
--- a/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch
+++ b/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch
@@ -10,7 +10,7 @@
@DPATCH@
--- old/scripts/mysql_system_tables_data.sql 2008-12-04 22:59:44.000000000 +0100
+++ new/scripts/mysql_system_tables_data.sql 2008-12-04 23:00:07.000000000 +0100
-@@ -26,8 +26,6 @@
+@@ -30,8 +30,6 @@ SELECT LOWER( REPLACE((SELECT REPLACE(@@
-- Fill "db" table with default grants for anyone to
-- access database 'test' and 'test_%' if "db" table didn't exist
CREATE TEMPORARY TABLE tmp_db LIKE db;
@@ -19,12 +19,12 @@
INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
DROP TABLE tmp_db;
-@@ -40,8 +38,6 @@
- REPLACE INTO tmp_user SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','' FROM dual WHERE LOWER( @current_hostname) != 'localhost';
+@@ -43,8 +41,6 @@ INSERT INTO tmp_user VALUES ('localhost'
+ REPLACE INTO tmp_user SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','' FROM dual WHERE @current_hostname != 'localhost';
REPLACE INTO tmp_user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','');
REPLACE INTO tmp_user VALUES ('::1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','');
-INSERT INTO tmp_user (host,user) VALUES ('localhost','');
--INSERT INTO tmp_user (host,user) SELECT @current_hostname,'' FROM dual WHERE LOWER(@current_hostname ) != 'localhost';
+-INSERT INTO tmp_user (host,user) SELECT @current_hostname,'' FROM dual WHERE @current_hostname != 'localhost';
INSERT INTO user SELECT * FROM tmp_user WHERE @had_user_table=0;
DROP TABLE tmp_user;
-
+
diff --git a/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch b/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
index 81c1baf4375..5a9c3a59698 100755
--- a/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
+++ b/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
@@ -9,7 +9,7 @@
--- a/scripts/mysqld_safe.sh 2013-01-11 16:02:41 +0000
+++ b/scripts/mysqld_safe.sh 2013-01-11 16:03:14 +0000
-@@ -30,7 +30,6 @@
+@@ -32,7 +32,6 @@ err_log=
syslog_tag_mysqld=mysqld
syslog_tag_mysqld_safe=mysqld_safe
@@ -17,7 +17,7 @@
# MySQL-specific environment variable. First off, it's not really a umask,
# it's the desired mode. Second, it follows umask(2), not umask(3) in that
-@@ -156,7 +155,7 @@
+@@ -163,7 +162,7 @@ eval_log_error () {
# sed buffers output (only GNU sed supports a -u (unbuffered) option)
# which means that messages may not get sent to syslog until the
# mysqld process quits.
@@ -26,7 +26,7 @@
;;
*)
echo "Internal program error (non-fatal):" \
-@@ -758,6 +757,13 @@
+@@ -805,6 +804,13 @@ then
fi
#
diff --git a/debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch b/debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch
index d4e67b321b0..5ab8ab3d3d7 100755
--- a/debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch
+++ b/debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch
@@ -9,12 +9,12 @@
--- mysql-dfsg-5.1-5.1.23rc.orig/scripts/mysql_install_db.sh 2008-01-29 22:41:20.000000000 +0100
+++ mysql-dfsg-5.1-5.1.23rc/scripts/mysql_install_db.sh 2008-02-28 10:08:11.000000000 +0100
-@@ -306,7 +306,7 @@
+@@ -372,7 +372,7 @@ then
fi
# Create database directories
-for dir in "$ldata" "$ldata/mysql" "$ldata/test"
+for dir in "$ldata" "$ldata/mysql"
do
- if test ! -d $dir
+ if test ! -d "$dir"
then
diff --git a/debian/patches/44_scripts__mysql_config__libs.dpatch b/debian/patches/44_scripts__mysql_config__libs.dpatch
index 1c15200aead..a8569617dba 100755
--- a/debian/patches/44_scripts__mysql_config__libs.dpatch
+++ b/debian/patches/44_scripts__mysql_config__libs.dpatch
@@ -8,7 +8,7 @@
diff -Nur mysql-dfsg-5.1-5.1.31.orig/scripts/mysql_config.sh mysql-dfsg-5.1-5.1.31/scripts/mysql_config.sh
--- mysql-dfsg-5.1-5.1.31.orig/scripts/mysql_config.sh 2009-01-19 17:30:55.000000000 +0100
+++ mysql-dfsg-5.1-5.1.31/scripts/mysql_config.sh 2009-02-08 17:17:48.000000000 +0100
-@@ -110,10 +110,10 @@
+@@ -106,10 +106,10 @@ fi
# Create options
# We intentionally add a space to the beginning and end of lib strings, simplifies replace later
diff --git a/debian/patches/50_mysql-test__db_test.dpatch b/debian/patches/50_mysql-test__db_test.dpatch
index fe356ae46ef..670afbf14ac 100755
--- a/debian/patches/50_mysql-test__db_test.dpatch
+++ b/debian/patches/50_mysql-test__db_test.dpatch
@@ -10,9 +10,9 @@
--- old/mysql-test/mysql-test-run.pl 2009-06-16 14:24:09.000000000 +0200
+++ new/mysql-test/mysql-test-run.pl 2009-07-04 00:03:34.000000000 +0200
-@@ -2717,6 +2717,11 @@
+@@ -3578,6 +3578,11 @@ sub mysql_install_db {
mtr_appendfile_to_file("$sql_dir/mysql_system_tables_data.sql",
- $bootstrap_sql_file);
+ $bootstrap_sql_file);
+ mtr_tofile($bootstrap_sql_file, "-- Debian removed the default privileges on the 'test' database\n");
+ mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');\n");
diff --git a/extra/jemalloc/src/ctl.c b/extra/jemalloc/src/ctl.c
index f2ef4e60611..7ce4fc4d573 100644
--- a/extra/jemalloc/src/ctl.c
+++ b/extra/jemalloc/src/ctl.c
@@ -1109,7 +1109,7 @@ epoch_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
void *newp, size_t newlen)
{
int ret;
- uint64_t newval;
+ uint64_t newval __attribute__((unused));
malloc_mutex_lock(&ctl_mtx);
WRITE(newval, uint64_t);
diff --git a/extra/yassl/CMakeLists.txt b/extra/yassl/CMakeLists.txt
index b8432f06ac6..94a336c53dc 100644
--- a/extra/yassl/CMakeLists.txt
+++ b/extra/yassl/CMakeLists.txt
@@ -37,4 +37,9 @@ ENDIF()
ADD_CONVENIENCE_LIBRARY(yassl ${YASSL_SOURCES})
RESTRICT_SYMBOL_EXPORTS(yassl)
+INSTALL_DEBUG_SYMBOLS(yassl)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(yassl DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
+
diff --git a/extra/yassl/taocrypt/CMakeLists.txt b/extra/yassl/taocrypt/CMakeLists.txt
index 10ed614445e..9f1f2a102da 100644
--- a/extra/yassl/taocrypt/CMakeLists.txt
+++ b/extra/yassl/taocrypt/CMakeLists.txt
@@ -36,3 +36,8 @@ ENDIF()
ADD_CONVENIENCE_LIBRARY(taocrypt ${TAOCRYPT_SOURCES})
RESTRICT_SYMBOL_EXPORTS(taocrypt)
+INSTALL_DEBUG_SYMBOLS(taocrypt)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(taocrypt DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
+
diff --git a/include/handler_ername.h b/include/handler_ername.h
index 91780be553d..50f7f535806 100644
--- a/include/handler_ername.h
+++ b/include/handler_ername.h
@@ -78,3 +78,4 @@
{ "HA_ERR_ROW_NOT_VISIBLE", HA_ERR_ROW_NOT_VISIBLE, "" },
{ "HA_ERR_ABORTED_BY_USER", HA_ERR_ABORTED_BY_USER, "" },
{ "HA_ERR_DISK_FULL", HA_ERR_DISK_FULL, "" },
+{ "HA_ERR_INCOMPATIBLE_DEFINITION", HA_ERR_INCOMPATIBLE_DEFINITION, "" },
diff --git a/include/my_base.h b/include/my_base.h
index e072bb7e2b1..36c97d61cb9 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -466,7 +466,8 @@ enum ha_base_keytype {
#define HA_ERR_ROW_NOT_VISIBLE 182
#define HA_ERR_ABORTED_BY_USER 183
#define HA_ERR_DISK_FULL 184
-#define HA_ERR_LAST 184 /* Copy of last error nr */
+#define HA_ERR_INCOMPATIBLE_DEFINITION 185
+#define HA_ERR_LAST 185 /* Copy of last error nr */
/* Number of different errors */
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
diff --git a/include/my_check_opt.h b/include/my_check_opt.h
new file mode 100644
index 00000000000..abd4f4a96a7
--- /dev/null
+++ b/include/my_check_opt.h
@@ -0,0 +1,73 @@
+/* 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; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
+
+#ifndef _my_check_opt_h
+#define _my_check_opt_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ All given definitions needed for MyISAM storage engine:
+ myisamchk.c or/and ha_myisam.cc or/and micheck.c
+ Some definitions are needed by the MySQL parser.
+*/
+
+#define T_AUTO_INC (1UL << 0)
+#define T_AUTO_REPAIR (1UL << 1)
+#define T_BACKUP_DATA (1UL << 2)
+#define T_CALC_CHECKSUM (1UL << 3)
+#define T_CHECK (1UL << 4)
+#define T_CHECK_ONLY_CHANGED (1UL << 5)
+#define T_CREATE_MISSING_KEYS (1UL << 6)
+#define T_DESCRIPT (1UL << 7)
+#define T_DONT_CHECK_CHECKSUM (1UL << 8)
+#define T_EXTEND (1UL << 9)
+#define T_FAST (1UL << 10)
+#define T_FORCE_CREATE (1UL << 11)
+#define T_FORCE_UNIQUENESS (1UL << 12)
+#define T_INFO (1UL << 13)
+/** CHECK TABLE...MEDIUM (the default) */
+#define T_MEDIUM (1UL << 14)
+/** CHECK TABLE...QUICK */
+#define T_QUICK (1UL << 15)
+#define T_READONLY (1UL << 16)
+#define T_REP (1UL << 17)
+#define T_REP_BY_SORT (1UL << 18)
+#define T_REP_PARALLEL (1UL << 19)
+#define T_RETRY_WITHOUT_QUICK (1UL << 20)
+#define T_SAFE_REPAIR (1UL << 21)
+#define T_SILENT (1UL << 22)
+#define T_SORT_INDEX (1UL << 23)
+#define T_SORT_RECORDS (1UL << 24)
+#define T_STATISTICS (1UL << 25)
+#define T_UNPACK (1UL << 26)
+#define T_UPDATE_STATE (1UL << 27)
+#define T_VERBOSE (1UL << 28)
+#define T_VERY_SILENT (1UL << 29)
+#define T_WAIT_FOREVER (1UL << 30)
+#define T_WRITE_LOOP (1UL << 31)
+#define T_ZEROFILL (1ULL << 32)
+#define T_ZEROFILL_KEEP_LSN (1ULL << 33)
+/** If repair should not bump create_rename_lsn */
+#define T_NO_CREATE_RENAME_LSN (1ULL << 33)
+
+#define T_REP_ANY (T_REP | T_REP_BY_SORT | T_REP_PARALLEL)
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/include/myisam.h b/include/myisam.h
index 83402fe660f..cbb5229dd8b 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -28,7 +28,7 @@ extern "C" {
#include "my_compare.h"
#include <myisamchk.h>
#include <mysql/plugin.h>
-
+#include <my_check_opt.h>
/*
Limit max keys according to HA_MAX_POSSIBLE_KEY; See myisamchk.h for details
*/
@@ -311,7 +311,6 @@ typedef struct st_mi_bit_buff
uint error;
} MI_BIT_BUFF;
-
typedef struct st_sort_info
{
/* sync things */
diff --git a/include/myisamchk.h b/include/myisamchk.h
index 19c2bf47ddb..a09e53eb387 100644
--- a/include/myisamchk.h
+++ b/include/myisamchk.h
@@ -27,45 +27,6 @@
#ifndef _myisamchk_h
#define _myisamchk_h
-#define T_AUTO_INC 1
-#define T_AUTO_REPAIR 2 /* QQ to be removed */
-#define T_BACKUP_DATA 4
-#define T_CALC_CHECKSUM 8
-#define T_CHECK 16
-#define T_CHECK_ONLY_CHANGED 32
-#define T_CREATE_MISSING_KEYS 64
-#define T_DESCRIPT 128
-#define T_DONT_CHECK_CHECKSUM 256
-#define T_EXTEND 512
-#define T_FAST (1L << 10)
-#define T_FORCE_CREATE (1L << 11)
-#define T_FORCE_UNIQUENESS (1L << 12)
-#define T_INFO (1L << 13)
-#define T_MEDIUM (1L << 14)
-#define T_QUICK (1L << 15)
-#define T_READONLY (1L << 16)
-#define T_REP (1L << 17)
-#define T_REP_BY_SORT (1L << 18)
-#define T_REP_PARALLEL (1L << 19)
-#define T_RETRY_WITHOUT_QUICK (1L << 20)
-#define T_SAFE_REPAIR (1L << 21)
-#define T_SILENT (1L << 22)
-#define T_SORT_INDEX (1L << 23)
-#define T_SORT_RECORDS (1L << 24)
-#define T_STATISTICS (1L << 25)
-#define T_UNPACK (1L << 26)
-#define T_UPDATE_STATE (1L << 27)
-#define T_VERBOSE (1L << 28)
-#define T_VERY_SILENT (1L << 29)
-#define T_WAIT_FOREVER (1L << 30)
-#define T_WRITE_LOOP ((ulong) 1L << 31)
-#define T_ZEROFILL ((ulonglong) 1L << 32)
-#define T_ZEROFILL_KEEP_LSN ((ulonglong) 1L << 33)
-/** If repair should not bump create_rename_lsn */
-#define T_NO_CREATE_RENAME_LSN ((ulonglong) 1L << 33)
-
-#define T_REP_ANY (T_REP | T_REP_BY_SORT | T_REP_PARALLEL)
-
/*
Flags used by xxxxchk.c or/and ha_xxxx.cc that are NOT passed
to xxxcheck.c follows:
diff --git a/include/mysql/service_logger.h b/include/mysql/service_logger.h
index a84c4a4f2ee..962ab2fbc0b 100644
--- a/include/mysql/service_logger.h
+++ b/include/mysql/service_logger.h
@@ -80,7 +80,7 @@ extern struct logger_service_st {
#define logger_rotate(log) (logger_service->rotate(log))
#define logger_vprintf(log, fmt, argptr) (logger_service->\
vprintf(log, fmt, argptr))
-#define logger_printf logger_service->printf
+#define logger_printf (*logger_service->printf)
#define logger_write(log, buffer, size) \
(logger_service->write(log, buffer, size))
#else
diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt
index 0bad5934659..980f92888a0 100644
--- a/libmysql/CMakeLists.txt
+++ b/libmysql/CMakeLists.txt
@@ -332,8 +332,10 @@ SET(LIBS clientlib dbug strings vio mysys ${ZLIB_LIBRARY} ${SSL_LIBRARIES} ${LIB
MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development)
# Visual Studio users need debug static library for debug projects
+INSTALL_DEBUG_SYMBOLS(clientlib)
IF(MSVC)
INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug)
+ INSTALL_DEBUG_TARGET(clientlib DESTINATION ${INSTALL_LIBDIR}/debug)
ENDIF()
IF(UNIX)
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index a6b7d2d6c8a..242144abc50 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -204,11 +204,11 @@ void STDCALL mysql_server_end()
mysql_client_plugin_deinit();
+ finish_client_errs();
+ vio_end();
#ifdef EMBEDDED_LIBRARY
end_embedded_server();
#endif
- finish_client_errs();
- vio_end();
/* If library called my_init(), free memory allocated by it */
if (!org_my_init_done)
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index 5af5f5e1807..ee5c8875686 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -136,6 +136,8 @@ ENDFOREACH()
MERGE_LIBRARIES(mysqlserver STATIC ${EMBEDDED_LIBS}
OUTPUT_NAME ${MYSQLSERVER_OUTPUT_NAME} COMPONENT Development)
+INSTALL(FILES embedded_priv.h DESTINATION ${INSTALL_INCLUDEDIR}/private COMPONENT Development)
+
# Visual Studio users need debug static library
IF(MSVC)
INSTALL_DEBUG_TARGET(mysqlserver DESTINATION ${INSTALL_LIBDIR}/debug)
diff --git a/mysql-test/CMakeLists.txt b/mysql-test/CMakeLists.txt
index 5ffbd78316c..227e490331f 100644
--- a/mysql-test/CMakeLists.txt
+++ b/mysql-test/CMakeLists.txt
@@ -13,29 +13,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-IF(INSTALL_MYSQLTESTDIR)
-INSTALL(
- DIRECTORY .
- DESTINATION ${INSTALL_MYSQLTESTDIR}
- USE_SOURCE_PERMISSIONS
- COMPONENT Test
- PATTERN "var/" EXCLUDE
- PATTERN "lib/My/SafeProcess" EXCLUDE
- PATTERN "lib/t*" EXCLUDE
- PATTERN "CPack" EXCLUDE
- PATTERN "CMake*" EXCLUDE
- PATTERN "mtr.out*" EXCLUDE
- PATTERN ".cvsignore" EXCLUDE
- PATTERN "*.am" EXCLUDE
- PATTERN "*.in" EXCLUDE
- PATTERN "*.vcxproj" EXCLUDE
- PATTERN "*.vcxproj.filters" EXCLUDE
- PATTERN "*.vcxproj.user" EXCLUDE
- PATTERN "CTest" EXCLUDE
-)
-ENDIF()
-
-
+INSTALL_MYSQL_TEST("." ".")
IF(NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
# Enable running mtr from build directory
@@ -96,7 +74,7 @@ ENDIF()
IF(WITH_EMBEDDED_SERVER)
SET(TEST_EMBEDDED ${MTR_FORCE} --comment=embedded --timer --embedded-server
- --skip-rpl --skip-ndbcluster $(EXP))
+ --skip-rpl --skip-ndbcluster ${EXP})
ELSE()
SET(TEST_EMBEDDED echo "Can not test embedded, not compiled in")
ENDIF()
diff --git a/mysql-test/collections/default.experimental b/mysql-test/collections/default.experimental
index e4c839ce705..ff4bc960acb 100644
--- a/mysql-test/collections/default.experimental
+++ b/mysql-test/collections/default.experimental
@@ -15,6 +15,7 @@ main.wait_timeout @solaris # Bug#11758972 2010-04-26 alik wait_tim
rpl.rpl_innodb_bug28430 # Bug#11754425
rpl.rpl_row_sp011 @solaris # Bug#11753919 2011-07-25 sven Several test cases fail on Solaris with error Thread stack overrun
+rpl.rpl_spec_variables @solaris # Bug #17337114 2013-08-20 Luis Soares failing on pb2 with timeout for 'CHECK WARNINGS'
sys_vars.max_sp_recursion_depth_func @solaris # Bug#11753919 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
sys_vars.wait_timeout_func # Bug#11750645 2010-04-26 alik wait_timeout_func fails
diff --git a/mysql-test/extra/rpl_tests/rpl_drop_create_temp_table.inc b/mysql-test/extra/rpl_tests/rpl_drop_create_temp_table.inc
index 094e84537db..983851adfcd 100644
--- a/mysql-test/extra/rpl_tests/rpl_drop_create_temp_table.inc
+++ b/mysql-test/extra/rpl_tests/rpl_drop_create_temp_table.inc
@@ -150,10 +150,9 @@ if (`SELECT HEX(@commands) = HEX('configure')`)
}
#
-# Drops tables and synchronizes master and slave. Note that temporary
-# tables are not explitcily dropped as they will be dropped while
-# closing the connection.
+# Drops tables and synchronizes master and slave.
#
+
if (`SELECT HEX(@commands) = HEX('clean')`)
{
connection master;
@@ -162,10 +161,15 @@ if (`SELECT HEX(@commands) = HEX('clean')`)
DROP TABLE IF EXISTS nt_xx_1;
+ DROP TEMPORARY TABLE IF EXISTS tt_tmp_xx_1;
+ DROP TEMPORARY TABLE IF EXISTS nt_tmp_xx_1;
+
--let $n= $tot_table
while ($n)
{
--eval DROP TABLE IF EXISTS nt_$n
+ --eval DROP TEMPORARY TABLE IF EXISTS tt_tmp_$n
+ --eval DROP TEMPORARY TABLE IF EXISTS nt_tmp_$n
--dec $n
}
diff --git a/mysql-test/extra/rpl_tests/rpl_innodb.test b/mysql-test/extra/rpl_tests/rpl_innodb.test
index c0ec5299cfd..865c97cf95d 100644
--- a/mysql-test/extra/rpl_tests/rpl_innodb.test
+++ b/mysql-test/extra/rpl_tests/rpl_innodb.test
@@ -113,7 +113,7 @@ FLUSH LOGS;
--echo -------- switch to master --------
connection master;
FLUSH LOGS;
-
+DROP TEMPORARY TABLE IF EXISTS mysqltest1.tmp2;
DROP DATABASE mysqltest1;
--echo End of 5.1 tests
diff --git a/mysql-test/extra/rpl_tests/rpl_reset_slave.test b/mysql-test/extra/rpl_tests/rpl_reset_slave.test
index 17d949a7790..e7a78f36efc 100644
--- a/mysql-test/extra/rpl_tests/rpl_reset_slave.test
+++ b/mysql-test/extra/rpl_tests/rpl_reset_slave.test
@@ -41,6 +41,9 @@ reset slave;
source include/start_slave.inc;
sync_with_master;
show status like 'slave_open_temp_tables';
+connection master;
+drop temporary table if exists t1;
+sync_slave_with_master;
#
#Bug#34654 RESET SLAVE does not clear LAST_IO_Err*
diff --git a/mysql-test/include/ctype_filesort.inc b/mysql-test/include/ctype_filesort.inc
index 2068463d4e2..b1b7f21064d 100644
--- a/mysql-test/include/ctype_filesort.inc
+++ b/mysql-test/include/ctype_filesort.inc
@@ -13,3 +13,14 @@ delete from t1;
insert into t1 values ('a'), ('a '), ('a\t');
select collation(a),hex(a) from t1 order by a;
drop table t1;
+
+
+--echo #
+--echo # MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+--echo #
+SELECT @@collation_connection;
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+DROP TABLE t1;
diff --git a/mysql-test/include/mtr_check.sql b/mysql-test/include/mtr_check.sql
index 6c1a3513324..e0d4f407633 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -78,5 +78,10 @@ BEGIN
-- verify that no plugin changed its disabled/enabled state
SELECT * FROM INFORMATION_SCHEMA.PLUGINS;
+ 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/search_pattern_in_file.inc b/mysql-test/include/search_pattern_in_file.inc
new file mode 100644
index 00000000000..c047b5bc499
--- /dev/null
+++ b/mysql-test/include/search_pattern_in_file.inc
@@ -0,0 +1,66 @@
+# Purpose:
+# Simple search with Perl for a pattern in some file.
+#
+# The advantages compared to thinkable auxiliary constructs using the
+# mysqltest language and SQL are:
+# 1. We do not need a running MySQL server.
+# 2. SQL causes "noise" during debugging and increases the size of logs.
+# Perl code does not disturb at all.
+#
+# The environment variables SEARCH_FILE and SEARCH_PATTERN must be set
+# before sourcing this routine.
+#
+# In case of
+# - SEARCH_FILE and/or SEARCH_PATTERN is not set
+# - SEARCH_FILE cannot be opened
+# - SEARCH_FILE does not contain SEARCH_PATTERN
+# the test will abort immediate.
+# MTR will report something like
+# ....
+# worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
+# main.1st [ pass ] 3
+# innodb.innodb_page_size [ fail ]
+# Test ended at 2011-11-11 18:15:58
+#
+# CURRENT_TEST: innodb.innodb_page_size
+# # ERROR: The file '<name>' does not contain the expected pattern <pattern>
+# mysqltest: In included file "./include/search_pattern_in_file.inc":
+# included from ./include/search_pattern_in_file.inc at line 36:
+# At line 25: command "perl" failed with error 255. my_errno=175
+#
+# The result from queries just before the failure was:
+# ...
+# - saving '<some path>' to '<some path>'
+# main.1st [ pass ] 2
+#
+# Typical use case (check invalid server startup options):
+# let $error_log= $MYSQLTEST_VARDIR/log/my_restart.err;
+# --error 0,1
+# --remove_file $error_log
+# let SEARCH_FILE= $error_log;
+# # Stop the server
+# let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
+# --exec echo "wait" > $restart_file
+# --shutdown_server 10
+# --source include/wait_until_disconnected.inc
+#
+# --error 1
+# --exec $MYSQLD_CMD <whatever wrong setting> > $error_log 2>&1
+# # The server restart aborts
+# let SEARCH_PATTERN= \[ERROR\] Aborting;
+# --source include/search_pattern_in_file.inc
+#
+# Created: 2011-11-11 mleich
+#
+
+perl;
+ use strict;
+ my $search_file= $ENV{'SEARCH_FILE'} or die "SEARCH_FILE not set";
+ my $search_pattern= $ENV{'SEARCH_PATTERN'} or die "SEARCH_PATTERN not set";
+ open(FILE, "$search_file") or die("Unable to open '$search_file': $!\n");
+ read(FILE, my $file_content, 50000, 0);
+ close(FILE);
+ if ( not $file_content =~ m{$search_pattern} ) {
+ die("# ERROR: The file '$search_file' does not contain the expected pattern $search_pattern\n->$file_content<-\n");
+ }
+EOF
diff --git a/mysql-test/lib/My/Suite.pm b/mysql-test/lib/My/Suite.pm
index b5870ea1e16..a603008fabe 100644
--- a/mysql-test/lib/My/Suite.pm
+++ b/mysql-test/lib/My/Suite.pm
@@ -3,6 +3,7 @@
package My::Suite;
+sub is_default { 0 }
sub config_files { () }
sub servers { () }
sub skip_combinations { () }
diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm
index 1327afdb426..870df115f58 100644
--- a/mysql-test/lib/mtr_cases.pm
+++ b/mysql-test/lib/mtr_cases.pm
@@ -23,7 +23,7 @@ package mtr_cases;
use strict;
use base qw(Exporter);
-our @EXPORT= qw(collect_option collect_test_cases);
+our @EXPORT= qw(collect_option collect_test_cases collect_default_suites);
use Carp;
@@ -62,6 +62,21 @@ use My::Suite;
require "mtr_misc.pl";
+# locate plugin suites, depending on whether it's a build tree or installed
+my @plugin_suitedirs;
+my $plugin_suitedir_regex;
+my $overlay_regex;
+
+if (-d '../sql') {
+ @plugin_suitedirs= ('storage/*/mysql-test', 'plugin/*/mysql-test');
+ $overlay_regex= '\b(?:storage|plugin)/(\w+)/mysql-test\b';
+} else {
+ @plugin_suitedirs= ('mysql-test/plugin/*');
+ $overlay_regex= '\bmysql-test/plugin/(\w+)\b';
+}
+$plugin_suitedir_regex= $overlay_regex;
+$plugin_suitedir_regex=~ s/\Q(\w+)\E/\\w+/;
+
# Precompiled regex's for tests to do or skip
my $do_test_reg;
my $skip_test_reg;
@@ -263,12 +278,11 @@ sub load_suite_object {
# returns a pair of (suite, suitedir)
-sub load_suite_for_file($) {
+sub suite_for_file($) {
my ($file) = @_;
- return load_suite_object($2, $1)
- if $file =~ m@^(.*/(?:storage|plugin)/\w+/mysql-test/(\w+))/@;
- return load_suite_object($2, $1) if $file =~ m@^(.*/mysql-test/suite/(\w+))/@;
- return load_suite_object('main', $1) if $file =~ m@^(.*/mysql-test)/@;
+ return ($2, $1) if $file =~ m@^(.*/$plugin_suitedir_regex/(\w+))/@o;
+ return ($2, $1) if $file =~ m@^(.*/mysql-test/suite/(\w+))/@;
+ return ('main', $1) if $file =~ m@^(.*/mysql-test)/@;
mtr_error("Cannot determine suite for $file");
}
@@ -316,10 +330,32 @@ sub parse_disabled {
}
#
+# load suite.pm files from plugin suites
+# collect the list of default plugin suites.
+# XXX currently it does not support nested suites
+#
+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);
+ # 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);
+ push @_, $sname if $s->is_default();
+ }
+ return @_;
+}
+
+
+#
# processes one user-specified suite name.
# it could contain wildcards, e.g engines/*
#
-sub collect_suite_name
+sub collect_suite_name($$)
{
my $suitename= shift; # Test suite name
my $opt_cases= shift;
@@ -339,25 +375,22 @@ sub collect_suite_name
else
{
my @dirs = my_find_dir(dirname($::glob_mysql_test_dir),
- ["mysql-test/suite",
- "storage/*/mysql-test",
- "plugin/*/mysql-test"],
- [$suitename]);
+ ["mysql-test/suite", @plugin_suitedirs ],
+ $suitename);
#
# if $suitename contained wildcards, we'll have many suites and
# their overlays here. Let's group them appropriately.
#
for (@dirs) {
- m@^.*/mysql-test/(?:suite/)?(.*)$@ or confess $_;
+ m@^.*/(?:mysql-test/suite|$plugin_suitedir_regex)/(.*)$@o or confess $_;
push @{$suites{$1}}, $_;
}
}
} else {
$suites{$suitename} = [ $::glob_mysql_test_dir,
my_find_dir(dirname($::glob_mysql_test_dir),
- ["storage/*/mysql-test",
- "plugin/*/mysql-test"],
- ['main'], NOT_REQUIRED) ];
+ [ @plugin_suitedirs ],
+ 'main', NOT_REQUIRED) ];
}
my @cases;
@@ -404,7 +437,7 @@ sub collect_one_suite {
local %file_combinations = ();
local %file_in_overlay = ();
- confess $_ unless m@/(?:storage|plugin)/(\w+)/mysql-test/[\w/]*\w$@;
+ confess $_ unless m@/$overlay_regex/@o;
next unless defined $over and ($over eq '' or $over eq $1);
push @cases,
# don't add cases that take *all* data from the parent suite
@@ -1050,7 +1083,7 @@ sub get_tags_from_file($$) {
# for combinations we need to make sure that its suite object is loaded,
# even if this file does not belong to a current suite!
my $comb_file = "$suffix.combinations";
- $suite = load_suite_for_file($comb_file) if $prefix[0] eq '';
+ $suite = load_suite_object(suite_for_file($comb_file)) if $prefix[0] eq '';
my @comb;
unless ($suite->{skip}) {
my $from = "$prefix[0]$comb_file";
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 7fa9504f927..d909391f033 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -162,30 +162,30 @@ my $path_config_file; # The generated config file, var/my.cnf
# executables will be used by the test suite.
our $opt_vs_config = $ENV{'MTR_VS_CONFIG'};
-my $DEFAULT_SUITES= join(',', map { "$_-" } qw(
- main
- archive
- binlog
- csv
- federated
- funcs_1
- funcs_2
- handler
- heap
- innodb
- maria
- optimizer_unfixed_bugs
- oqgraph
- parts
- percona
- perfschema
- plugins
- rpl
- sphinx
- sys_vars
- unit
- vcol
- ));
+my @DEFAULT_SUITES= qw(
+ main-
+ archive-
+ binlog-
+ csv-
+ federated-
+ funcs_1-
+ funcs_2-
+ handler-
+ heap-
+ innodb-
+ maria-
+ optimizer_unfixed_bugs-
+ oqgraph-
+ parts-
+ percona-
+ perfschema-
+ plugins-
+ rpl-
+ sphinx-
+ sys_vars-
+ unit-
+ vcol-
+ );
my $opt_suites;
our $opt_verbose= 0; # Verbose output, enable with --verbose
@@ -384,11 +384,6 @@ sub main {
}
- if (!$opt_suites) {
- $opt_suites= $DEFAULT_SUITES;
- }
- mtr_report("Using suites: $opt_suites") unless @opt_cases;
-
print "vardir: $opt_vardir\n";
initialize_servers();
init_timers();
@@ -397,6 +392,11 @@ sub main {
executable_setup();
+ if (!$opt_suites) {
+ $opt_suites= join ',', collect_default_suites(@DEFAULT_SUITES);
+ }
+ mtr_report("Using suites: $opt_suites") unless @opt_cases;
+
# --debug[-common] implies we run debug server
$opt_debug_server= 1 if $opt_debug || $opt_debug_common;
@@ -2494,7 +2494,8 @@ sub environment_setup {
# mysql_tzinfo_to_sql
# ----------------------------------------------------
my $exe_mysql_tzinfo_to_sql= mtr_exe_exists("$basedir/sql$opt_vs_config/mysql_tzinfo_to_sql",
- "$path_client_bindir/mysql_tzinfo_to_sql");
+ "$path_client_bindir/mysql_tzinfo_to_sql",
+ "$bindir/sql$opt_vs_config/mysql_tzinfo_to_sql");
$ENV{'MYSQL_TZINFO_TO_SQL'}= native_path($exe_mysql_tzinfo_to_sql);
# Create an environment variable to make it possible
@@ -2939,7 +2940,7 @@ sub check_ndbcluster_support {
mtr_report(" - enabling ndbcluster");
$ndbcluster_enabled= 1;
# Add MySQL Cluster test suites
- $DEFAULT_SUITES.=",ndb,ndb_binlog,rpl_ndb,ndb_rpl,ndb_memcache";
+ push @DEFAULT_SUITES, qw(ndb ndb_binlog rpl_ndb ndb_rpl ndb_memcache);
return;
}
@@ -6306,6 +6307,8 @@ sub usage ($) {
exit;
}
+ local $"= ','; # for @DEFAULT_SUITES below
+
print <<HERE;
$0 [ OPTIONS ] [ TESTCASE ]
@@ -6371,7 +6374,7 @@ Options to control what test suites or cases to run
suite[s]=NAME1,..,NAMEN
Collect tests in suites from the comma separated
list of suite names.
- The default is: "$DEFAULT_SUITES"
+ The default is: "@DEFAULT_SUITES"
skip-rpl Skip the replication test cases.
big-test Also run tests marked as "big". Repeat this option
twice to run only "big" tests.
diff --git a/mysql-test/r/alter_table_trans.result b/mysql-test/r/alter_table_trans.result
index 3dd5c00d3d8..67ae4075d57 100644
--- a/mysql-test/r/alter_table_trans.result
+++ b/mysql-test/r/alter_table_trans.result
@@ -4,3 +4,15 @@ ALTER TABLE t1 RENAME TO t2, DISABLE KEYS;
Warnings:
Note 1031 Table storage engine for 't1' doesn't have this option
DROP TABLE t2;
+CREATE TABLE t1 (
+col4 text NOT NULL,
+col2 int(11) NOT NULL DEFAULT '0',
+col3 int(11) DEFAULT NULL,
+extra int(11) DEFAULT NULL,
+KEY idx (col4(10))
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+insert t1 values (repeat('1', 8193),3,1,1);
+insert t1 values (repeat('3', 8193),3,1,1);
+ALTER TABLE t1 ADD PRIMARY KEY (col4(10)) , ADD UNIQUE KEY uidx (col3);
+ERROR 23000: Duplicate entry '1' for key 'uidx'
+DROP TABLE t1;
diff --git a/mysql-test/r/assign_key_cache-5405.result b/mysql-test/r/assign_key_cache-5405.result
new file mode 100644
index 00000000000..4a0fc58cd4f
--- /dev/null
+++ b/mysql-test/r/assign_key_cache-5405.result
@@ -0,0 +1,14 @@
+create table t1 (f int, key(f)) engine=myisam;
+set global kc1.key_buffer_size = 65536;
+set debug_sync='assign_key_cache_op_unlock wait_for op_locked';
+cache index t1 in kc1;
+set debug_sync='assign_key_cache_op_lock signal op_locked wait_for assigned';
+cache index t1 in kc1;
+Table Op Msg_type Msg_text
+test.t1 assign_to_keycache status OK
+set debug_sync='now signal assigned';
+Table Op Msg_type Msg_text
+test.t1 assign_to_keycache status OK
+drop table t1;
+set global kc1.key_buffer_size = 0;
+set debug_sync='reset';
diff --git a/mysql-test/r/ctype_big5.result b/mysql-test/r/ctype_big5.result
index d81534ac84e..340c333c77e 100644
--- a/mysql-test/r/ctype_big5.result
+++ b/mysql-test/r/ctype_big5.result
@@ -103,6 +103,23 @@ big5_chinese_ci 6109
big5_chinese_ci 61
big5_chinese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+big5_chinese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
@@ -170,6 +187,23 @@ big5_bin 6109
big5_bin 61
big5_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+big5_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
diff --git a/mysql-test/r/ctype_eucjpms.result b/mysql-test/r/ctype_eucjpms.result
index 5a402d57e65..9171d4dd30b 100644
--- a/mysql-test/r/ctype_eucjpms.result
+++ b/mysql-test/r/ctype_eucjpms.result
@@ -9809,6 +9809,23 @@ eucjpms_japanese_ci 6109
eucjpms_japanese_ci 61
eucjpms_japanese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+eucjpms_japanese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
CREATE TABLE t1 AS
SELECT 10 AS a, REPEAT('a',20) AS b, REPEAT('a',8) AS c, REPEAT('a',8) AS d;
ALTER TABLE t1 ADD PRIMARY KEY(a), ADD KEY(b);
@@ -9836,6 +9853,23 @@ eucjpms_bin 6109
eucjpms_bin 61
eucjpms_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+eucjpms_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
CREATE TABLE t1 AS
SELECT 10 AS a, REPEAT('a',20) AS b, REPEAT('a',8) AS c, REPEAT('a',8) AS d;
ALTER TABLE t1 ADD PRIMARY KEY(a), ADD KEY(b);
diff --git a/mysql-test/r/ctype_euckr.result b/mysql-test/r/ctype_euckr.result
index c20504e9ed7..2006ac57769 100644
--- a/mysql-test/r/ctype_euckr.result
+++ b/mysql-test/r/ctype_euckr.result
@@ -103,6 +103,23 @@ euckr_korean_ci 6109
euckr_korean_ci 61
euckr_korean_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+euckr_korean_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
@@ -170,6 +187,23 @@ euckr_bin 6109
euckr_bin 61
euckr_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+euckr_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
diff --git a/mysql-test/r/ctype_gb2312.result b/mysql-test/r/ctype_gb2312.result
index 9e9888aecd8..2d3ee3e0900 100644
--- a/mysql-test/r/ctype_gb2312.result
+++ b/mysql-test/r/ctype_gb2312.result
@@ -103,6 +103,23 @@ gb2312_chinese_ci 6109
gb2312_chinese_ci 61
gb2312_chinese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+gb2312_chinese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
@@ -170,6 +187,23 @@ gb2312_bin 6109
gb2312_bin 61
gb2312_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+gb2312_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
diff --git a/mysql-test/r/ctype_gbk.result b/mysql-test/r/ctype_gbk.result
index 0abbbec1d7b..93e060868fb 100644
--- a/mysql-test/r/ctype_gbk.result
+++ b/mysql-test/r/ctype_gbk.result
@@ -103,6 +103,23 @@ gbk_chinese_ci 6109
gbk_chinese_ci 61
gbk_chinese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+gbk_chinese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
@@ -170,6 +187,23 @@ gbk_bin 6109
gbk_bin 61
gbk_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+gbk_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
diff --git a/mysql-test/r/ctype_latin1.result b/mysql-test/r/ctype_latin1.result
index 2debf288f44..52b30808f34 100644
--- a/mysql-test/r/ctype_latin1.result
+++ b/mysql-test/r/ctype_latin1.result
@@ -318,6 +318,23 @@ latin1_swedish_ci 6109
latin1_swedish_ci 61
latin1_swedish_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+latin1_swedish_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
latin1_swedish_ci
@@ -365,6 +382,23 @@ latin1_bin 6109
latin1_bin 61
latin1_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+latin1_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
latin1_bin
diff --git a/mysql-test/r/ctype_latin1_de.result b/mysql-test/r/ctype_latin1_de.result
index f826199bb1f..c07b89ce873 100644
--- a/mysql-test/r/ctype_latin1_de.result
+++ b/mysql-test/r/ctype_latin1_de.result
@@ -326,6 +326,23 @@ latin1_german2_ci 6109
latin1_german2_ci 61
latin1_german2_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+latin1_german2_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
drop table if exists t1;
create table t1 as select repeat(' ', 64) as s1;
select collation(s1) from t1;
diff --git a/mysql-test/r/ctype_sjis.result b/mysql-test/r/ctype_sjis.result
index b776f1cf7d6..de402697e63 100644
--- a/mysql-test/r/ctype_sjis.result
+++ b/mysql-test/r/ctype_sjis.result
@@ -81,6 +81,23 @@ sjis_japanese_ci 6109
sjis_japanese_ci 61
sjis_japanese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+sjis_japanese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
@@ -167,6 +184,23 @@ sjis_bin 6109
sjis_bin 61
sjis_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+sjis_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
diff --git a/mysql-test/r/ctype_tis620.result b/mysql-test/r/ctype_tis620.result
index 5699c044d70..19e3322eae9 100644
--- a/mysql-test/r/ctype_tis620.result
+++ b/mysql-test/r/ctype_tis620.result
@@ -2947,6 +2947,23 @@ tis620_thai_ci 6109
tis620_thai_ci 61
tis620_thai_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+tis620_thai_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
tis620_thai_ci
@@ -2975,6 +2992,23 @@ tis620_bin 6109
tis620_bin 61
tis620_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+tis620_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
tis620_bin
diff --git a/mysql-test/r/ctype_uca.result b/mysql-test/r/ctype_uca.result
index 208318db8c5..9bd6618202b 100644
--- a/mysql-test/r/ctype_uca.result
+++ b/mysql-test/r/ctype_uca.result
@@ -2767,6 +2767,23 @@ utf8_unicode_ci 6109
utf8_unicode_ci 61
utf8_unicode_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8_unicode_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8_unicode_ci
diff --git a/mysql-test/r/ctype_ucs.result b/mysql-test/r/ctype_ucs.result
index 20aabdb528b..52ce5efa3e4 100644
--- a/mysql-test/r/ctype_ucs.result
+++ b/mysql-test/r/ctype_ucs.result
@@ -734,6 +734,23 @@ ucs2_general_ci 00610009
ucs2_general_ci 0061
ucs2_general_ci 00610020
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+ucs2_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
ucs2_general_ci
@@ -834,6 +851,23 @@ ucs2_bin 00610009
ucs2_bin 0061
ucs2_bin 00610020
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+ucs2_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
ucs2_bin
diff --git a/mysql-test/r/ctype_ujis.result b/mysql-test/r/ctype_ujis.result
index b801a7f45a4..e4641ceeb54 100644
--- a/mysql-test/r/ctype_ujis.result
+++ b/mysql-test/r/ctype_ujis.result
@@ -2217,6 +2217,23 @@ ujis_japanese_ci 6109
ujis_japanese_ci 61
ujis_japanese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+ujis_japanese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
@@ -2284,6 +2301,23 @@ ujis_bin 6109
ujis_bin 61
ujis_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+ujis_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
create table t1 engine=innodb select repeat('a',50) as c1;
alter table t1 add index(c1(5));
insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');
diff --git a/mysql-test/r/ctype_utf16.result b/mysql-test/r/ctype_utf16.result
index 2eb0f8e9ba6..a1bd49d1926 100644
--- a/mysql-test/r/ctype_utf16.result
+++ b/mysql-test/r/ctype_utf16.result
@@ -583,6 +583,23 @@ utf16_general_ci 00610009
utf16_general_ci 0061
utf16_general_ci 00610020
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf16_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf16_general_ci
@@ -613,6 +630,23 @@ utf16_bin 0061
utf16_bin 00610020
drop table t1;
#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf16_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
+#
# Bug#55980 Character sets: supplementary character _bin ordering is wrong
#
CREATE TABLE t1 AS SELECT REPEAT('a',1) AS a LIMIT 0;
diff --git a/mysql-test/r/ctype_utf16_uca.result b/mysql-test/r/ctype_utf16_uca.result
index fe715ba1438..77d1048129a 100644
--- a/mysql-test/r/ctype_utf16_uca.result
+++ b/mysql-test/r/ctype_utf16_uca.result
@@ -2272,6 +2272,23 @@ utf16_unicode_ci 00610009
utf16_unicode_ci 0061
utf16_unicode_ci 00610020
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf16_unicode_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf16_unicode_ci
diff --git a/mysql-test/r/ctype_utf32.result b/mysql-test/r/ctype_utf32.result
index 6cf24d768f7..a46bcb33cc6 100644
--- a/mysql-test/r/ctype_utf32.result
+++ b/mysql-test/r/ctype_utf32.result
@@ -582,6 +582,23 @@ utf32_general_ci 0000006100000009
utf32_general_ci 00000061
utf32_general_ci 0000006100000020
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf32_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf32_general_ci
@@ -612,6 +629,23 @@ utf32_bin 00000061
utf32_bin 0000006100000020
drop table t1;
#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf32_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
+#
# Bug#55980 Character sets: supplementary character _bin ordering is wrong
#
CREATE TABLE t1 AS SELECT REPEAT('a',1) AS a LIMIT 0;
diff --git a/mysql-test/r/ctype_utf32_uca.result b/mysql-test/r/ctype_utf32_uca.result
index 695e250f4a8..f585d99941a 100644
--- a/mysql-test/r/ctype_utf32_uca.result
+++ b/mysql-test/r/ctype_utf32_uca.result
@@ -2272,6 +2272,23 @@ utf32_unicode_ci 0000006100000009
utf32_unicode_ci 00000061
utf32_unicode_ci 0000006100000020
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf32_unicode_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf32_unicode_ci
diff --git a/mysql-test/r/ctype_utf8.result b/mysql-test/r/ctype_utf8.result
index 9643e1c400d..802006c4c66 100644
--- a/mysql-test/r/ctype_utf8.result
+++ b/mysql-test/r/ctype_utf8.result
@@ -924,6 +924,23 @@ utf8_general_ci 6109
utf8_general_ci 61
utf8_general_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8_general_ci
@@ -1006,6 +1023,23 @@ utf8_bin 6109
utf8_bin 61
utf8_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8_bin
diff --git a/mysql-test/r/ctype_utf8mb4.result b/mysql-test/r/ctype_utf8mb4.result
index d8642955b89..f1da956c0cb 100644
--- a/mysql-test/r/ctype_utf8mb4.result
+++ b/mysql-test/r/ctype_utf8mb4.result
@@ -924,6 +924,23 @@ utf8mb4_general_ci 6109
utf8mb4_general_ci 61
utf8mb4_general_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_general_ci
@@ -988,6 +1005,23 @@ utf8mb4_bin 61
utf8mb4_bin 6120
drop table t1;
#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
+#
# Bug#55980 Character sets: supplementary character _bin ordering is wrong
#
CREATE TABLE t1 AS SELECT REPEAT('a',1) AS a LIMIT 0;
diff --git a/mysql-test/r/ctype_utf8mb4_heap.result b/mysql-test/r/ctype_utf8mb4_heap.result
index 63de75b37b7..5959205ad1e 100644
--- a/mysql-test/r/ctype_utf8mb4_heap.result
+++ b/mysql-test/r/ctype_utf8mb4_heap.result
@@ -863,6 +863,23 @@ utf8mb4_general_ci 6109
utf8mb4_general_ci 61
utf8mb4_general_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_general_ci
@@ -926,6 +943,23 @@ utf8mb4_bin 6109
utf8mb4_bin 61
utf8mb4_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_bin
diff --git a/mysql-test/r/ctype_utf8mb4_innodb.result b/mysql-test/r/ctype_utf8mb4_innodb.result
index 2db7066d478..4dcac1d9d7b 100644
--- a/mysql-test/r/ctype_utf8mb4_innodb.result
+++ b/mysql-test/r/ctype_utf8mb4_innodb.result
@@ -924,6 +924,23 @@ utf8mb4_general_ci 6109
utf8mb4_general_ci 61
utf8mb4_general_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_general_ci
@@ -987,6 +1004,23 @@ utf8mb4_bin 6109
utf8mb4_bin 61
utf8mb4_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_bin
diff --git a/mysql-test/r/ctype_utf8mb4_myisam.result b/mysql-test/r/ctype_utf8mb4_myisam.result
index b82e5687eda..e07e3472a37 100644
--- a/mysql-test/r/ctype_utf8mb4_myisam.result
+++ b/mysql-test/r/ctype_utf8mb4_myisam.result
@@ -924,6 +924,23 @@ utf8mb4_general_ci 6109
utf8mb4_general_ci 61
utf8mb4_general_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_general_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_general_ci
@@ -987,6 +1004,23 @@ utf8mb4_bin 6109
utf8mb4_bin 61
utf8mb4_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+utf8mb4_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
select @@collation_connection;
@@collation_connection
utf8mb4_bin
diff --git a/mysql-test/r/derived.result b/mysql-test/r/derived.result
index 9d31ceab4d1..3a3b69f1fc7 100644
--- a/mysql-test/r/derived.result
+++ b/mysql-test/r/derived.result
@@ -465,6 +465,42 @@ t1.val=t3.val
;
ERROR 42S22: Unknown column 'v.val' in 'field list'
drop table t1, t2;
+#
+# MDEV-5353: server crash on subselect if WHERE applied to some
+# result field
+#
+SELECT * FROM
+( SELECT 100 a, subsel.b FROM ( SELECT 200 b ) subsel ) tmp
+WHERE tmp.b;
+a b
+100 200
+SELECT * FROM
+( SELECT 100 a, subsel.b FROM ( SELECT 200 b ) subsel ) tmp
+WHERE tmp.a;
+a b
+100 200
+#
+# MDEV-5356: Server crashes in Item_equal::contains on 2nd
+# execution of a PS
+#
+CREATE TABLE t1 (a INT, b INT);
+INSERT INTO t1 VALUES (1,2),(3,4);
+CREATE TABLE t2 (c INT);
+INSERT INTO t2 VALUES (5),(6);
+CREATE TABLE t3 (d INT);
+INSERT INTO t3 VALUES (7),(8);
+CREATE PROCEDURE pr()
+UPDATE t3,
+(SELECT c FROM
+(SELECT 1 FROM t1 WHERE a=72 AND NOT b) sq,
+t2
+) sq2
+SET d=sq2.c;
+CALL pr();
+CALL pr();
+CALL pr();
+drop procedure pr;
+drop table t1,t2,t3;
# End of 5.3 tests
#
# Bug#58730 Assertion failed: table->key_read == 0 in close_thread_table,
diff --git a/mysql-test/r/derived_view.result b/mysql-test/r/derived_view.result
index edb0aefe163..9a70bffff6f 100644
--- a/mysql-test/r/derived_view.result
+++ b/mysql-test/r/derived_view.result
@@ -2256,6 +2256,115 @@ Warnings:
Note 1003 select 4 AS `a` from dual where (4 > 100) order by 1
DROP VIEW v1;
DROP TABLE t1;
+CREATE TABLE IF NOT EXISTS `galleries` (
+`id` int(11) NOT NULL AUTO_INCREMENT,
+`name` varchar(100) NOT NULL,
+`year` int(11) DEFAULT NULL,
+PRIMARY KEY (`id`),
+UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+Warnings:
+Warning 1286 Unknown storage engine 'InnoDB'
+Warning 1266 Using storage engine MyISAM for table 'galleries'
+CREATE TABLE IF NOT EXISTS `pictures` (
+`id` int(11) NOT NULL AUTO_INCREMENT,
+`name` varchar(100) NOT NULL,
+`width` float DEFAULT NULL,
+`height` float DEFAULT NULL,
+`year` int(4) DEFAULT NULL,
+`technique` varchar(50) DEFAULT NULL,
+`comment` varchar(2000) DEFAULT NULL,
+`gallery_id` int(11) NOT NULL,
+`type` int(11) NOT NULL,
+PRIMARY KEY (`id`),
+KEY `gallery_id` (`gallery_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
+Warnings:
+Warning 1286 Unknown storage engine 'InnoDB'
+Warning 1266 Using storage engine MyISAM for table 'pictures'
+ALTER TABLE `pictures`
+ADD CONSTRAINT `pictures_ibfk_1` FOREIGN KEY (`gallery_id`) REFERENCES `galleries` (`id`);
+INSERT INTO `galleries` (`id`, `name`, `year`) VALUES
+(1, 'Quand le noir et blanc invite le taupe', 2013),
+(2, 'Une touche de couleur', 2012),
+(3, 'Éclats', 2011),
+(4, 'Gris béton', 2010),
+(5, 'Expression du spalter', 2010),
+(6, 'Zénitude', 2009),
+(7, 'La force du rouge', 2008),
+(8, 'Sphères', NULL),
+(9, 'Centre', 2009),
+(10, 'Nébuleuse', NULL);
+INSERT INTO `pictures` (`id`, `name`, `width`, `height`, `year`, `technique`, `comment`, `gallery_id`, `type`) VALUES
+(1, 'Éclaircie', 72.5, 100, NULL, NULL, NULL, 1, 1),
+(2, 'Architecture', 81, 100, NULL, NULL, NULL, 1, 1),
+(3, 'Nouveau souffle', 72.5, 100, NULL, NULL, NULL, 1, 1),
+(4, 'Échanges (2)', 89, 116, NULL, NULL, NULL, 1, 1),
+(5, 'Échanges', 89, 116, NULL, NULL, NULL, 1, 1),
+(6, 'Fenêtre de vie', 81, 116, NULL, NULL, NULL, 1, 1),
+(7, 'Architecture', 81, 100, NULL, NULL, NULL, 1, 1),
+(8, 'Nouveau souffle (2)', 72.5, 100, NULL, NULL, NULL, 1, 1),
+(9, 'Fluidité', 89, 116, NULL, NULL, NULL, 1, 1),
+(10, 'Nouveau Monde', 89, 125, NULL, NULL, NULL, 1, 1),
+(11, 'Mirage', 73, 100, NULL, NULL, NULL, 1, 1),
+(12, 'Équilibre', 72.5, 116, NULL, NULL, NULL, 2, 1),
+(13, 'Fusion', 72.5, 116, NULL, NULL, NULL, 2, 1),
+(14, 'Étincelles', NULL, NULL, NULL, NULL, NULL, 3, 1),
+(15, 'Régénérescence', NULL, NULL, NULL, NULL, NULL, 3, 1),
+(16, 'Chaleur', 80, 80, NULL, NULL, NULL, 4, 1),
+(17, 'Création', 90, 90, NULL, NULL, NULL, 4, 1),
+(18, 'Horizon', 92, 73, NULL, NULL, NULL, 4, 1),
+(19, 'Labyrinthe', 81, 100, NULL, NULL, NULL, 4, 1),
+(20, 'Miroir', 80, 116, NULL, NULL, NULL, 5, 1),
+(21, 'Libération', 81, 116, NULL, NULL, NULL, 5, 1),
+(22, 'Éclats', 81, 116, NULL, NULL, NULL, 5, 1),
+(23, 'Zénitude', 116, 89, NULL, NULL, NULL, 6, 1),
+(24, 'Écritures lointaines', 90, 90, NULL, NULL, NULL, 7, 1),
+(25, 'Émergence', 80, 80, NULL, NULL, NULL, 7, 1),
+(26, 'Liberté', 50, 50, NULL, NULL, NULL, 7, 1),
+(27, 'Silhouettes amérindiennes', 701, 70, NULL, NULL, NULL, 7, 1),
+(28, 'Puissance', 81, 100, NULL, NULL, NULL, 8, 1),
+(29, 'Source', 73, 116, NULL, NULL, NULL, 8, 1),
+(30, 'Comme une ville qui prend vie', 50, 100, 2008, NULL, NULL, 9, 1),
+(31, 'Suspension azur', 80, 80, NULL, NULL, NULL, 9, 1),
+(32, 'Nébuleuse', 70, 70, NULL, NULL, NULL, 10, 1),
+(33, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(34, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(35, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(36, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(37, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(38, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2);
+explain
+SELECT g.id AS gallery_id,
+g.name AS gallery_name,
+p.id AS picture_id,
+p.name AS picture_name,
+g.p_random AS r1,
+g.p_random AS r2,
+g.p_random AS r3
+FROM
+(
+SELECT gal.id,
+gal.name,
+(
+SELECT pi.id
+FROM pictures pi
+WHERE pi.gallery_id = gal.id
+ORDER BY RAND()
+LIMIT 1
+) AS p_random
+FROM galleries gal
+) g
+LEFT JOIN pictures p
+ON p.id = g.p_random
+ORDER BY gallery_name ASC
+;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE <derived2> ALL NULL NULL NULL NULL 2 Using filesort
+1 SIMPLE p eq_ref PRIMARY PRIMARY 4 g.p_random 1 Using where
+2 DERIVED gal ALL NULL NULL NULL NULL 10
+3 DEPENDENT SUBQUERY pi ref gallery_id gallery_id 4 test.gal.id 4 Using temporary; Using filesort
+drop table galleries, pictures;
#
# end of 5.3 tests
#
diff --git a/mysql-test/r/func_equal.result b/mysql-test/r/func_equal.result
index 02593529a91..f20b259191c 100644
--- a/mysql-test/r/func_equal.result
+++ b/mysql-test/r/func_equal.result
@@ -43,46 +43,3 @@ a
4828532208463511553
drop table t1;
#End of 4.1 tests
-#
-# MDEV-5103: server crashed on singular Item_equal
-#
-CREATE TABLE `t1` (
-`tipo` enum('p','r') NOT NULL DEFAULT 'r',
-`arquivo_id` bigint(20) unsigned NOT NULL DEFAULT '0',
-`arquivo_md5` char(32) NOT NULL,
-`conteudo` longblob NOT NULL,
-`usuario` varchar(15) NOT NULL,
-`datahora_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-`tipo_arquivo` varchar(255) NOT NULL,
-`nome_arquivo` varchar(255) NOT NULL,
-`tamanho_arquivo` bigint(20) unsigned NOT NULL DEFAULT '0',
-PRIMARY KEY (`tipo`,`arquivo_id`),
-UNIQUE KEY `tipo` (`tipo`,`arquivo_md5`)
-) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1;
-INSERT INTO `t1` (`tipo`, `arquivo_id`, `arquivo_md5`, `conteudo`, `usuario`, `datahora_gmt`, `tipo_arquivo`, `nome_arquivo`, `tamanho_arquivo`) VALUES
-('r', 1, 'ad18832202b199728921807033a8a515', '', 'rspadim', '2013-10-05 13:55:50', '001_cbr643', 'CBR6431677410201314132.ret', 21306);
-CREATE TABLE `t2` (
-`tipo` enum('p','r') NOT NULL DEFAULT 'p',
-`arquivo_id` bigint(20) NOT NULL DEFAULT '0',
-`usuario` varchar(25) NOT NULL,
-`datahora` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-`erros` longblob NOT NULL,
-`importados` bigint(20) unsigned NOT NULL DEFAULT '0',
-`n_importados` bigint(20) unsigned NOT NULL DEFAULT '0',
-PRIMARY KEY (`tipo`,`arquivo_id`,`datahora`)
-) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1;
-INSERT INTO `t2` (`tipo`, `arquivo_id`, `usuario`, `datahora`, `erros`, `importados`, `n_importados`) VALUES
-('r', 1, 'rspadim', '2013-10-05 14:25:30', '', 32, 0);
-SELECT
-arquivo_id,usuario,datahora_gmt,tipo_arquivo,nome_arquivo,tamanho_arquivo
-FROM t1 AS a
-WHERE datahora_gmt>='0000-00-00 00:00:00' AND
-datahora_gmt<='2013-10-07 02:59:59' AND tipo='r' AND
-(tipo_arquivo,arquivo_id) NOT IN
-(SELECT tipo_arquivo,arquivo_id
-FROM t2
-WHERE (tipo_arquivo,arquivo_id)=(a.tipo_arquivo,a.arquivo_id))
-ORDER BY arquivo_id DESC;
-arquivo_id usuario datahora_gmt tipo_arquivo nome_arquivo tamanho_arquivo
-drop table t2, t1;
-#End of 5.3 tests
diff --git a/mysql-test/r/func_time.result b/mysql-test/r/func_time.result
index fc070f6abf9..52c148d9046 100644
--- a/mysql-test/r/func_time.result
+++ b/mysql-test/r/func_time.result
@@ -365,7 +365,7 @@ extract(DAY_MINUTE FROM "02 10:11:12")
21011
select extract(DAY_SECOND FROM "225 10:11:12");
extract(DAY_SECOND FROM "225 10:11:12")
-8385959
+34225959
Warnings:
Warning 1292 Truncated incorrect time value: '225 10:11:12'
select extract(HOUR FROM "1999-01-02 10:11:12");
@@ -948,10 +948,10 @@ sec_to_time(1) + 0, from_unixtime(1) + 0;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
- `now() - now()` decimal(20,0) NOT NULL DEFAULT '0',
- `curtime() - curtime()` decimal(11,0) NOT NULL DEFAULT '0',
- `sec_to_time(1) + 0` decimal(11,0) DEFAULT NULL,
- `from_unixtime(1) + 0` decimal(20,0) DEFAULT NULL
+ `now() - now()` bigint(21) NOT NULL DEFAULT '0',
+ `curtime() - curtime()` bigint(12) NOT NULL DEFAULT '0',
+ `sec_to_time(1) + 0` bigint(12) DEFAULT NULL,
+ `from_unixtime(1) + 0` bigint(21) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
SELECT SEC_TO_TIME(3300000);
@@ -1025,7 +1025,7 @@ Note 1105 Cast to unsigned converted negative integer to it's positive complemen
Warning 1292 Truncated incorrect time value: '18446744073709551615:00:00'
SELECT EXTRACT(HOUR FROM '100000:02:03');
EXTRACT(HOUR FROM '100000:02:03')
-838
+22
Warnings:
Warning 1292 Truncated incorrect time value: '100000:02:03'
CREATE TABLE t1(f1 TIME);
@@ -2347,3 +2347,64 @@ DROP TABLE t1;
SELECT MAKETIME(0, 0, -0.1);
MAKETIME(0, 0, -0.1)
NULL
+#
+# MDEV-4857 Wrong result of HOUR('1 00:00:00')
+#
+SELECT HOUR('1 02:00:00'), HOUR('26:00:00');
+HOUR('1 02:00:00') HOUR('26:00:00')
+26 26
+SELECT HOUR(TIME'1 02:00:00'), HOUR(TIME'26:00:00');
+HOUR(TIME'1 02:00:00') HOUR(TIME'26:00:00')
+26 26
+SELECT HOUR(TIME('1 02:00:00')), HOUR(TIME('26:00:00'));
+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
+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
+SELECT EXTRACT(HOUR FROM TIME'1 02:00:00'), EXTRACT(HOUR FROM TIME'26:00:00');
+EXTRACT(HOUR FROM TIME'1 02:00:00') EXTRACT(HOUR FROM TIME'26:00:00')
+2 2
+SELECT EXTRACT(HOUR FROM TIME('1 02:00:00')), EXTRACT(HOUR FROM TIME('26:00:00'));
+EXTRACT(HOUR FROM TIME('1 02:00:00')) EXTRACT(HOUR FROM TIME('26:00:00'))
+2 2
+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
+#
+# 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.'
+#
+SET TIMESTAMP=UNIX_TIMESTAMP('2014-01-22 18:19:20');
+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
+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
+838:59:59
+Warnings:
+Warning 1292 Truncated incorrect time value: '1296:00:00'
+Warning 1292 Truncated incorrect time value: '1296:00:00'
+DROP TABLE t1;
+SET TIMESTAMP=DEFAULT;
+#
+# MDEV-5504 Server crashes in String::length on SELECT with MONTHNAME, GROUP BY, ROLLUP
+#
+CREATE TABLE t1 (i INT);
+INSERT INTO t1 VALUES (1),(2);
+SELECT 1 FROM t1 GROUP BY MONTHNAME(0) WITH ROLLUP;
+1
+1
+1
+DROP TABLE t1;
diff --git a/mysql-test/r/group_by.result b/mysql-test/r/group_by.result
index 9bb22eb8169..a9e91199949 100644
--- a/mysql-test/r/group_by.result
+++ b/mysql-test/r/group_by.result
@@ -1957,12 +1957,12 @@ UNIQUE INDEX idx (col1));
INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),
(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);
EXPLAIN SELECT col1 AS field1, col1 AS field2
-FROM t1 GROUP BY field1, field2;;
+FROM t1 GROUP BY field1, field2+0;;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL idx 5 NULL 20 Using index; Using temporary; Using filesort
FLUSH STATUS;
SELECT col1 AS field1, col1 AS field2
-FROM t1 GROUP BY field1, field2;;
+FROM t1 GROUP BY field1, field2+0;;
field1 field2
1 1
2 2
@@ -2054,8 +2054,12 @@ field1 field2
explain
select col1 f1, col1 f2 from t1 order by f2, f1;
id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 index NULL idx 5 NULL 20 Using index
+explain
+select col1 f1, col1 f2 from t1 order by f2, f1+0;
+id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL idx 5 NULL 20 Using index; Using filesort
-select col1 f1, col1 f2 from t1 order by f2, f1;
+select col1 f1, col1 f2 from t1 order by f2, f1+0;
f1 f2
1 1
2 2
@@ -2080,7 +2084,7 @@ f1 f2
explain
select col1 f1, col1 f2 from t1 group by f2 order by f2, f1;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 range NULL idx 5 NULL 7 Using index for group-by; Using temporary; Using filesort
+1 SIMPLE t1 range NULL idx 5 NULL 7 Using index for group-by
select col1 f1, col1 f2 from t1 group by f2 order by f2, f1;
f1 f2
1 1
@@ -2106,7 +2110,7 @@ f1 f2
explain
select col1 f1, col1 f2 from t1 group by f1, f2 order by f2, f1;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 index NULL idx 5 NULL 20 Using index; Using temporary; Using filesort
+1 SIMPLE t1 index NULL idx 5 NULL 20 Using index
select col1 f1, col1 f2 from t1 group by f1, f2 order by f2, f1;
f1 f2
1 1
@@ -2137,10 +2141,10 @@ INSERT INTO t2(col1, col2) VALUES
(1,20),(2,19),(3,18),(4,17),(5,16),(6,15),(7,14),(8,13),(9,12),(10,11),
(11,10),(12,9),(13,8),(14,7),(15,6),(16,5),(17,4),(18,3),(19,2),(20,1);
explain
-select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3;
+select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3+0;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 index NULL idx 10 NULL 20 Using index; Using temporary; Using filesort
-select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3;
+select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3+0;
f1 f2 f3
1 20 1
2 19 2
@@ -2163,10 +2167,10 @@ f1 f2 f3
19 2 19
20 1 20
explain
-select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3;
+select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3+0;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 index NULL idx 10 NULL 20 Using index; Using filesort
-select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3;
+select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3+0;
f1 f2 f3
1 20 1
2 19 2
@@ -2469,29 +2473,3 @@ c 1c
v 2v,2v
NULL 1c,2v,2v
DROP TABLE t1,t2;
-#
-# Test of MDEV-4002
-#
-CREATE TABLE t1 (
-pk INT NOT NULL PRIMARY KEY,
-d1 DOUBLE,
-d2 DOUBLE,
-i INT NOT NULL DEFAULT '0',
-KEY (i)
-) ENGINE=InnoDB;
-INSERT INTO t1 VALUES (1,1.0,1.1,1),(2,2.0,2.2,2);
-PREPARE stmt FROM "
-SELECT DISTINCT i, GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
-FROM t1 a1 NATURAL JOIN t1 a2 GROUP BY i WITH ROLLUP
-";
-EXECUTE stmt;
-i GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
-1 11.1
-2 22.2
-NULL 11.1,22.2
-EXECUTE stmt;
-i GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
-1 11.1
-2 22.2
-NULL 11.1,22.2
-DROP TABLE t1;
diff --git a/mysql-test/r/group_by_innodb.result b/mysql-test/r/group_by_innodb.result
index d165834cbe3..4b5d9990c51 100644
--- a/mysql-test/r/group_by_innodb.result
+++ b/mysql-test/r/group_by_innodb.result
@@ -1,3 +1,4 @@
+set @save_ext_key_optimizer_switch=@@optimizer_switch;
#
# MDEV-3992 Server crash or valgrind errors in test_if_skip_sort_order/test_if_cheaper_ordering
# on GROUP BY with indexes on InnoDB table
@@ -7,13 +8,14 @@ pk INT PRIMARY KEY,
a VARCHAR(1) NOT NULL,
KEY (pk)
) ENGINE=InnoDB;
+set optimizer_switch='extended_keys=on';
INSERT INTO t1 VALUES (1,'a'),(2,'b');
EXPLAIN
SELECT COUNT(*), pk field1, pk AS field2
FROM t1 WHERE a = 'r' OR pk = 183
GROUP BY field1, field2;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 index PRIMARY,pk pk 4 NULL 2 Using where
+1 SIMPLE t1 index PRIMARY,pk PRIMARY 4 NULL 2 Using where
SELECT COUNT(*), pk field1, pk AS field2
FROM t1 WHERE a = 'r' OR pk = 183
GROUP BY field1, field2;
@@ -22,9 +24,36 @@ EXPLAIN
SELECT COUNT(*), pk field1 FROM t1
WHERE a = 'r' OR pk = 183 GROUP BY field1, field1;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 index PRIMARY,pk pk 4 NULL 2 Using where
+1 SIMPLE t1 index PRIMARY,pk PRIMARY 4 NULL 2 Using where
SELECT COUNT(*), pk field1 FROM t1
WHERE a = 'r' OR pk = 183 GROUP BY field1, field1;
COUNT(*) field1
drop table t1;
+set optimizer_switch=@save_ext_key_optimizer_switch;
+#
+# MDEV-4002 Server crash or valgrind errors in Item_func_group_concat::setup and Item_func_group_concat::add
+#
+CREATE TABLE t1 (
+pk INT NOT NULL PRIMARY KEY,
+d1 DOUBLE,
+d2 DOUBLE,
+i INT NOT NULL DEFAULT '0',
+KEY (i)
+) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1,1.0,1.1,1),(2,2.0,2.2,2);
+PREPARE stmt FROM "
+SELECT DISTINCT i, GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
+FROM t1 a1 NATURAL JOIN t1 a2 GROUP BY i WITH ROLLUP
+";
+EXECUTE stmt;
+i GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
+1 11.1
+2 22.2
+NULL 11.1,22.2
+EXECUTE stmt;
+i GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
+1 11.1
+2 22.2
+NULL 11.1,22.2
+DROP TABLE t1;
End of 5.5 tests
diff --git a/mysql-test/r/group_by_null.result b/mysql-test/r/group_by_null.result
new file mode 100644
index 00000000000..01053514cb0
--- /dev/null
+++ b/mysql-test/r/group_by_null.result
@@ -0,0 +1,6 @@
+create table t1 (a int);
+insert into t1 values (1),(2);
+select max('foo') from t1 group by values(a), extractvalue('bar','qux') order by "v";
+max('foo')
+foo
+drop table t1;
diff --git a/mysql-test/r/innodb_ext_key.result b/mysql-test/r/innodb_ext_key.result
index 4a6b902e869..df681f21f3b 100644
--- a/mysql-test/r/innodb_ext_key.result
+++ b/mysql-test/r/innodb_ext_key.result
@@ -987,6 +987,54 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref page_timestamp page_timestamp 4 const 10 Using where
1 SIMPLE t3 eq_ref PRIMARY PRIMARY 4 test.t2.rev_text_id 1
DROP TABLE t1,t2,t3;
+#
+# MDEV-5424 SELECT using ORDER BY DESC and LIMIT produces unexpected
+# results (InnoDB/XtraDB)
+#
+create table t1 (a bigint not null unique auto_increment, b varchar(10), primary key (a), key (b(2))) engine = myisam default character set utf8;
+create table t2 (a bigint not null unique auto_increment, b varchar(10), primary key (a), key (b(2))) engine = innodb default character set utf8;
+insert into t1 (b) values (null), (null), (null);
+insert into t2 (b) values (null), (null), (null);
+set optimizer_switch='extended_keys=on';
+explain select a from t1 where b is null order by a desc limit 2;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ref b b 9 const 2 Using where; Using filesort
+select a from t1 where b is null order by a desc limit 2;
+a
+3
+2
+explain select a from t2 where b is null order by a desc limit 2;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t2 range b b 9 NULL 3 Using where; Using filesort
+select a from t2 where b is null order by a desc limit 2;
+a
+3
+2
+set optimizer_switch='extended_keys=off';
+explain select a from t2 where b is null order by a desc limit 2;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t2 range b b 9 NULL 3 Using where; Using filesort
+select a from t2 where b is null order by a desc limit 2;
+a
+3
+2
+explain select a from t2 where b is null order by a desc;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t2 index b PRIMARY 8 NULL 3 Using where
+select a from t2 where b is null order by a desc;
+a
+3
+2
+1
+explain select a from t2 where b is null order by a desc,a,a;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t2 index b PRIMARY 8 NULL 3 Using where
+select a from t2 where b is null order by a desc,a,a;
+a
+3
+2
+1
+drop table t1, t2;
set optimizer_switch=@save_optimizer_switch;
set optimizer_switch=@save_ext_key_optimizer_switch;
SET SESSION STORAGE_ENGINE=DEFAULT;
diff --git a/mysql-test/r/innodb_icp.result b/mysql-test/r/innodb_icp.result
index 07c75986392..e34a4469de2 100644
--- a/mysql-test/r/innodb_icp.result
+++ b/mysql-test/r/innodb_icp.result
@@ -907,5 +907,30 @@ OR a = c
ORDER BY e;
a b c d e
DROP TABLE t1,t2,t3;
+#
+# MDEV-5337: Wrong result in mariadb 5.5.32 with ORDER BY + LIMIT when index_condition_pushdown=on
+# MDEV-5512: Wrong result (WHERE clause ignored) with multiple clauses using Percona-XtraDB engine
+#
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t2 (pk int primary key,
+key1 char(32),
+key2 char(32),
+key(key1),
+key(key2)
+) engine=innodb;
+insert into t2 select
+A.a+10*B.a+100*C.a,
+concat('rare-', A.a+10*B.a),
+concat('rare-', A.a+10*B.a)
+from
+t1 A, t1 B, t1 C;
+update t2 set key1='frequent-val' where pk between 100 and 350;
+select * from t2 ignore key(PRIMARY)
+where key1='frequent-val' and key2 between 'rare-400' and 'rare-450' order by pk limit 2;
+pk key1 key2
+141 frequent-val rare-41
+142 frequent-val rare-42
+drop table t1, t2;
set optimizer_switch=@innodb_icp_tmp;
set storage_engine= @save_storage_engine;
diff --git a/mysql-test/r/insert.result b/mysql-test/r/insert.result
index a722ab8d97f..82f3977e231 100644
--- a/mysql-test/r/insert.result
+++ b/mysql-test/r/insert.result
@@ -697,3 +697,23 @@ ERROR 42000: Column 'a' specified twice
INSERT IGNORE t1 (a, a) SELECT 1,1 UNION SELECT 2,2;
ERROR 42000: Column 'a' specified twice
DROP TABLE t1;
+#
+# MDEV-5168: Ensure that we can disable duplicate key warnings
+# from INSERT IGNORE
+#
+create table t1 (f1 int unique, f2 int unique);
+insert into t1 values (1,12);
+insert into t1 values (2,13);
+insert into t1 values (1,12);
+ERROR 23000: Duplicate entry '1' for key 'f1'
+insert ignore into t1 values (1,12);
+Warnings:
+Warning 1062 Duplicate entry '1' for key 'f1'
+set @@old_mode="NO_DUP_KEY_WARNINGS_WITH_IGNORE";
+insert ignore into t1 values (1,12);
+insert ignore into t1 values (1,12) on duplicate key update f2=13;
+set @@old_mode="";
+insert ignore into t1 values (1,12);
+Warnings:
+Warning 1062 Duplicate entry '1' for key 'f1'
+DROP TABLE t1;
diff --git a/mysql-test/r/join_cache.result b/mysql-test/r/join_cache.result
index 618ce7e540b..b3ca6dc0df2 100644
--- a/mysql-test/r/join_cache.result
+++ b/mysql-test/r/join_cache.result
@@ -5637,4 +5637,23 @@ c
set join_buffer_size=default;
set optimizer_switch=@tmp_optimizer_switch;
DROP table t1,t2,t3;
+set join_buffer_size= default;
+set @@optimizer_switch=@save_optimizer_switch;
+#
+# MDEV-5293: outer join, join buffering, and order by - invalid query plan
+#
+create table t0 (a int primary key) engine=myisam;
+insert into t0 values (1);
+create table t1(a int) engine=myisam;
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+alter table t1 add b int;
+create table t2 like t1;
+insert into t2 select * from t1;
+#The following must use "Using temporary; Using filesort" and not just "Using filesort":
+explain select * from t0,t1 left join t2 on t1.b=t2.b order by t0.a, t1.a;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t0 system NULL NULL NULL NULL 1 Using temporary; Using filesort
+1 SIMPLE t1 ALL NULL NULL NULL NULL 10
+1 SIMPLE t2 ALL NULL NULL NULL NULL 10 Using where; Using join buffer (flat, BNL join)
+drop table t0,t1,t2;
set @@optimizer_switch=@save_optimizer_switch;
diff --git a/mysql-test/r/join_outer.result b/mysql-test/r/join_outer.result
index c9b694c9532..4a806e0831c 100644
--- a/mysql-test/r/join_outer.result
+++ b/mysql-test/r/join_outer.result
@@ -2054,7 +2054,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 const PRIMARY,idx PRIMARY 4 const 1 100.00
1 SIMPLE t2 const PRIMARY PRIMARY 4 const 1 100.00 Using index
Warnings:
-Note 1003 select 5 AS `pk` from `test`.`t2` join `test`.`t1` where ((((1 between 5 and 6) and isnull(5)) or 1)) order by 5
+Note 1003 select 5 AS `pk` from `test`.`t2` join `test`.`t1` where 1 order by 5
SELECT t1.pk FROM t2 LEFT JOIN t1 ON t2.pk = t1.a
WHERE t1.b BETWEEN 5 AND 6 AND t1.pk IS NULL OR t1.pk = 5
ORDER BY t1.pk;
diff --git a/mysql-test/r/join_outer_jcl6.result b/mysql-test/r/join_outer_jcl6.result
index eae21a090c4..6a543f920e4 100644
--- a/mysql-test/r/join_outer_jcl6.result
+++ b/mysql-test/r/join_outer_jcl6.result
@@ -2065,7 +2065,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 const PRIMARY,idx PRIMARY 4 const 1 100.00
1 SIMPLE t2 const PRIMARY PRIMARY 4 const 1 100.00 Using index
Warnings:
-Note 1003 select 5 AS `pk` from `test`.`t2` join `test`.`t1` where ((((1 between 5 and 6) and isnull(5)) or 1)) order by 5
+Note 1003 select 5 AS `pk` from `test`.`t2` join `test`.`t1` where 1 order by 5
SELECT t1.pk FROM t2 LEFT JOIN t1 ON t2.pk = t1.a
WHERE t1.b BETWEEN 5 AND 6 AND t1.pk IS NULL OR t1.pk = 5
ORDER BY t1.pk;
diff --git a/mysql-test/r/merge.result b/mysql-test/r/merge.result
index de376dc187d..41ee148cee3 100644
--- a/mysql-test/r/merge.result
+++ b/mysql-test/r/merge.result
@@ -2394,6 +2394,13 @@ REPAIR TABLE m1;
Table Op Msg_type Msg_text
test.m1 repair note The storage engine for the table doesn't support repair
DROP TABLE m1, t1;
+create temporary table t1_temp(i int);
+create temporary table tm_temp_temp (i int) engine=merge union=(t1_temp) insert_method=last;
+alter table tm_temp_temp insert_method=first;
+check table tm_temp_temp;
+Table Op Msg_type Msg_text
+test.tm_temp_temp check status OK
+drop temporary table t1_temp, tm_temp_temp;
End of 5.1 tests
#
# MDEV-4277: Crash inside mi_killed_in_mariadb() with myisammrg
diff --git a/mysql-test/r/myisam_optimize.result b/mysql-test/r/myisam_optimize.result
index 185d49e6391..341c3e180b8 100644
--- a/mysql-test/r/myisam_optimize.result
+++ b/mysql-test/r/myisam_optimize.result
@@ -21,3 +21,4 @@ a left(b,10)
3 CCCCCCCCCC
4 CCCCCCCCCC
drop table t1;
+set debug_sync='reset';
diff --git a/mysql-test/r/mysql_tzinfo_to_sql_symlink.result b/mysql-test/r/mysql_tzinfo_to_sql_symlink.result
index 1aaaa38895d..6b3b378e642 100644
--- a/mysql-test/r/mysql_tzinfo_to_sql_symlink.result
+++ b/mysql-test/r/mysql_tzinfo_to_sql_symlink.result
@@ -1,6 +1,7 @@
#
# MDEV-5226 mysql_tzinfo_to_sql errors with tzdata 2013f and above
#
+# Verbose run
SET SESSION wsrep_replicate_myisam=ON;
TRUNCATE TABLE time_zone;
TRUNCATE TABLE time_zone_name;
@@ -12,12 +13,51 @@ INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('GMT', @time_zone_id);
INSERT INTO time_zone_transition_type (Time_zone_id, Transition_type_id, Offset, Is_DST, Abbreviation) VALUES
(@time_zone_id, 0, 0, 0, 'GMT')
;
+Warning: Unable to load 'MYSQLTEST_VARDIR/zoneinfo/garbage' as time zone. Skipping it.
+Warning: Unable to load 'MYSQLTEST_VARDIR/zoneinfo/ignored.tab' as time zone. Skipping it.
INSERT INTO time_zone (Use_leap_seconds) VALUES ('N');
SET @time_zone_id= LAST_INSERT_ID();
INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('posix/GMT', @time_zone_id);
INSERT INTO time_zone_transition_type (Time_zone_id, Transition_type_id, Offset, Is_DST, Abbreviation) VALUES
(@time_zone_id, 0, 0, 0, 'GMT')
;
+Warning: Unable to load 'MYSQLTEST_VARDIR/zoneinfo/posix/garbage' as time zone. Skipping it.
+Warning: Unable to load 'MYSQLTEST_VARDIR/zoneinfo/posix/ignored.tab' as time zone. Skipping it.
Warning: Skipping directory 'MYSQLTEST_VARDIR/zoneinfo/posix/posix': to avoid infinite symlink recursion.
ALTER TABLE time_zone_transition ORDER BY Time_zone_id, Transition_time;
ALTER TABLE time_zone_transition_type ORDER BY Time_zone_id, Transition_type_id;
+# Silent run
+TRUNCATE TABLE time_zone;
+TRUNCATE TABLE time_zone_name;
+TRUNCATE TABLE time_zone_transition;
+TRUNCATE TABLE time_zone_transition_type;
+INSERT INTO time_zone (Use_leap_seconds) VALUES ('N');
+SET @time_zone_id= LAST_INSERT_ID();
+INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('GMT', @time_zone_id);
+INSERT INTO time_zone_transition_type (Time_zone_id, Transition_type_id, Offset, Is_DST, Abbreviation) VALUES
+ (@time_zone_id, 0, 0, 0, 'GMT')
+;
+Warning: Unable to load 'MYSQLTEST_VARDIR/zoneinfo/garbage' as time zone. Skipping it.
+INSERT INTO time_zone (Use_leap_seconds) VALUES ('N');
+SET @time_zone_id= LAST_INSERT_ID();
+INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('posix/GMT', @time_zone_id);
+INSERT INTO time_zone_transition_type (Time_zone_id, Transition_type_id, Offset, Is_DST, Abbreviation) VALUES
+ (@time_zone_id, 0, 0, 0, 'GMT')
+;
+Warning: Unable to load 'MYSQLTEST_VARDIR/zoneinfo/posix/garbage' as time zone. Skipping it.
+ALTER TABLE time_zone_transition ORDER BY Time_zone_id, Transition_time;
+ALTER TABLE time_zone_transition_type ORDER BY Time_zone_id, Transition_type_id;
+#
+# Testing with explicit timezonefile
+#
+INSERT INTO time_zone (Use_leap_seconds) VALUES ('N');
+SET @time_zone_id= LAST_INSERT_ID();
+INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('XXX', @time_zone_id);
+INSERT INTO time_zone_transition_type (Time_zone_id, Transition_type_id, Offset, Is_DST, Abbreviation) VALUES
+ (@time_zone_id, 0, 0, 0, 'GMT')
+;
+#
+# Testing --leap
+#
+TRUNCATE TABLE time_zone_leap_second;
+ALTER TABLE time_zone_leap_second ORDER BY Transition_time;
diff --git a/mysql-test/r/mysql_upgrade.result b/mysql-test/r/mysql_upgrade.result
index 7c745d83e5d..285b00ae27f 100644
--- a/mysql-test/r/mysql_upgrade.result
+++ b/mysql-test/r/mysql_upgrade.result
@@ -108,6 +108,9 @@ test
Phase 3/3: Running 'mysql_fix_privilege_tables'...
OK
DROP USER mysqltest1@'%';
+Version check failed. Got the following error when calling the 'mysql' command line client
+ERROR 1045 (28000): Access denied for user 'mysqltest1'@'localhost' (using password: YES)
+FATAL ERROR: Upgrade failed
Run mysql_upgrade with a non existing server socket
mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (errno) when trying to connect
FATAL ERROR: Upgrade failed
diff --git a/mysql-test/r/mysqld--help.result b/mysql-test/r/mysqld--help.result
index 5262b01e08a..7f907a41a5d 100644
--- a/mysql-test/r/mysqld--help.result
+++ b/mysql-test/r/mysqld--help.result
@@ -454,8 +454,12 @@ The following options may be given as the first argument:
--net-write-timeout=#
Number of seconds to wait for a block to be written to a
connection before aborting the write
- --old Use compatible behavior
+ --old Use compatible behavior from previous MariaDB version.
+ See also --old-mode
--old-alter-table Use old, non-optimized alter table
+ --old-mode=name Used to emulate old behavior from earlier MariaDB or
+ MySQL versions. Syntax: old_mode=mode[,mode[,mode...]].
+ See the manual for the complete list of valid old modes
--old-passwords Use old password encryption method (needed for 4.0 and
older clients)
--old-style-user-limits
@@ -1071,6 +1075,7 @@ net-retry-count 10
net-write-timeout 60
old FALSE
old-alter-table FALSE
+old-mode
old-passwords FALSE
old-style-user-limits FALSE
optimizer-prune-level 1
diff --git a/mysql-test/r/order_by.result b/mysql-test/r/order_by.result
index e37d64d6d44..6ce12651dba 100644
--- a/mysql-test/r/order_by.result
+++ b/mysql-test/r/order_by.result
@@ -357,6 +357,12 @@ id select_type table type possible_keys key key_len ref rows Extra
explain select * from t1 where a = 1 order by b desc;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref a a 4 const 5 Using where; Using index
+explain select * from t1 where a = 2 and b > 0 order by a desc,b desc,b,a;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 range a a 9 NULL 5 Using where; Using index
+explain select * from t1 where a = 2 and b < 2 order by a desc,a,b desc,a,b;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 range a a 9 NULL 2 Using where; Using index
select * from t1 where a = 1 order by b desc;
a b c
1 3 b
@@ -2020,4 +2026,28 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL PRIMARY 4 NULL 8 Using index
1 SIMPLE t2 ref i_a i_a 5 test.t1.a 2 Using index
DROP TABLE t1,t2;
+#
+# MDEV-4974 memory leak in 5.5.32-MariaDB-1~wheezy-log
+#
+set sort_buffer_size=default;
+set max_sort_length=default;
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t2 (b int,
+col1 varchar(255),
+col2 varchar(255)
+) character set utf8;
+insert into t2 select
+A.a+10*B.a,
+concat('wow-wow-col1-value-', A.a+10*B.a+100*C.a),
+concat('wow-wow-col2-value-', A.a+10*B.a+100*C.a)
+from
+t1 A, t1 B, t1 C where C.a < 8;
+create table t3 as
+select distinct A.col1 as XX, B.col1 as YY
+from
+t2 A, t2 B
+where A.b = B.b
+order by A.col2, B.col2 limit 10, 1000000;
+drop table t1,t2,t3;
End of 5.5 tests
diff --git a/mysql-test/r/perror.result b/mysql-test/r/perror.result
index 74842b77ba1..30a56840b1b 100644
--- a/mysql-test/r/perror.result
+++ b/mysql-test/r/perror.result
@@ -1,6 +1,6 @@
Illegal error code: 10000
MySQL error code 1062 (ER_DUP_ENTRY): Duplicate entry '%-.192s' for key %d
-MySQL error code 1076 (ER_READY): %s: ready for connections.
-Version: '%s' socket: '%s' port: %d
+MySQL error code 1408 (ER_STARTUP): %s: ready for connections.
+Version: '%s' socket: '%s' port: %d %s
MySQL error code 1459 (ER_TABLE_NEEDS_UPGRADE): Table upgrade required. Please do "REPAIR TABLE `%-.32s`" or dump/reload to fix it!
MySQL error code 1461 (ER_MAX_PREPARED_STMT_COUNT_REACHED): Can't create more than max_prepared_stmt_count statements (current value: %lu)
diff --git a/mysql-test/r/plugin_auth.result b/mysql-test/r/plugin_auth.result
index 824d0f6b0ee..8c9657f4d39 100644
--- a/mysql-test/r/plugin_auth.result
+++ b/mysql-test/r/plugin_auth.result
@@ -302,7 +302,6 @@ FLUSH PRIVILEGES;
mysqld is alive
# Executing 'mysqldump'
# Executing 'mysql_upgrade'
-The --upgrade-system-tables option was used, databases won't be touched.
#
# Bug #59657: Move the client authentication_pam plugin into the
# server repository
diff --git a/mysql-test/r/plugin_vars.result b/mysql-test/r/plugin_vars.result
new file mode 100644
index 00000000000..869e0cf9a2a
--- /dev/null
+++ b/mysql-test/r/plugin_vars.result
@@ -0,0 +1,22 @@
+#
+# MDEV-5345 - Deadlock between mysql_change_user(), SHOW VARIABLES and
+# INSTALL PLUGIN
+#
+CREATE PROCEDURE p_install(x INT)
+BEGIN
+DECLARE CONTINUE HANDLER FOR 1126 BEGIN END;
+WHILE x DO
+SET x= x - 1;
+INSTALL PLUGIN no_such_plugin SONAME 'no_such_object';
+END WHILE;
+END|
+CREATE PROCEDURE p_show_vars(x INT)
+WHILE x DO
+SET x= x - 1;
+SHOW VARIABLES;
+END WHILE|
+CALL p_install(100);
+CALL p_show_vars(100);
+USE test;
+DROP PROCEDURE p_install;
+DROP PROCEDURE p_show_vars;
diff --git a/mysql-test/r/processlist.result b/mysql-test/r/processlist.result
index fc03f920533..127fa96b84b 100644
--- a/mysql-test/r/processlist.result
+++ b/mysql-test/r/processlist.result
@@ -13,3 +13,4 @@ sleep(5)
select command, time < 5 from information_schema.processlist where id != connection_id();
command time < 5
Sleep 1
+set debug_sync='reset';
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result
index 95217d9716a..cc348e849e3 100644
--- a/mysql-test/r/ps.result
+++ b/mysql-test/r/ps.result
@@ -3996,4 +3996,27 @@ Handler_read_rnd_deleted 0
Handler_read_rnd_next 0
deallocate prepare st;
drop table t1;
+#
+# Bug mdev-5410: crash at the execution of PS with subselect
+# formed by UNION with global ORDER BY
+#
+CREATE TABLE t1 (a int DEFAULT NULL);
+INSERT INTO t1 VALUES (2), (4);
+CREATE TABLE t2 (b int DEFAULT NULL);
+INSERT INTO t2 VALUES (1), (3);
+PREPARE stmt FROM "
+SELECT c1 FROM (SELECT (SELECT a FROM t1 WHERE t1.a <= t2.b
+ UNION ALL
+ SELECT a FROM t1 WHERE t1.a+3<= t2.b
+ ORDER BY a DESC) AS c1 FROM t2) t3;
+";
+EXECUTE stmt;
+c1
+NULL
+2
+EXECUTE stmt;
+c1
+NULL
+2
+DROP TABLE t1,t2;
# End of 5.3 tests
diff --git a/mysql-test/r/quick_select_4161.result b/mysql-test/r/quick_select_4161.result
index 862be6055ce..18ac4362a84 100644
--- a/mysql-test/r/quick_select_4161.result
+++ b/mysql-test/r/quick_select_4161.result
@@ -29,3 +29,4 @@ kill %connection%;
set debug_sync='now signal done';
Got one of the listed errors
drop table t1;
+set debug_sync='reset';
diff --git a/mysql-test/r/repair.result b/mysql-test/r/repair.result
index 1a98f2f0f36..52ae9c38792 100644
--- a/mysql-test/r/repair.result
+++ b/mysql-test/r/repair.result
@@ -130,26 +130,25 @@ test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" or dum
# REPAIR old table USE_FRM should fail
REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
-t1 repair error Failed repairing incompatible .frm file
+test.t1 repair warning Number of rows changed from 0 to 1
+test.t1 repair status OK
# Run REPAIR TABLE to upgrade .frm file
REPAIR TABLE t1;
Table Op Msg_type Msg_text
test.t1 repair status OK
SHOW TABLE STATUS LIKE 't1';
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
-t1 MyISAM 10 Fixed 2 7 14 1970324836974591 1024 0 NULL # # NULL latin1_swedish_ci NULL
+t1 MyISAM 10 Fixed 1 7 7 1970324836974591 1024 0 NULL # # NULL latin1_swedish_ci NULL
SELECT * FROM t1;
id
1
-2
REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
-test.t1 repair warning Number of rows changed from 0 to 2
+test.t1 repair warning Number of rows changed from 0 to 1
test.t1 repair status OK
SELECT * FROM t1;
id
1
-2
DROP TABLE t1;
DROP TABLE IF EXISTS tt1;
CREATE TEMPORARY TABLE tt1 (c1 INT);
@@ -183,3 +182,28 @@ test.t1 repair status OK
test.t2 repair status OK
set @@autocommit= default;
drop tables t1, t2;
+#
+# Check that we have decent error messages when using crashed
+# .frm file from MySQL 3.23
+#
+# Test with a saved table from 3.23
+select count(*) from t1;
+ERROR HY000: Got error 185 'Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this' from MyISAM
+check table t1;
+Table Op Msg_type Msg_text
+test.t1 check Error Got error 185 'Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this' from MyISAM
+test.t1 check error Corrupt
+repair table t1;
+Table Op Msg_type Msg_text
+test.t1 repair Error Got error 185 'Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this' from MyISAM
+test.t1 repair error Corrupt
+repair table t1 use_frm;
+Table Op Msg_type Msg_text
+test.t1 repair status OK
+select count(*) from t1;
+count(*)
+0
+check table t1;
+Table Op Msg_type Msg_text
+test.t1 check status OK
+drop table t1;
diff --git a/mysql-test/r/repair_symlink-5543.result b/mysql-test/r/repair_symlink-5543.result
new file mode 100644
index 00000000000..051c9ca3472
--- /dev/null
+++ b/mysql-test/r/repair_symlink-5543.result
@@ -0,0 +1,14 @@
+create table t1 (a int) engine=myisam data directory='MYSQL_TMP_DIR';
+insert t1 values (1);
+repair table t1;
+Table Op Msg_type Msg_text
+test.t1 repair error Can't create new tempfile: 'MYSQL_TMP_DIR/t1.TMD'
+test.t1 repair status Operation failed
+drop table t1;
+create table t2 (a int) engine=aria data directory='MYSQL_TMP_DIR';
+insert t2 values (1);
+repair table t2;
+Table Op Msg_type Msg_text
+test.t2 repair error Can't create new tempfile: 'MYSQL_TMP_DIR/t2.TMD'
+test.t2 repair status Operation failed
+drop table t2;
diff --git a/mysql-test/r/select.result b/mysql-test/r/select.result
index 2bdfee36aab..f465f5f23da 100644
--- a/mysql-test/r/select.result
+++ b/mysql-test/r/select.result
@@ -5315,7 +5315,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 <> 0)
DROP TABLE t1;
SELECT * FROM mysql.time_zone
WHERE ( NOT (Use_leap_seconds <= Use_leap_seconds AND Time_zone_id != 1)
diff --git a/mysql-test/r/select_jcl6.result b/mysql-test/r/select_jcl6.result
index 04712c8f85e..a51f2030595 100644
--- a/mysql-test/r/select_jcl6.result
+++ b/mysql-test/r/select_jcl6.result
@@ -5326,7 +5326,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 <> 0)
DROP TABLE t1;
SELECT * FROM mysql.time_zone
WHERE ( NOT (Use_leap_seconds <= Use_leap_seconds AND Time_zone_id != 1)
diff --git a/mysql-test/r/select_pkeycache.result b/mysql-test/r/select_pkeycache.result
index 2bdfee36aab..f465f5f23da 100644
--- a/mysql-test/r/select_pkeycache.result
+++ b/mysql-test/r/select_pkeycache.result
@@ -5315,7 +5315,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 <> 0)
DROP TABLE t1;
SELECT * FROM mysql.time_zone
WHERE ( NOT (Use_leap_seconds <= Use_leap_seconds AND Time_zone_id != 1)
diff --git a/mysql-test/r/sp-bugs.result b/mysql-test/r/sp-bugs.result
index 9d9deaebcc3..2442adc46b3 100644
--- a/mysql-test/r/sp-bugs.result
+++ b/mysql-test/r/sp-bugs.result
@@ -222,3 +222,49 @@ testf_bug11763507
DROP PROCEDURE testp_bug11763507;
DROP FUNCTION testf_bug11763507;
#END OF BUG#11763507 test.
+#
+# MDEV-5531 double call procedure in one session
+#
+CREATE TABLE `t1` (
+`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+`create_ts` int(10) unsigned DEFAULT '0',
+PRIMARY KEY (`id`)
+) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
+CREATE PROCEDURE test_5531 (IN step TINYINT(1))
+BEGIN
+DECLARE counts INT DEFAULT 0;
+DECLARE cur1 CURSOR FOR
+SELECT ct.id
+FROM (SELECT NULL) AS z
+JOIN (
+SELECT id
+FROM `t1`
+ LIMIT 10
+) AS ct
+JOIN (SELECT NULL) AS x ON(
+EXISTS(
+SELECT 1
+FROM `t1`
+ WHERE id=ct.id
+LIMIT 1
+)
+);
+IF step=1 THEN
+TRUNCATE t1;
+REPEAT
+INSERT INTO `t1`
+ (create_ts) VALUES
+(UNIX_TIMESTAMP());
+SET counts=counts+1;
+UNTIL counts>150 END REPEAT;
+SET max_sp_recursion_depth=1;
+CALL test_5531(2);
+SET max_sp_recursion_depth=2;
+CALL test_5531(2);
+ELSEIF step=2 THEN
+OPEN cur1; CLOSE cur1;
+END IF;
+END $$
+CALL test_5531(1);
+DROP PROCEDURE test_5531;
+DROP TABLE t1;
diff --git a/mysql-test/r/subselect.result b/mysql-test/r/subselect.result
index 9e073fe5d06..9d13c29f886 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 = '1')
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
diff --git a/mysql-test/r/subselect4.result b/mysql-test/r/subselect4.result
index 11b27e76782..00ee59ecbec 100644
--- a/mysql-test/r/subselect4.result
+++ b/mysql-test/r/subselect4.result
@@ -2295,6 +2295,28 @@ d NULL NULL NULL
drop table t1,t2;
set @@optimizer_switch = @optimizer_switch_MDEV4056;
#
+# MDEV-5103: server crashed on singular Item_equal
+#
+CREATE TABLE t1 (
+a enum('p','r') NOT NULL DEFAULT 'r',
+b int NOT NULL DEFAULT '0',
+c char(32) NOT NULL,
+d varchar(255) NOT NULL,
+PRIMARY KEY (a, b), UNIQUE KEY idx(a, c)
+);
+INSERT INTO t1 VALUES ('r', 1, 'ad18832202b199728921807033a8a515', '001_cbr643');
+CREATE TABLE t2 (
+a enum('p','r') NOT NULL DEFAULT 'r',
+b int NOT NULL DEFAULT '0',
+e datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+PRIMARY KEY (a, b, e)
+);
+INSERT INTO t2 VALUES ('r', 1, '2013-10-05 14:25:30');
+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));
+a b c d
+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_extra.result b/mysql-test/r/subselect_extra.result
index b3507c97086..5849ccda631 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 ('2007-04-25 18:30:22' = 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 ('2007-04-25' = 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_mat.result b/mysql-test/r/subselect_mat.result
index 62ec0955e88..09271e21c66 100644
--- a/mysql-test/r/subselect_mat.result
+++ b/mysql-test/r/subselect_mat.result
@@ -2037,6 +2037,24 @@ INSERT INTO t1 VALUES (1,3,5),(2,4,6);
SELECT * FROM t1 WHERE 8 IN (SELECT MIN(pk) FROM t1) AND (pk = a OR pk = b);
pk a b
DROP TABLE t1;
+#
+# MDEV-5368: Server crashes in Item_in_subselect::optimize on 2nd
+# execution of PS with IN subqueries, materialization+semijoin
+#
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(3);
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+CREATE ALGORITHM=MERGE VIEW v2 AS SELECT * FROM t2;
+INSERT INTO t2 VALUES (8),(9);
+PREPARE stmt FROM "
+SELECT * FROM t1 WHERE 1 IN ( SELECT b FROM v2 WHERE 2 IN ( SELECT MAX(a) FROM t1 ) )
+";
+EXECUTE stmt;
+a
+EXECUTE stmt;
+a
+DROP TABLE t1, t2;
+DROP VIEW v2;
# End of 5.3 tests
#
# MDEV-5056: Wrong result (extra rows) with materialization+semijoin, IN subqueries
@@ -2058,6 +2076,24 @@ CA ML CA ML
CA ML RO ML
DROP TABLE t1,t2;
set join_cache_level=@tmp_mdev5056;
+#
+# MDEV-5368: Server crashes in Item_in_subselect::optimize on 2nd
+# execution of PS with IN subqueries, materialization+semijoin
+#
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(3);
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+CREATE ALGORITHM=MERGE VIEW v2 AS SELECT * FROM t2;
+INSERT INTO t2 VALUES (8),(9);
+PREPARE stmt FROM "
+SELECT * FROM t1 WHERE 1 IN ( SELECT b FROM v2 WHERE 2 IN ( SELECT MAX(a) FROM t1 ) )
+";
+EXECUTE stmt;
+a
+EXECUTE stmt;
+a
+DROP TABLE t1, t2;
+DROP VIEW v2;
# End of 5.5 tests
set @subselect_mat_test_optimizer_switch_value=null;
set @@optimizer_switch='materialization=on,in_to_exists=off,semijoin=off';
diff --git a/mysql-test/r/subselect_no_mat.result b/mysql-test/r/subselect_no_mat.result
index dc91d0b0587..e84d114124d 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 = '1')
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
diff --git a/mysql-test/r/subselect_no_opts.result b/mysql-test/r/subselect_no_opts.result
index 9937228af54..e524505d915 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 = '1')
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
diff --git a/mysql-test/r/subselect_no_scache.result b/mysql-test/r/subselect_no_scache.result
index ee10f5e1169..61c8e5fdc53 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 = '1')
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
diff --git a/mysql-test/r/subselect_no_semijoin.result b/mysql-test/r/subselect_no_semijoin.result
index 73c4de888a0..afc172350b1 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 = '1')
drop table t1;
CREATE TABLE t1 (a int(1));
INSERT INTO t1 VALUES (1);
diff --git a/mysql-test/r/subselect_sj.result b/mysql-test/r/subselect_sj.result
index 2d229db9ec5..0e028cc7f51 100644
--- a/mysql-test/r/subselect_sj.result
+++ b/mysql-test/r/subselect_sj.result
@@ -2920,4 +2920,54 @@ COUNT(*)
DROP TABLE t1, t2, t3;
set join_buffer_size = @tmp_join_buffer_size;
set max_heap_table_size = @tmp_max_heap_table_size;
+#
+# MDEV-5161: Wrong result (missing rows) with semijoin, LEFT JOIN, ORDER BY, constant table
+#
+CREATE TABLE t1 (pk INT PRIMARY KEY, c1 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,'v'),(2,'v'),(3,'c'),(4,NULL),(5,'x');
+CREATE TABLE t2 (c2 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES ('x');
+CREATE TABLE t3 (c3 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t3 VALUES ('x'),('d');
+SELECT * FROM t1, t2 WHERE pk IN ( SELECT pk FROM t1 LEFT JOIN t3 ON (c1 = c3 ) ) ORDER BY c2, c1;
+pk c1 c2
+1 v x
+2 v x
+3 c x
+4 NULL x
+5 x x
+# This should show that "t1 left join t3" is still in the semi-join nest:
+EXPLAIN EXTENDED
+SELECT * FROM t1, t2 WHERE pk IN ( SELECT pk FROM t1 LEFT JOIN t3 ON (c1 = c3 ) ) ORDER BY c2, c1;
+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 Using temporary; Using filesort
+1 PRIMARY t1 ALL PRIMARY NULL NULL NULL 5 100.00 Start temporary
+1 PRIMARY t1 eq_ref PRIMARY PRIMARY 4 test.t1.pk 1 100.00
+1 PRIMARY t3 ALL NULL NULL NULL NULL 2 100.00 Using where; End temporary
+Warnings:
+Note 1003 select `test`.`t1`.`pk` AS `pk`,`test`.`t1`.`c1` AS `c1`,'x' AS `c2` from `test`.`t1` semi join (`test`.`t1` left join `test`.`t3` on((`test`.`t1`.`c1` = `test`.`t3`.`c3`))) where (`test`.`t1`.`pk` = `test`.`t1`.`pk`) order by 'x',`test`.`t1`.`c1`
+DROP TABLE t1,t2,t3;
+#
+# MDEV-5059: Wrong result (missing row) wih semijoin, join_cache_level > 2, LEFT JOIN, ORDER BY
+#
+SET @tmp_mdev5059=@@join_cache_level;
+SET join_cache_level = 3;
+set @tmp_os_mdev5059= @@optimizer_switch;
+set optimizer_switch=default;
+CREATE TABLE t1 (pk1 INT PRIMARY KEY, i1 INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,4),(2,5);
+CREATE TABLE t2 (i2 INT, c2 CHAR(1)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,'v'),(7,'s');
+CREATE TABLE t3 (pk3 INT PRIMARY KEY, i3 INT, c3 CHAR(1), INDEX(i3), INDEX(c3,i3)) ENGINE=MyISAM;
+INSERT INTO t3 VALUES (1,7,'g'),(2,4,'p'),(3,1,'q');
+CREATE TABLE t4 (i4 INT) ENGINE=MyISAM;
+INSERT INTO t4 VALUES (1);
+SELECT * FROM t1, t2 LEFT JOIN t3 ON (c3 = c2)
+WHERE ( i2, pk1 ) IN ( SELECT i3, 1 FROM t3, t4 ) ORDER BY i1, c2;
+pk1 i1 i2 c2 pk3 i3 c3
+1 4 7 s NULL NULL NULL
+1 4 1 v NULL NULL NULL
+SET join_cache_level=@tmp_mdev5059;
+set optimizer_switch=@tmp_os_mdev5059;
+DROP TABLE t1,t2,t3,t4;
set optimizer_switch=@subselect_sj_tmp;
diff --git a/mysql-test/r/subselect_sj_jcl6.result b/mysql-test/r/subselect_sj_jcl6.result
index a0ebbb3305d..af91cc3eeac 100644
--- a/mysql-test/r/subselect_sj_jcl6.result
+++ b/mysql-test/r/subselect_sj_jcl6.result
@@ -2934,6 +2934,56 @@ COUNT(*)
DROP TABLE t1, t2, t3;
set join_buffer_size = @tmp_join_buffer_size;
set max_heap_table_size = @tmp_max_heap_table_size;
+#
+# MDEV-5161: Wrong result (missing rows) with semijoin, LEFT JOIN, ORDER BY, constant table
+#
+CREATE TABLE t1 (pk INT PRIMARY KEY, c1 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,'v'),(2,'v'),(3,'c'),(4,NULL),(5,'x');
+CREATE TABLE t2 (c2 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES ('x');
+CREATE TABLE t3 (c3 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t3 VALUES ('x'),('d');
+SELECT * FROM t1, t2 WHERE pk IN ( SELECT pk FROM t1 LEFT JOIN t3 ON (c1 = c3 ) ) ORDER BY c2, c1;
+pk c1 c2
+1 v x
+2 v x
+3 c x
+4 NULL x
+5 x x
+# This should show that "t1 left join t3" is still in the semi-join nest:
+EXPLAIN EXTENDED
+SELECT * FROM t1, t2 WHERE pk IN ( SELECT pk FROM t1 LEFT JOIN t3 ON (c1 = c3 ) ) ORDER BY c2, c1;
+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 Using temporary; Using filesort
+1 PRIMARY t1 ALL PRIMARY NULL NULL NULL 5 100.00 Start temporary
+1 PRIMARY t1 eq_ref PRIMARY PRIMARY 4 test.t1.pk 1 100.00 Using join buffer (flat, BKA join); Key-ordered Rowid-ordered scan
+1 PRIMARY t3 ALL NULL NULL NULL NULL 2 100.00 Using where; End temporary; Using join buffer (incremental, BNL join)
+Warnings:
+Note 1003 select `test`.`t1`.`pk` AS `pk`,`test`.`t1`.`c1` AS `c1`,'x' AS `c2` from `test`.`t1` semi join (`test`.`t1` left join `test`.`t3` on((`test`.`t1`.`c1` = `test`.`t3`.`c3`))) where (`test`.`t1`.`pk` = `test`.`t1`.`pk`) order by 'x',`test`.`t1`.`c1`
+DROP TABLE t1,t2,t3;
+#
+# MDEV-5059: Wrong result (missing row) wih semijoin, join_cache_level > 2, LEFT JOIN, ORDER BY
+#
+SET @tmp_mdev5059=@@join_cache_level;
+SET join_cache_level = 3;
+set @tmp_os_mdev5059= @@optimizer_switch;
+set optimizer_switch=default;
+CREATE TABLE t1 (pk1 INT PRIMARY KEY, i1 INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,4),(2,5);
+CREATE TABLE t2 (i2 INT, c2 CHAR(1)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,'v'),(7,'s');
+CREATE TABLE t3 (pk3 INT PRIMARY KEY, i3 INT, c3 CHAR(1), INDEX(i3), INDEX(c3,i3)) ENGINE=MyISAM;
+INSERT INTO t3 VALUES (1,7,'g'),(2,4,'p'),(3,1,'q');
+CREATE TABLE t4 (i4 INT) ENGINE=MyISAM;
+INSERT INTO t4 VALUES (1);
+SELECT * FROM t1, t2 LEFT JOIN t3 ON (c3 = c2)
+WHERE ( i2, pk1 ) IN ( SELECT i3, 1 FROM t3, t4 ) ORDER BY i1, c2;
+pk1 i1 i2 c2 pk3 i3 c3
+1 4 7 s NULL NULL NULL
+1 4 1 v NULL NULL NULL
+SET join_cache_level=@tmp_mdev5059;
+set optimizer_switch=@tmp_os_mdev5059;
+DROP TABLE t1,t2,t3,t4;
set optimizer_switch=@subselect_sj_tmp;
#
# BUG#49129: Wrong result with IN-subquery with join_cache_level=6 and firstmatch=off
diff --git a/mysql-test/r/subselect_sj_mat.result b/mysql-test/r/subselect_sj_mat.result
index 38ab07882de..ba34543c2e3 100644
--- a/mysql-test/r/subselect_sj_mat.result
+++ b/mysql-test/r/subselect_sj_mat.result
@@ -2077,6 +2077,24 @@ INSERT INTO t1 VALUES (1,3,5),(2,4,6);
SELECT * FROM t1 WHERE 8 IN (SELECT MIN(pk) FROM t1) AND (pk = a OR pk = b);
pk a b
DROP TABLE t1;
+#
+# MDEV-5368: Server crashes in Item_in_subselect::optimize on 2nd
+# execution of PS with IN subqueries, materialization+semijoin
+#
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(3);
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+CREATE ALGORITHM=MERGE VIEW v2 AS SELECT * FROM t2;
+INSERT INTO t2 VALUES (8),(9);
+PREPARE stmt FROM "
+SELECT * FROM t1 WHERE 1 IN ( SELECT b FROM v2 WHERE 2 IN ( SELECT MAX(a) FROM t1 ) )
+";
+EXECUTE stmt;
+a
+EXECUTE stmt;
+a
+DROP TABLE t1, t2;
+DROP VIEW v2;
# End of 5.3 tests
#
# MDEV-5056: Wrong result (extra rows) with materialization+semijoin, IN subqueries
@@ -2098,4 +2116,22 @@ CA ML CA ML
CA ML RO ML
DROP TABLE t1,t2;
set join_cache_level=@tmp_mdev5056;
+#
+# MDEV-5368: Server crashes in Item_in_subselect::optimize on 2nd
+# execution of PS with IN subqueries, materialization+semijoin
+#
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(3);
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+CREATE ALGORITHM=MERGE VIEW v2 AS SELECT * FROM t2;
+INSERT INTO t2 VALUES (8),(9);
+PREPARE stmt FROM "
+SELECT * FROM t1 WHERE 1 IN ( SELECT b FROM v2 WHERE 2 IN ( SELECT MAX(a) FROM t1 ) )
+";
+EXECUTE stmt;
+a
+EXECUTE stmt;
+a
+DROP TABLE t1, t2;
+DROP VIEW v2;
# End of 5.5 tests
diff --git a/mysql-test/r/table_elim.result b/mysql-test/r/table_elim.result
index 0b19b6b4eaf..3b4d64c1bfa 100644
--- a/mysql-test/r/table_elim.result
+++ b/mysql-test/r/table_elim.result
@@ -610,6 +610,34 @@ id select_type table type possible_keys key key_len ref rows Extra
drop view v1;
DROP TABLE t1,t2,t3;
#
+# MDEV-5344: LEFT OUTER JOIN table data is lost in ON DUPLICATE KEY UPDATE section
+#
+create table t1 (
+id int(10) unsigned NOT NULL DEFAULT '0',
+v int(10) unsigned DEFAULT '0',
+PRIMARY KEY (id)
+);
+create table t2 (
+id int(10) unsigned NOT NULL DEFAULT '0',
+PRIMARY KEY (id)
+) ;
+create table t3 (
+id int(10) unsigned NOT NULL DEFAULT '0',
+v int(10) unsigned DEFAULT '0',
+PRIMARY KEY (id)
+);
+insert into t1 values (1, 10), (2, 10);
+insert into t2 values (1), (2);
+insert into t3 values (1, 20);
+insert into t1
+select t2.id, 5 from t2 LEFT OUTER JOIN t3 ON t2.id = t3.id
+on duplicate key update t1.v = t3.v;
+select * from t1;
+id v
+1 20
+2 NULL
+drop table t1,t2,t3;
+#
# BUG#919878: Assertion `!eliminated_tables...
#
CREATE TABLE t1 ( a INT );
diff --git a/mysql-test/r/timezone2.result b/mysql-test/r/timezone2.result
index 70f5ef9edc1..0ac4ddca277 100644
--- a/mysql-test/r/timezone2.result
+++ b/mysql-test/r/timezone2.result
@@ -326,5 +326,11 @@ NULL
Warnings:
Warning 1292 Incorrect datetime value: '00:00:00'
#
+# MDEV-5506 safe_mutex: Trying to lock unitialized mutex at safemalloc.c on server shutdown after SELECT with CONVERT_TZ
+#
+SELECT CONVERT_TZ('2001-10-08 00:00:00', MAKE_SET(0,'+01:00'), '+00:00' );
+CONVERT_TZ('2001-10-08 00:00:00', MAKE_SET(0,'+01:00'), '+00:00' )
+NULL
+#
# End of 5.3 tests
#
diff --git a/mysql-test/r/type_date.result b/mysql-test/r/type_date.result
index 4ead8f8d743..03b942be3f6 100644
--- a/mysql-test/r/type_date.result
+++ b/mysql-test/r/type_date.result
@@ -309,7 +309,7 @@ SELECT CONVERT_TZ(GREATEST(DATE('2021-00-00'),DATE('2022-00-00')),'+00:00','+7:5
CONVERT_TZ(GREATEST(DATE('2021-00-00'),DATE('2022-00-00')),'+00:00','+7:5')
NULL
Warnings:
-Warning 1292 Incorrect datetime value: '2022-00-00 00:00:00'
+Warning 1292 Incorrect datetime value: '2022-00-00'
#
# MDEV-4804 Date comparing false result
#
diff --git a/mysql-test/r/type_datetime.result b/mysql-test/r/type_datetime.result
index ff81029d127..61845c7b2d4 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 ('2007-04-25 18:30:22' = 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 ('2007-04-25' = 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_time.result b/mysql-test/r/type_time.result
index 32bbb6baa0b..ef02368e375 100644
--- a/mysql-test/r/type_time.result
+++ b/mysql-test/r/type_time.result
@@ -181,7 +181,7 @@ 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: '0000-00-00 00:00:00'
+Warning 1292 Incorrect datetime value: '00:00:00'
#
# MDEV-4652 Wrong result for CONCAT(GREATEST(TIME('00:00:01'),TIME('00:00:00')))
#
@@ -192,6 +192,113 @@ SELECT CONCAT(GREATEST(TIME('32 00:00:01'),TIME('00:00:00')));
CONCAT(GREATEST(TIME('32 00:00:01'),TIME('00:00:00')))
768:00:01
#
+# MDEV-4859 Wrong value and data type of "SELECT MAX(time_column) + 1 FROM t1"
+#
+CREATE TABLE t1 (t0 TIME);
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t0)+1 FROM t1;
+MAX(t0)+1
+101011
+CREATE TABLE t2 AS SELECT MAX(t0)+1 FROM t1;
+SELECT * FROM t2;
+MAX(t0)+1
+101011
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t0)+1 bigint(12) YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t0 TIME);
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t0)+1.1 FROM t1;
+MAX(t0)+1.1
+101011.1
+CREATE TABLE t2 AS SELECT MAX(t0)+1.1 FROM t1;
+SELECT * FROM t2;
+MAX(t0)+1.1
+101011.1
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t0)+1.1 decimal(12,1) YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t0 TIME);
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t0)+1e0 FROM t1;
+MAX(t0)+1e0
+101011
+CREATE TABLE t2 AS SELECT MAX(t0)+1e0 FROM t1;
+SELECT * FROM t2;
+MAX(t0)+1e0
+101011
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t0)+1e0 double YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t1 TIME(1));
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t1)+1 FROM t1;
+MAX(t1)+1
+101011.0
+CREATE TABLE t2 AS SELECT MAX(t1)+1 FROM t1;
+SELECT * FROM t2;
+MAX(t1)+1
+101011.0
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t1)+1 decimal(13,1) YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t0 DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t0)+1 FROM t1;
+MAX(t0)+1
+20010101101011
+CREATE TABLE t2 AS SELECT MAX(t0)+1 FROM t1;
+SELECT * FROM t2;
+MAX(t0)+1
+20010101101011
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t0)+1 bigint(21) YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t0 DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t0)+1.1 FROM t1;
+MAX(t0)+1.1
+20010101101011.1
+CREATE TABLE t2 AS SELECT MAX(t0)+1.1 FROM t1;
+SELECT * FROM t2;
+MAX(t0)+1.1
+20010101101011.1
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t0)+1.1 decimal(21,1) YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t0 DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t0)+1e0 FROM t1;
+MAX(t0)+1e0
+20010101101011
+CREATE TABLE t2 AS SELECT MAX(t0)+1e0 FROM t1;
+SELECT * FROM t2;
+MAX(t0)+1e0
+20010101101011
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t0)+1e0 double YES NULL
+DROP TABLE t2,t1;
+CREATE TABLE t1 (t1 DATETIME(1));
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t1)+1 FROM t1;
+MAX(t1)+1
+20010101101011.0
+CREATE TABLE t2 AS SELECT MAX(t1)+1 FROM t1;
+SELECT * FROM t2;
+MAX(t1)+1
+20010101101011.0
+SHOW COLUMNS FROM t2;
+Field Type Null Key Default Extra
+MAX(t1)+1 decimal(22,1) YES NULL
+DROP TABLE t2,t1;
+#
# End of 5.3 tests
#
CREATE TABLE t1 (f1 TIME);
diff --git a/mysql-test/r/union.result b/mysql-test/r/union.result
index d1be5e233df..a3ad63c035a 100644
--- a/mysql-test/r/union.result
+++ b/mysql-test/r/union.result
@@ -1734,6 +1734,21 @@ i
6
DROP VIEW v1;
DROP TABLE t1;
+#
+# mdev-5382: UNION with ORDER BY in subselect
+#
+CREATE TABLE t1 (a int DEFAULT NULL);
+INSERT INTO t1 VALUES (2), (4);
+CREATE TABLE t2 (b int DEFAULT NULL);
+INSERT INTO t2 VALUES (1), (3);
+SELECT c1 FROM (SELECT (SELECT a FROM t1 WHERE t1.a <= t2.b
+UNION ALL
+SELECT a FROM t1 WHERE t1.a+3<= t2.b
+ORDER BY a DESC) AS c1 FROM t2) t3;
+c1
+NULL
+2
+DROP TABLE t1,t2;
End of 5.3 tests
#
# Bug#57986 ORDER BY clause is not used after a UNION,
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result
index 36716fb2a30..ee43b3a3fcd 100644
--- a/mysql-test/r/view.result
+++ b/mysql-test/r/view.result
@@ -4952,6 +4952,56 @@ i1 c1 i1 c1
deallocate prepare stmt;
drop view v1;
drop table t1,t2;
+create table t1 (a int);
+insert into t1 values (1),(2);
+create view v1 (a,r) as select a,rand() from t1;
+create table t2 select a, r as r1, r as r2, r as r3 from v1;
+select a, r1 = r2, r2 = r3 from t2;
+a r1 = r2 r2 = r3
+1 1 1
+2 1 1
+drop view v1;
+drop table t1,t2;
+#
+# MDEV-5515: 2nd execution of a prepared statement returns wrong results
+#
+CREATE TABLE t1 (i1 INT, j1 INT NOT NULL, PRIMARY KEY (i1));
+INSERT INTO t1 VALUES (30,300),(40,400);
+CREATE TABLE t2 (i2 INT);
+INSERT INTO t2 VALUES (50),(60);
+CREATE TABLE t3 (c3 VARCHAR(20), i3 INT);
+INSERT INTO t3 VALUES ('a',10),('b',2);
+CREATE TABLE t4 (i4 INT);
+INSERT INTO t4 VALUES (1),(2);
+DROP VIEW IF EXISTS v1;
+Warnings:
+Note 1051 Unknown table 'test.v1'
+CREATE VIEW v1 AS select coalesce(j1,i3) AS v1_field1 from t2 join t3 left join t1 on ( i1 = i2 );
+CREATE VIEW v2 AS select v1_field1 from t4 join v1;
+prepare my_stmt from "select v1_field1 from v2";
+execute my_stmt;
+v1_field1
+10
+10
+10
+10
+2
+2
+2
+2
+execute my_stmt;
+v1_field1
+10
+10
+10
+10
+2
+2
+2
+2
+deallocate prepare my_stmt;
+DROP VIEW v1,v2;
+DROP TABLE t1,t2,t3,t4;
# -----------------------------------------------------------------
# -- End of 5.3 tests.
# -----------------------------------------------------------------
diff --git a/mysql-test/std_data/host_old.MYD b/mysql-test/std_data/host_old.MYD
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/mysql-test/std_data/host_old.MYD
diff --git a/mysql-test/std_data/host_old.MYI b/mysql-test/std_data/host_old.MYI
new file mode 100644
index 00000000000..c4c3f225e25
--- /dev/null
+++ b/mysql-test/std_data/host_old.MYI
Binary files differ
diff --git a/mysql-test/std_data/host_old.frm b/mysql-test/std_data/host_old.frm
new file mode 100644
index 00000000000..10ef3ec58be
--- /dev/null
+++ b/mysql-test/std_data/host_old.frm
Binary files differ
diff --git a/mysql-test/suite/binlog/r/binlog_row_ctype_cp932.result b/mysql-test/suite/binlog/r/binlog_row_ctype_cp932.result
index 43108222866..8bdad1813ea 100644
--- a/mysql-test/suite/binlog/r/binlog_row_ctype_cp932.result
+++ b/mysql-test/suite/binlog/r/binlog_row_ctype_cp932.result
@@ -11418,6 +11418,23 @@ cp932_japanese_ci 6109
cp932_japanese_ci 61
cp932_japanese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+cp932_japanese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
CREATE TABLE t1 AS
SELECT 10 AS a, REPEAT('a',20) AS b, REPEAT('a',8) AS c, REPEAT('a',8) AS d;
ALTER TABLE t1 ADD PRIMARY KEY(a), ADD KEY(b);
@@ -11445,6 +11462,23 @@ cp932_bin 6109
cp932_bin 61
cp932_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+cp932_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
CREATE TABLE t1 AS
SELECT 10 AS a, REPEAT('a',20) AS b, REPEAT('a',8) AS c, REPEAT('a',8) AS d;
ALTER TABLE t1 ADD PRIMARY KEY(a), ADD KEY(b);
diff --git a/mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result b/mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result
index 43108222866..8bdad1813ea 100644
--- a/mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result
+++ b/mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result
@@ -11418,6 +11418,23 @@ cp932_japanese_ci 6109
cp932_japanese_ci 61
cp932_japanese_ci 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+cp932_japanese_ci
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
CREATE TABLE t1 AS
SELECT 10 AS a, REPEAT('a',20) AS b, REPEAT('a',8) AS c, REPEAT('a',8) AS d;
ALTER TABLE t1 ADD PRIMARY KEY(a), ADD KEY(b);
@@ -11445,6 +11462,23 @@ cp932_bin 6109
cp932_bin 61
cp932_bin 6120
drop table t1;
+#
+# MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
+#
+SELECT @@collation_connection;
+@@collation_connection
+cp932_bin
+CREATE TABLE t1 (i INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+SELECT * FROM t1 GROUP BY MID(CURRENT_USER,0) WITH ROLLUP;
+i
+1
+1
+SELECT * FROM t1 GROUP BY MID('test',0) WITH ROLLUP;
+i
+1
+1
+DROP TABLE t1;
CREATE TABLE t1 AS
SELECT 10 AS a, REPEAT('a',20) AS b, REPEAT('a',8) AS c, REPEAT('a',8) AS d;
ALTER TABLE t1 ADD PRIMARY KEY(a), ADD KEY(b);
diff --git a/mysql-test/suite/handler/innodb.result b/mysql-test/suite/handler/innodb.result
index 63d557ca5a4..940484a34e7 100644
--- a/mysql-test/suite/handler/innodb.result
+++ b/mysql-test/suite/handler/innodb.result
@@ -256,7 +256,7 @@ handler t1 read a=(1);
a b
handler t1 read a next;
a b
-16 ccc
+14 aaa
handler t1 close;
handler t1 open;
prepare stmt from 'handler t1 read a=(?) limit ?,?';
@@ -563,7 +563,7 @@ HANDLER t1 READ `primary` = (1, 1000);
no1 no2
HANDLER t1 READ `primary` NEXT;
no1 no2
-2 8
+2 6
DROP TABLE t1;
create table t1 (c1 int);
insert into t1 values (14397);
diff --git a/mysql-test/suite/innodb/r/innodb_bug13510739.result b/mysql-test/suite/innodb/r/innodb_bug13510739.result
index 8aa4323eeb0..e1e6e27239c 100644
--- a/mysql-test/suite/innodb/r/innodb_bug13510739.result
+++ b/mysql-test/suite/innodb/r/innodb_bug13510739.result
@@ -6,5 +6,5 @@ HANDLER bug13510739 READ `primary` = (2);
c
HANDLER bug13510739 READ `primary` NEXT;
c
-4
+3
DROP TABLE bug13510739;
diff --git a/mysql-test/suite/innodb/t/innodb.test b/mysql-test/suite/innodb/t/innodb.test
index d57a52a2362..4d7dbdbd6a6 100644
--- a/mysql-test/suite/innodb/t/innodb.test
+++ b/mysql-test/suite/innodb/t/innodb.test
@@ -1,9 +1,3 @@
---source include/not_windows_embedded.inc
-# remove this when
-# Bug#53947 InnoDB: Assertion failure in thread 4224 in file
-# .\sync\sync0sync.c line 324
-# is fixed
-
#######################################################################
# #
# Please, DO NOT TOUCH this file as well as the innodb.result file. #
diff --git a/mysql-test/suite/maria/alter.result b/mysql-test/suite/maria/alter.result
new file mode 100644
index 00000000000..65e4cb74819
--- /dev/null
+++ b/mysql-test/suite/maria/alter.result
@@ -0,0 +1,33 @@
+drop table if exists t1;
+Warnings:
+Note 1051 Unknown table 't1'
+CREATE TABLE t1 (pk INT, d DATETIME, PRIMARY KEY(pk), KEY(d)) ENGINE=Aria;
+ALTER TABLE t1 DISABLE KEYS;
+INSERT INTO t1 VALUES (1,'2000-01-01 22:22:22'),(2,'2012-12-21 12:12:12');
+INSERT INTO t1 VALUES (3, '2008-07-24');
+ALTER TABLE t1 ENABLE KEYS;
+SELECT t1a.pk FROM t1 AS t1a LEFT JOIN t1 AS t1b ON t1a.pk = t1b.pk;
+pk
+1
+2
+3
+SELECT * FROM t1 AS t1a LEFT JOIN t1 AS t1b ON t1a.pk = t1b.pk;
+pk d pk d
+1 2000-01-01 22:22:22 1 2000-01-01 22:22:22
+2 2012-12-21 12:12:12 2 2012-12-21 12:12:12
+3 2008-07-24 00:00:00 3 2008-07-24 00:00:00
+DROP TABLE t1;
+CREATE TABLE t1 (pk INT PRIMARY KEY, i INT, KEY(i)) ENGINE=Aria;
+ALTER TABLE t1 DISABLE KEYS;
+INSERT INTO t1 VALUES (1,11);
+INSERT INTO t1 VALUES (2,0),(3,33),(4,0),(5,55),(6,66),(7,0),(8,88),(9,99);
+ALTER TABLE t1 ENABLE KEYS;
+SELECT * FROM t1 WHERE i = 0 OR pk BETWEEN 6 AND 10;
+pk i
+2 0
+4 0
+6 66
+7 0
+8 88
+9 99
+DROP TABLE t1;
diff --git a/mysql-test/suite/maria/alter.test b/mysql-test/suite/maria/alter.test
new file mode 100644
index 00000000000..abca4865688
--- /dev/null
+++ b/mysql-test/suite/maria/alter.test
@@ -0,0 +1,27 @@
+# Testing of potential problems in Aria and alter table
+
+-- source include/have_maria.inc
+
+drop table if exists t1;
+
+#
+# MDEV-4970 Wrong result with Aria table populated with disabled keys
+#
+
+CREATE TABLE t1 (pk INT, d DATETIME, PRIMARY KEY(pk), KEY(d)) ENGINE=Aria;
+ALTER TABLE t1 DISABLE KEYS;
+INSERT INTO t1 VALUES (1,'2000-01-01 22:22:22'),(2,'2012-12-21 12:12:12');
+INSERT INTO t1 VALUES (3, '2008-07-24');
+ALTER TABLE t1 ENABLE KEYS;
+
+SELECT t1a.pk FROM t1 AS t1a LEFT JOIN t1 AS t1b ON t1a.pk = t1b.pk;
+SELECT * FROM t1 AS t1a LEFT JOIN t1 AS t1b ON t1a.pk = t1b.pk;
+DROP TABLE t1;
+
+CREATE TABLE t1 (pk INT PRIMARY KEY, i INT, KEY(i)) ENGINE=Aria;
+ALTER TABLE t1 DISABLE KEYS;
+INSERT INTO t1 VALUES (1,11);
+INSERT INTO t1 VALUES (2,0),(3,33),(4,0),(5,55),(6,66),(7,0),(8,88),(9,99);
+ALTER TABLE t1 ENABLE KEYS;
+SELECT * FROM t1 WHERE i = 0 OR pk BETWEEN 6 AND 10;
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/r/insert_ignore-5421.result b/mysql-test/suite/parts/r/insert_ignore-5421.result
new file mode 100644
index 00000000000..6cbb21fe2d7
--- /dev/null
+++ b/mysql-test/suite/parts/r/insert_ignore-5421.result
@@ -0,0 +1,9 @@
+CREATE TABLE t1 (i INT) ENGINE=MyISAM
+PARTITION BY RANGE (i) (
+PARTITION p00 VALUES LESS THAN (1),
+PARTITION p01 VALUES LESS THAN (2)
+);
+INSERT IGNORE INTO t1 VALUES (3);
+Warnings:
+Warning 1526 Table has no partition for value 3
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/t/insert_ignore-5421.test b/mysql-test/suite/parts/t/insert_ignore-5421.test
new file mode 100644
index 00000000000..889f2ccae7b
--- /dev/null
+++ b/mysql-test/suite/parts/t/insert_ignore-5421.test
@@ -0,0 +1,12 @@
+#
+# MDEV-5421 Assertion `! is_set()' fails on INSERT IGNORE when a table has no partition for a value
+#
+
+--source include/have_partition.inc
+CREATE TABLE t1 (i INT) ENGINE=MyISAM
+PARTITION BY RANGE (i) (
+ PARTITION p00 VALUES LESS THAN (1),
+ PARTITION p01 VALUES LESS THAN (2)
+);
+INSERT IGNORE INTO t1 VALUES (3);
+DROP TABLE t1;
diff --git a/mysql-test/suite/plugins/r/sql_error_log.result b/mysql-test/suite/plugins/r/sql_error_log.result
new file mode 100644
index 00000000000..f3e6716302b
--- /dev/null
+++ b/mysql-test/suite/plugins/r/sql_error_log.result
@@ -0,0 +1,45 @@
+drop procedure if exists test_error;
+drop table if exists t1;
+install plugin SQL_ERROR_LOG soname 'sql_errlog';
+show variables like 'sql_error_log%';
+Variable_name Value
+sql_error_log_filename sql_errors.log
+sql_error_log_rate 1
+sql_error_log_rotate OFF
+sql_error_log_rotations 9
+sql_error_log_size_limit 1000000
+set global sql_error_log_rate=1;
+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
+CREATE PROCEDURE test_error()
+BEGIN
+DECLARE CONTINUE HANDLER
+FOR 1146
+BEGIN
+RESIGNAL SQLSTATE '40000' SET
+MYSQL_ERRNO = 1000,
+MESSAGE_TEXT = 'new message';
+END;
+SELECT `c` FROM `temptab`;
+END|
+CALL test_error();
+ERROR 40000: new message
+drop procedure test_error;
+SET SQL_MODE = STRICT_ALL_TABLES;
+create table t1(id int);
+insert into t1 values ('aa');
+ERROR 22007: Incorrect integer value: 'aa' for column 'id' at row 1
+SET SQL_MODE = '';
+drop table t1;
+uninstall plugin SQL_ERROR_LOG;
+Warnings:
+Warning 1620 Plugin is busy and will be uninstalled on shutdown
+TIME HOSTNAME ERROR 1146: Table 'test.t_doesnt_exist' doesn't exist : select * from t_doesnt_exist
+TIME HOSTNAME ERROR 1064: 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 : syntax_error_query
+TIME HOSTNAME ERROR 1146: Table 'test.temptab' doesn't exist : SELECT `c` FROM `temptab`
+TIME HOSTNAME ERROR 1000: new message : RESIGNAL SQLSTATE '40000' SET
+MYSQL_ERRNO = 1000,
+MESSAGE_TEXT = 'new message'
+TIME HOSTNAME ERROR 1366: Incorrect integer value: 'aa' for column 'id' at row 1 : insert into t1 values ('aa')
diff --git a/mysql-test/suite/plugins/t/sql_error_log.test b/mysql-test/suite/plugins/t/sql_error_log.test
new file mode 100644
index 00000000000..8d04720aac3
--- /dev/null
+++ b/mysql-test/suite/plugins/t/sql_error_log.test
@@ -0,0 +1,55 @@
+
+--source include/not_embedded.inc
+
+if (!$SQL_ERRLOG_SO) {
+ skip No SQL_ERROR_LOG plugin;
+}
+
+--disable_warnings
+drop procedure if exists test_error;
+drop table if exists t1;
+--enable_warnings
+
+install plugin SQL_ERROR_LOG soname 'sql_errlog';
+
+show variables like 'sql_error_log%';
+set global sql_error_log_rate=1;
+--error ER_NO_SUCH_TABLE
+select * from t_doesnt_exist;
+--error 1064
+syntax_error_query;
+
+delimiter |;
+
+CREATE PROCEDURE test_error()
+BEGIN
+DECLARE CONTINUE HANDLER
+FOR 1146
+BEGIN
+RESIGNAL SQLSTATE '40000' SET
+MYSQL_ERRNO = 1000,
+MESSAGE_TEXT = 'new message';
+END;
+SELECT `c` FROM `temptab`;
+END|
+
+delimiter ;|
+
+--error 1000
+CALL test_error();
+drop procedure test_error;
+
+SET SQL_MODE = STRICT_ALL_TABLES;
+create table t1(id int);
+--error 1366
+insert into t1 values ('aa');
+SET SQL_MODE = '';
+drop table t1;
+
+uninstall plugin SQL_ERROR_LOG;
+
+let $MYSQLD_DATADIR= `SELECT @@datadir`;
+# replace the timestamp and the hostname with constant values
+--replace_regex /[1-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] [^E]*/TIME HOSTNAME /
+cat_file $MYSQLD_DATADIR/sql_errors.log;
+
diff --git a/mysql-test/suite/rpl/r/rpl_create_tmp_table_if_not_exists.result b/mysql-test/suite/rpl/r/rpl_create_tmp_table_if_not_exists.result
index 6bafbb32897..40a38ee8592 100644
--- a/mysql-test/suite/rpl/r/rpl_create_tmp_table_if_not_exists.result
+++ b/mysql-test/suite/rpl/r/rpl_create_tmp_table_if_not_exists.result
@@ -15,4 +15,7 @@ master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE IF NOT EXISTS t
master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE IF NOT EXISTS tmp1 LIKE tmp
master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE IF NOT EXISTS tmp1 LIKE tmp
master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE IF NOT EXISTS tmp2 SELECT * FROM tmp
+DROP TEMPORARY TABLE tmp;
+DROP TEMPORARY TABLE tmp1;
+DROP TEMPORARY TABLE tmp2;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_lost_events_on_rotate.result b/mysql-test/suite/rpl/r/rpl_lost_events_on_rotate.result
new file mode 100644
index 00000000000..573517d6af8
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_lost_events_on_rotate.result
@@ -0,0 +1,14 @@
+include/master-slave.inc
+[connection master]
+SET @debug_saved= @@GLOBAL.DEBUG_DBUG;
+CREATE TABLE t (i INT);
+SET GLOBAL DEBUG_DBUG= "d,wait_after_binlog_EOF";
+INSERT INTO t VALUES (1);
+INSERT INTO t VALUES (2);
+FLUSH LOGS;
+SET DEBUG_SYNC= 'now SIGNAL signal.rotate_finished';
+include/diff_tables.inc [master:t,slave:t]
+SET @@GLOBAL.DEBUG_DBUG= @debug_saved;
+SET DEBUG_SYNC= 'RESET';
+DROP TABLE t;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_mdev359.result b/mysql-test/suite/rpl/r/rpl_mdev359.result
index f4382f672e4..f0709a8158f 100644
--- a/mysql-test/suite/rpl/r/rpl_mdev359.result
+++ b/mysql-test/suite/rpl/r/rpl_mdev359.result
@@ -9,5 +9,6 @@ SET DEBUG_SYNC= "now WAIT_FOR m1_ready";
SET GLOBAL rpl_semi_sync_master_enabled = OFF;
SET DEBUG_SYNC= "now SIGNAL m1_cont";
DROP TABLE t1;
+SET DEBUG_SYNC= "RESET";
UNINSTALL PLUGIN rpl_semi_sync_master;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_mixed_ddl_dml.result b/mysql-test/suite/rpl/r/rpl_mixed_ddl_dml.result
index f24f34fa0bf..5a258647b07 100644
--- a/mysql-test/suite/rpl/r/rpl_mixed_ddl_dml.result
+++ b/mysql-test/suite/rpl/r/rpl_mixed_ddl_dml.result
@@ -43,4 +43,5 @@ t5 CREATE TABLE `t5` (
`created` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t2,t3,t5;
+drop temporary table t4;
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result b/mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result
index 761ff2f8e98..57c947c9333 100644
--- a/mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result
+++ b/mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result
@@ -1554,8 +1554,14 @@ master-bin.000001 # Query # # COMMIT
SET @commands= 'clean';
DROP TABLE IF EXISTS tt_xx_1;
DROP TABLE IF EXISTS nt_xx_1;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_xx_1;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_xx_1;
DROP TABLE IF EXISTS nt_2;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_2;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_2;
DROP TABLE IF EXISTS nt_1;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_1;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_1;
DROP TABLE IF EXISTS tt_2;
DROP TABLE IF EXISTS tt_1;
SET @commands= '';
diff --git a/mysql-test/suite/rpl/r/rpl_rotate_logs.result b/mysql-test/suite/rpl/r/rpl_rotate_logs.result
index f10e30c698d..166ef3c8726 100644
--- a/mysql-test/suite/rpl/r/rpl_rotate_logs.result
+++ b/mysql-test/suite/rpl/r/rpl_rotate_logs.result
@@ -98,6 +98,7 @@ count(*)
91
unlock tables;
drop table if exists t1,t2,t3,t4;
+drop temporary table temp_table;
End of 4.1 tests
show binlog events in 'non existing_binlog_file';
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
diff --git a/mysql-test/suite/rpl/r/rpl_row_drop_create_temp_table.result b/mysql-test/suite/rpl/r/rpl_row_drop_create_temp_table.result
index 88754e2cf8c..a55c8e2a2bc 100644
--- a/mysql-test/suite/rpl/r/rpl_row_drop_create_temp_table.result
+++ b/mysql-test/suite/rpl/r/rpl_row_drop_create_temp_table.result
@@ -1619,8 +1619,14 @@ master-bin.000001 # Query # # COMMIT
SET @commands= 'clean';
DROP TABLE IF EXISTS tt_xx_1;
DROP TABLE IF EXISTS nt_xx_1;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_xx_1;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_xx_1;
DROP TABLE IF EXISTS nt_2;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_2;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_2;
DROP TABLE IF EXISTS nt_1;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_1;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_1;
DROP TABLE IF EXISTS tt_2;
DROP TABLE IF EXISTS tt_1;
SET @commands= '';
diff --git a/mysql-test/suite/rpl/r/rpl_row_reset_slave.result b/mysql-test/suite/rpl/r/rpl_row_reset_slave.result
index 41fe0b1a9f3..1cf70ba7e67 100644
--- a/mysql-test/suite/rpl/r/rpl_row_reset_slave.result
+++ b/mysql-test/suite/rpl/r/rpl_row_reset_slave.result
@@ -23,6 +23,7 @@ include/start_slave.inc
show status like 'slave_open_temp_tables';
Variable_name Value
Slave_open_temp_tables 0
+drop temporary table if exists t1;
include/stop_slave.inc
reset slave;
include/check_slave_no_error.inc
diff --git a/mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result b/mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result
index f69a323f980..033027addf9 100644
--- a/mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result
+++ b/mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result
@@ -28,4 +28,5 @@ SET DEBUG_SYNC='now SIGNAL go';
# connection: slave
# cleanup
SET @@GLOBAL.slave_net_timeout = @save_slave_net_timeout;
+SET DEBUG_SYNC='RESET';
include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_stm_000001.result b/mysql-test/suite/rpl/r/rpl_stm_000001.result
index 80a3240021a..2401fda52f9 100644
--- a/mysql-test/suite/rpl/r/rpl_stm_000001.result
+++ b/mysql-test/suite/rpl/r/rpl_stm_000001.result
@@ -48,6 +48,7 @@ select (@id := id) - id from t2;
0
kill @id;
drop table t2;
+drop temporary table t3;
Got one of the listed errors
include/wait_for_slave_sql_error_and_skip.inc [errno=1927]
select count(*) from t1;
diff --git a/mysql-test/suite/rpl/r/rpl_stm_drop_create_temp_table.result b/mysql-test/suite/rpl/r/rpl_stm_drop_create_temp_table.result
index 42f16a4c175..08b318fbb43 100644
--- a/mysql-test/suite/rpl/r/rpl_stm_drop_create_temp_table.result
+++ b/mysql-test/suite/rpl/r/rpl_stm_drop_create_temp_table.result
@@ -1604,8 +1604,14 @@ master-bin.000001 # Query # # ROLLBACK
SET @commands= 'clean';
DROP TABLE IF EXISTS tt_xx_1;
DROP TABLE IF EXISTS nt_xx_1;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_xx_1;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_xx_1;
DROP TABLE IF EXISTS nt_2;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_2;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_2;
DROP TABLE IF EXISTS nt_1;
+DROP TEMPORARY TABLE IF EXISTS tt_tmp_1;
+DROP TEMPORARY TABLE IF EXISTS nt_tmp_1;
DROP TABLE IF EXISTS tt_2;
DROP TABLE IF EXISTS tt_1;
SET @commands= '';
diff --git a/mysql-test/suite/rpl/r/rpl_stm_innodb.result b/mysql-test/suite/rpl/r/rpl_stm_innodb.result
index 0e9531317b9..6f54b232e71 100644
--- a/mysql-test/suite/rpl/r/rpl_stm_innodb.result
+++ b/mysql-test/suite/rpl/r/rpl_stm_innodb.result
@@ -79,6 +79,7 @@ COUNT(*)
FLUSH LOGS;
-------- switch to master --------
FLUSH LOGS;
+DROP TEMPORARY TABLE IF EXISTS mysqltest1.tmp2;
DROP DATABASE mysqltest1;
End of 5.1 tests
#
diff --git a/mysql-test/suite/rpl/r/rpl_stm_reset_slave.result b/mysql-test/suite/rpl/r/rpl_stm_reset_slave.result
index b1473c937a1..e5870cec2c9 100644
--- a/mysql-test/suite/rpl/r/rpl_stm_reset_slave.result
+++ b/mysql-test/suite/rpl/r/rpl_stm_reset_slave.result
@@ -23,6 +23,7 @@ include/start_slave.inc
show status like 'slave_open_temp_tables';
Variable_name Value
Slave_open_temp_tables 1
+drop temporary table if exists t1;
include/stop_slave.inc
reset slave;
include/check_slave_no_error.inc
diff --git a/mysql-test/suite/rpl/r/rpl_stop_slave.result b/mysql-test/suite/rpl/r/rpl_stop_slave.result
index 3d9bad18ab6..5959ee09993 100644
--- a/mysql-test/suite/rpl/r/rpl_stop_slave.result
+++ b/mysql-test/suite/rpl/r/rpl_stop_slave.result
@@ -113,7 +113,6 @@ ROLLBACK;
[connection master]
SET DEBUG_SYNC= 'now SIGNAL signal.continue';
SET DEBUG_SYNC= 'now WAIT_FOR signal.continued';
-SET DEBUG_SYNC= 'RESET';
[connection slave]
include/wait_for_slave_to_stop.inc
[connection slave1]
@@ -121,3 +120,4 @@ include/start_slave.inc
[connection master]
DROP TABLE t1, t2;
include/rpl_end.inc
+SET DEBUG_SYNC= 'RESET';
diff --git a/mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test b/mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test
index e1fd7abb47f..3107fdfaaa9 100644
--- a/mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test
+++ b/mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test
@@ -38,4 +38,8 @@ CREATE TEMPORARY TABLE IF NOT EXISTS tmp2 SELECT * FROM tmp;
CREATE TEMPORARY TABLE IF NOT EXISTS tmp2 SELECT * FROM tmp;
source include/show_binlog_events.inc;
+DROP TEMPORARY TABLE tmp;
+DROP TEMPORARY TABLE tmp1;
+DROP TEMPORARY TABLE tmp2;
+
--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_lost_events_on_rotate.test b/mysql-test/suite/rpl/t/rpl_lost_events_on_rotate.test
new file mode 100644
index 00000000000..3a4a24e1762
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_lost_events_on_rotate.test
@@ -0,0 +1,51 @@
+#
+# Whenever the mysql_binlog_send method (dump thread) reaches the
+# end of file when reading events from the binlog, before checking
+# if it should wait for more events, there was a test to check if
+# the file being read was still active, i.e, it was the last known
+# binlog. However, it was possible that something was written to
+# the binary log and then a rotation would happen, after EOF was
+# detected and before the check for active was performed. In this
+# case, the end of the binary log would not be read by the dump
+# thread, and this would cause the slave to lose updates.
+#
+# This test verifies that the problem has been fixed. It waits
+# during this window while forcing a rotation in the binlog.
+#
+--source include/have_debug.inc
+--source include/master-slave.inc
+
+--connection master
+
+SET @debug_saved= @@GLOBAL.DEBUG_DBUG;
+
+CREATE TABLE t (i INT);
+
+# When reaching the EOF the dump thread will wait before deciding if
+# it should move to a new binlong file.
+SET GLOBAL DEBUG_DBUG= "d,wait_after_binlog_EOF";
+
+INSERT INTO t VALUES (1);
+
+--sleep 1
+
+# A insert and a rotate happens before the decision
+INSERT INTO t VALUES (2);
+FLUSH LOGS;
+
+SET DEBUG_SYNC= 'now SIGNAL signal.rotate_finished';
+
+--sync_slave_with_master
+
+# All the rows should be sent to the slave.
+--let $diff_tables=master:t,slave:t
+--source include/diff_tables.inc
+
+##Clean up
+--connection master
+
+SET @@GLOBAL.DEBUG_DBUG= @debug_saved;
+SET DEBUG_SYNC= 'RESET';
+
+DROP TABLE t;
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_mdev359.test b/mysql-test/suite/rpl/t/rpl_mdev359.test
index ef4e41f5291..e657474129e 100644
--- a/mysql-test/suite/rpl/t/rpl_mdev359.test
+++ b/mysql-test/suite/rpl/t/rpl_mdev359.test
@@ -28,6 +28,7 @@ SET DEBUG_SYNC= "now SIGNAL m1_cont";
connection master;
DROP TABLE t1;
+SET DEBUG_SYNC= "RESET";
disable_warnings;
UNINSTALL PLUGIN rpl_semi_sync_master;
diff --git a/mysql-test/suite/rpl/t/rpl_mixed_ddl_dml.test b/mysql-test/suite/rpl/t/rpl_mixed_ddl_dml.test
index c5b821ca906..f4a1615a20f 100644
--- a/mysql-test/suite/rpl/t/rpl_mixed_ddl_dml.test
+++ b/mysql-test/suite/rpl/t/rpl_mixed_ddl_dml.test
@@ -44,6 +44,7 @@ show create table t3;
show create table t5;
connection master;
drop table t2,t3,t5;
+drop temporary table t4;
sync_slave_with_master;
# End of 4.1 tests
diff --git a/mysql-test/suite/rpl/t/rpl_rotate_logs.test b/mysql-test/suite/rpl/t/rpl_rotate_logs.test
index 393623888ec..b4cfb4eb224 100644
--- a/mysql-test/suite/rpl/t/rpl_rotate_logs.test
+++ b/mysql-test/suite/rpl/t/rpl_rotate_logs.test
@@ -176,6 +176,7 @@ unlock tables;
#clean up
connection master;
drop table if exists t1,t2,t3,t4;
+drop temporary table temp_table;
sync_slave_with_master;
--echo End of 4.1 tests
diff --git a/mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test b/mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test
index 3eaff761108..96a629484f2 100644
--- a/mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test
+++ b/mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test
@@ -53,5 +53,6 @@ disconnect slave2;
connection slave;
--echo # cleanup
SET @@GLOBAL.slave_net_timeout = @save_slave_net_timeout;
+SET DEBUG_SYNC='RESET';
source include/rpl_end.inc;
diff --git a/mysql-test/suite/rpl/t/rpl_stm_000001.test b/mysql-test/suite/rpl/t/rpl_stm_000001.test
index 16f89123d75..d25decf9383 100644
--- a/mysql-test/suite/rpl/t/rpl_stm_000001.test
+++ b/mysql-test/suite/rpl/t/rpl_stm_000001.test
@@ -91,8 +91,8 @@ connection master1;
sleep 3;
select (@id := id) - id from t2;
kill @id;
-# We don't drop t3 as this is a temporary table
drop table t2;
+drop temporary table t3;
connection master;
# The get_lock function causes warning for unsafe statement.
--disable_warnings
diff --git a/mysql-test/suite/rpl/t/rpl_stop_slave.test b/mysql-test/suite/rpl/t/rpl_stop_slave.test
index 7e57359877b..d9d7f39c321 100644
--- a/mysql-test/suite/rpl/t/rpl_stop_slave.test
+++ b/mysql-test/suite/rpl/t/rpl_stop_slave.test
@@ -107,7 +107,6 @@ ROLLBACK;
--source include/rpl_connection_master.inc
SET DEBUG_SYNC= 'now SIGNAL signal.continue';
SET DEBUG_SYNC= 'now WAIT_FOR signal.continued';
-SET DEBUG_SYNC= 'RESET';
--source include/rpl_connection_slave.inc
source include/wait_for_slave_to_stop.inc;
@@ -122,3 +121,4 @@ DROP TABLE t1, t2;
eval SET GLOBAL debug_dbug= '$debug_save';
--enable_query_log
--source include/rpl_end.inc
+SET DEBUG_SYNC= 'RESET';
diff --git a/mysql-test/suite/storage_engine/have_engine.inc b/mysql-test/suite/storage_engine/have_engine.inc
index 5a6f05f42af..6f95716f488 100644
--- a/mysql-test/suite/storage_engine/have_engine.inc
+++ b/mysql-test/suite/storage_engine/have_engine.inc
@@ -38,7 +38,7 @@ let $default_char_type = CHAR(8);
if (!$ENGINE)
{
- --skip ERROR: Storage engine under test is not defined, export ENGINE env variable or set it in define_engine.inc
+ --skip Storage engine under test is not defined, export ENGINE env variable or set it in define_engine.inc
}
# Check that the storage engine is loaded. Here we don't need to worry about the case,
diff --git a/mysql-test/suite/sys_vars/r/old_mode_basic.result b/mysql-test/suite/sys_vars/r/old_mode_basic.result
new file mode 100644
index 00000000000..c9a650e7b15
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/old_mode_basic.result
@@ -0,0 +1,174 @@
+SET @global_start_value = @@global.old_mode;
+SELECT @global_start_value;
+@global_start_value
+
+SET @session_start_value = @@session.old_mode;
+SELECT @session_start_value;
+@session_start_value
+
+'#--------------------FN_DYNVARS_152_01------------------------#'
+SET @@global.old_mode = "NO_PROGRESS_INFO";
+SET @@global.old_mode = DEFAULT;
+SELECT @@global.old_mode;
+@@global.old_mode
+
+SET @@session.old_mode = "NO_PROGRESS_INFO";
+SET @@session.old_mode = DEFAULT;
+SELECT @@session.old_mode;
+@@session.old_mode
+
+'#---------------------FN_DYNVARS_152_02-------------------------#'
+SET @@global.old_mode = NULL;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'NULL'
+SET @@global.old_mode = '';
+SELECT @@global.old_mode;
+@@global.old_mode
+
+SET @@global.old_mode = ' ';
+SELECT @@global.old_mode;
+@@global.old_mode
+
+SET @@session.old_mode = NULL;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'NULL'
+SET @@session.old_mode = '';
+SELECT @@session.old_mode;
+@@session.old_mode
+
+SET @@session.old_mode = ' ';
+SELECT @@session.old_mode;
+@@session.old_mode
+
+'#--------------------FN_DYNVARS_152_03------------------------#'
+SET @@global.old_mode = NO_PROGRESS_INFO;
+SELECT @@global.old_mode;
+@@global.old_mode
+NO_PROGRESS_INFO
+SET @@global.old_mode = NO_DUP_KEY_WARNINGS_WITH_IGNORE;
+SELECT @@global.old_mode;
+@@global.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE
+SET @@global.old_mode = OFF;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'OFF'
+SET @@session.old_mode = NO_PROGRESS_INFO;
+SELECT @@session.old_mode;
+@@session.old_mode
+NO_PROGRESS_INFO
+SET @@session.old_mode = NO_DUP_KEY_WARNINGS_WITH_IGNORE;
+SELECT @@session.old_mode;
+@@session.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE
+SET @@session.old_mode = OFF;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'OFF'
+SET @@global.old_mode = '?';
+ERROR 42000: Variable 'old_mode' can't be set to the value of '?'
+SELECT @@global.old_mode;
+@@global.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE
+'#--------------------FN_DYNVARS_152_04-------------------------#'
+SET @@global.old_mode = -1;
+ERROR 42000: Variable 'old_mode' can't be set to the value of '-1'
+SET @@global.old_mode = ASCII;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'ASCII'
+SET @@global.old_mode = NON_TRADITIONAL;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'NON_TRADITIONAL'
+SET @@global.old_mode = 'OF';
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'OF'
+SET @@global.old_mode = NONE;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'NONE'
+SET @@session.old_mode = -1;
+ERROR 42000: Variable 'old_mode' can't be set to the value of '-1'
+SET @@session.old_mode = ANSI_SINGLE_QUOTES;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'ANSI_SINGLE_QUOTES'
+SET @@session.old_mode = 'ON';
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'ON'
+SET @@session.old_mode = 'OF';
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'OF'
+SET @@session.old_mode = DISABLE;
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'DISABLE'
+'#-------------------FN_DYNVARS_152_05----------------------------#'
+SELECT @@session.old_mode = VARIABLE_VALUE
+FROM INFORMATION_SCHEMA.SESSION_VARIABLES
+WHERE VARIABLE_NAME='old_mode';
+@@session.old_mode = VARIABLE_VALUE
+1
+'#----------------------FN_DYNVARS_152_06------------------------#'
+SELECT @@global.old_mode = VARIABLE_VALUE
+FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME='old_mode';
+@@global.old_mode = VARIABLE_VALUE
+1
+'#---------------------FN_DYNVARS_152_07-------------------------#'
+SET @@global.old_mode = 0;
+SELECT @@global.old_mode;
+@@global.old_mode
+
+SET @@global.old_mode = 1;
+SELECT @@global.old_mode;
+@@global.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE
+SET @@global.old_mode = 2;
+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
+SET @@global.old_mode = 0.4;
+ERROR 42000: Incorrect argument type to variable 'old_mode'
+'#---------------------FN_DYNVARS_152_08----------------------#'
+SET @@global.old_mode = TRUE;
+SELECT @@global.old_mode;
+@@global.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE
+SET @@global.old_mode = FALSE;
+SELECT @@global.old_mode;
+@@global.old_mode
+
+'#---------------------FN_DYNVARS_152_09----------------------#'
+SET old_mode = 'NO_PROGRESS_INFO';
+SET session.old_mode = 'ANSI';
+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 'old_mode = 'ANSI'' at line 1
+SET global.old_mode = 'ANSI';
+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 'old_mode = 'ANSI'' at line 1
+SET session old_mode = 1;
+SELECT @@old_mode;
+@@old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE
+SET global old_mode = 0;
+SELECT @@global.old_mode;
+@@global.old_mode
+
+'#---------------------FN_DYNVARS_152_10----------------------#'
+SET @@session.old_mode = 'NO_PROGRESS_INFO,NO_DUP_KEY_WARNINGS_WITH_IGNORE';
+SELECT @@session.old_mode;
+@@session.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE,NO_PROGRESS_INFO
+SET @@global.old_mode = 'NO_DUP_KEY_WARNINGS_WITH_IGNORE,NO_PROGRESS_INFO';
+SELECT @@global.old_mode;
+@@global.old_mode
+NO_DUP_KEY_WARNINGS_WITH_IGNORE,NO_PROGRESS_INFO
+SET @@session.old_mode = 'NO_PROGRESS_INFO,NO_SUCH_MODE';
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'NO_SUCH_MODE'
+SET @@old_mode=',';
+SELECT @@old_mode;
+@@old_mode
+
+SET @@old_mode=',,,,NO_PROGRESS_INFO,,,';
+SELECT @@old_mode;
+@@old_mode
+NO_PROGRESS_INFO
+SET @@old_mode=',,,,FOOBAR,,,,,';
+ERROR 42000: Variable 'old_mode' can't be set to the value of 'FOOBAR'
+SELECT @@old_mode;
+@@old_mode
+NO_PROGRESS_INFO
+SET @@global.old_mode = @global_start_value;
+SELECT @@global.old_mode;
+@@global.old_mode
+
+SET @@session.old_mode = @session_start_value;
+SELECT @@session.old_mode;
+@@session.old_mode
+
diff --git a/mysql-test/suite/sys_vars/t/identity_func.test b/mysql-test/suite/sys_vars/t/identity_func.test
index 6f7b6bac18e..ff93607a2cd 100644
--- a/mysql-test/suite/sys_vars/t/identity_func.test
+++ b/mysql-test/suite/sys_vars/t/identity_func.test
@@ -1,9 +1,3 @@
---source include/not_windows_embedded.inc
-# remove this when
-# Bug#53947 InnoDB: Assertion failure in thread 4224 in file
-# .\sync\sync0sync.c line 324
-# is fixed
-
#################### mysql-test\t\identity_func.test ##########################
# #
# Variable Name: identity #
diff --git a/mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_func.test b/mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_func.test
index 082507efd07..89c1c80a6dc 100644
--- a/mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_func.test
+++ b/mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_func.test
@@ -1,9 +1,3 @@
---source include/not_windows_embedded.inc
-# remove this when
-# Bug#53947 InnoDB: Assertion failure in thread 4224 in file
-# .\sync\sync0sync.c line 324
-# is fixed
-
################# mysql-test\t\innodb_autoinc_lock_mode_func.test ############
# #
# Variable Name: innodb_autoinc_lock_mode #
diff --git a/mysql-test/suite/sys_vars/t/last_insert_id_func.test b/mysql-test/suite/sys_vars/t/last_insert_id_func.test
index bb3adbc1c64..2309c539bd9 100644
--- a/mysql-test/suite/sys_vars/t/last_insert_id_func.test
+++ b/mysql-test/suite/sys_vars/t/last_insert_id_func.test
@@ -1,9 +1,3 @@
---source include/not_windows_embedded.inc
-# remove this when
-# Bug#53947 InnoDB: Assertion failure in thread 4224 in file
-# .\sync\sync0sync.c line 324
-# is fixed
-
################# mysql-test\t\last_insert_id_func.test #######################
# #
# Variable Name: last_insert_id #
diff --git a/mysql-test/suite/sys_vars/t/old_mode_basic.test b/mysql-test/suite/sys_vars/t/old_mode_basic.test
new file mode 100644
index 00000000000..6770219887d
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/old_mode_basic.test
@@ -0,0 +1,244 @@
+#################### mysql-test\t\sql_mode_basic.test #########################
+# #
+# Variable Name: old_mode #
+# Scope: GLOBAL | SESSION #
+# Access Type: Dynamic #
+# Data Type: enumeration #
+# Default Value: YES #
+# Valid Values : NO_DUP_KEY_WARNINGS_WITH_IGNORE, NO_PROGRESS_INFO #
+# #
+# #
+# Description: Test Cases of Dynamic System Variable old_mode #
+# that checks the behavior of this variable in the following ways#
+# * Default Value #
+# * Valid & Invalid values #
+# * Scope & Access method #
+# * Data Integrity #
+# #
+# #
+###############################################################################
+
+--source include/load_sysvars.inc
+
+################################################################
+# START OF sql_mode TESTS #
+################################################################
+
+
+###################################################################
+# Saving initial value of sql_mode in a temporary variable #
+###################################################################
+
+SET @global_start_value = @@global.old_mode;
+SELECT @global_start_value;
+
+SET @session_start_value = @@session.old_mode;
+SELECT @session_start_value;
+
+--echo '#--------------------FN_DYNVARS_152_01------------------------#'
+################################################################
+# Display the DEFAULT value of old_mode #
+################################################################
+
+SET @@global.old_mode = "NO_PROGRESS_INFO";
+SET @@global.old_mode = DEFAULT;
+SELECT @@global.old_mode;
+
+SET @@session.old_mode = "NO_PROGRESS_INFO";
+SET @@session.old_mode = DEFAULT;
+SELECT @@session.old_mode;
+
+--echo '#---------------------FN_DYNVARS_152_02-------------------------#'
+#########################################################
+# Check if NULL or empty value is accepeted #
+#########################################################
+
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = NULL;
+
+# resets sql mode to nothing
+SET @@global.old_mode = '';
+SELECT @@global.old_mode;
+
+SET @@global.old_mode = ' ';
+SELECT @@global.old_mode;
+
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = NULL;
+
+SET @@session.old_mode = '';
+SELECT @@session.old_mode;
+
+SET @@session.old_mode = ' ';
+SELECT @@session.old_mode;
+
+
+--echo '#--------------------FN_DYNVARS_152_03------------------------#'
+########################################################################
+# Change the value of old_mode to a valid value #
+########################################################################
+
+# sql modes ref: http://dev.mysql.com/doc/refman/5.1/en/server-sql-mode.html
+
+# check valid values for global
+
+SET @@global.old_mode = NO_PROGRESS_INFO;
+SELECT @@global.old_mode;
+SET @@global.old_mode = NO_DUP_KEY_WARNINGS_WITH_IGNORE;
+SELECT @@global.old_mode;
+
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = OFF;
+
+#check valid values for session
+SET @@session.old_mode = NO_PROGRESS_INFO;
+SELECT @@session.old_mode;
+SET @@session.old_mode = NO_DUP_KEY_WARNINGS_WITH_IGNORE;
+SELECT @@session.old_mode;
+
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = OFF;
+
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = '?';
+SELECT @@global.old_mode;
+
+--echo '#--------------------FN_DYNVARS_152_04-------------------------#'
+###########################################################################
+# Change the value of old_mode to invalid value #
+###########################################################################
+
+# invalid values for global
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = -1;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = ASCII;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = NON_TRADITIONAL;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = 'OF';
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@global.old_mode = NONE;
+
+#invalid values for session
+
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = -1;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = ANSI_SINGLE_QUOTES;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = 'ON';
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = 'OF';
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = DISABLE;
+
+
+--echo '#-------------------FN_DYNVARS_152_05----------------------------#'
+#########################################################################
+# Check if the value in session Table matches value in variable #
+#########################################################################
+
+SELECT @@session.old_mode = VARIABLE_VALUE
+FROM INFORMATION_SCHEMA.SESSION_VARIABLES
+WHERE VARIABLE_NAME='old_mode';
+
+--echo '#----------------------FN_DYNVARS_152_06------------------------#'
+#########################################################################
+# Check if the value in GLOBAL Table matches value in variable #
+#########################################################################
+
+SELECT @@global.old_mode = VARIABLE_VALUE
+FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME='old_mode';
+
+
+--echo '#---------------------FN_DYNVARS_152_07-------------------------#'
+###################################################################
+# Check if numbers can be used on variable #
+###################################################################
+
+# test if variable accepts 0,1,2
+SET @@global.old_mode = 0;
+SELECT @@global.old_mode;
+
+SET @@global.old_mode = 1;
+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;
+
+# use of decimal values
+
+--Error ER_WRONG_TYPE_FOR_VAR
+SET @@global.old_mode = 0.4;
+
+--echo '#---------------------FN_DYNVARS_152_08----------------------#'
+###################################################################
+# Check if TRUE and FALSE values can be used on variable #
+###################################################################
+
+SET @@global.old_mode = TRUE;
+SELECT @@global.old_mode;
+SET @@global.old_mode = FALSE;
+SELECT @@global.old_mode;
+
+--echo '#---------------------FN_DYNVARS_152_09----------------------#'
+#########################################################################
+# Check if old_mode can be accessed with and without @@ sign #
+#########################################################################
+
+SET old_mode = 'NO_PROGRESS_INFO';
+
+--Error ER_PARSE_ERROR
+SET session.old_mode = 'ANSI';
+--Error ER_PARSE_ERROR
+SET global.old_mode = 'ANSI';
+
+SET session old_mode = 1;
+SELECT @@old_mode;
+
+SET global old_mode = 0;
+SELECT @@global.old_mode;
+
+--echo '#---------------------FN_DYNVARS_152_10----------------------#'
+#######################################################################
+# Check if old_mode values can be combined as specified #
+#######################################################################
+
+SET @@session.old_mode = 'NO_PROGRESS_INFO,NO_DUP_KEY_WARNINGS_WITH_IGNORE';
+SELECT @@session.old_mode;
+
+SET @@global.old_mode = 'NO_DUP_KEY_WARNINGS_WITH_IGNORE,NO_PROGRESS_INFO';
+SELECT @@global.old_mode;
+
+#try combining invalid mode with correct mode
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@session.old_mode = 'NO_PROGRESS_INFO,NO_SUCH_MODE';
+
+#zero-length values are ok
+SET @@old_mode=',';
+SELECT @@old_mode;
+SET @@old_mode=',,,,NO_PROGRESS_INFO,,,';
+SELECT @@old_mode;
+--Error ER_WRONG_VALUE_FOR_VAR
+SET @@old_mode=',,,,FOOBAR,,,,,';
+SELECT @@old_mode;
+
+##############################
+# Restore initial value #
+##############################
+
+SET @@global.old_mode = @global_start_value;
+SELECT @@global.old_mode;
+
+SET @@session.old_mode = @session_start_value;
+SELECT @@session.old_mode;
+
+################################################################
+# END OF old_mode TESTS #
+################################################################
diff --git a/mysql-test/suite/sys_vars/t/storage_engine_basic.test b/mysql-test/suite/sys_vars/t/storage_engine_basic.test
index 2d1e94e6620..964166daae7 100644
--- a/mysql-test/suite/sys_vars/t/storage_engine_basic.test
+++ b/mysql-test/suite/sys_vars/t/storage_engine_basic.test
@@ -1,9 +1,3 @@
---source include/not_windows_embedded.inc
-# remove this when
-# Bug#53947 InnoDB: Assertion failure in thread 4224 in file
-# .\sync\sync0sync.c line 324
-# is fixed
-
############## mysql-test\t\storage_engine_basic.test ##################
# #
# #
diff --git a/mysql-test/suite/sys_vars/t/tx_isolation_func.test b/mysql-test/suite/sys_vars/t/tx_isolation_func.test
index 3a78d46e527..7072de6b086 100644
--- a/mysql-test/suite/sys_vars/t/tx_isolation_func.test
+++ b/mysql-test/suite/sys_vars/t/tx_isolation_func.test
@@ -1,9 +1,3 @@
---source include/not_windows_embedded.inc
-# remove this when
-# Bug#53947 InnoDB: Assertion failure in thread 4224 in file
-# .\sync\sync0sync.c line 324
-# is fixed
-
############# mysql-test\t\tx_isolation_func.test #######################################
# #
# Variable Name: tx_isolation #
diff --git a/mysql-test/t/alter_table_trans.test b/mysql-test/t/alter_table_trans.test
index 9096a392af4..29b9b4c212f 100644
--- a/mysql-test/t/alter_table_trans.test
+++ b/mysql-test/t/alter_table_trans.test
@@ -13,3 +13,23 @@ drop table if exists t1,t2;
CREATE TABLE t1 (a INT, INDEX(a)) engine=innodb;
ALTER TABLE t1 RENAME TO t2, DISABLE KEYS;
DROP TABLE t2;
+
+#
+# MDEV-5406 add index to an innodb table with a uniqueness violation crashes mysqld
+#
+
+CREATE TABLE t1 (
+ col4 text NOT NULL,
+ col2 int(11) NOT NULL DEFAULT '0',
+ col3 int(11) DEFAULT NULL,
+ extra int(11) DEFAULT NULL,
+ KEY idx (col4(10))
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+
+insert t1 values (repeat('1', 8193),3,1,1);
+insert t1 values (repeat('3', 8193),3,1,1);
+--error ER_DUP_ENTRY
+ALTER TABLE t1 ADD PRIMARY KEY (col4(10)) , ADD UNIQUE KEY uidx (col3);
+DROP TABLE t1;
+
+
diff --git a/mysql-test/t/assign_key_cache-5405.test b/mysql-test/t/assign_key_cache-5405.test
new file mode 100644
index 00000000000..2839e040bd3
--- /dev/null
+++ b/mysql-test/t/assign_key_cache-5405.test
@@ -0,0 +1,27 @@
+#
+# MDEV-5405 RQG induced crash in mi_assign_to_key_cache in safe mutex unlock
+#
+--source include/have_debug_sync.inc
+create table t1 (f int, key(f)) engine=myisam;
+set global kc1.key_buffer_size = 65536;
+
+connect (con1, localhost, root);
+
+set debug_sync='assign_key_cache_op_unlock wait_for op_locked';
+send cache index t1 in kc1;
+
+connection default;
+sleep 1;
+set debug_sync='assign_key_cache_op_lock signal op_locked wait_for assigned';
+send cache index t1 in kc1;
+
+connection con1;
+reap;
+set debug_sync='now signal assigned';
+disconnect con1;
+connection default;
+reap;
+
+drop table t1;
+set global kc1.key_buffer_size = 0;
+set debug_sync='reset';
diff --git a/mysql-test/t/bad_frm_crash_5029.test b/mysql-test/t/bad_frm_crash_5029.test
index 858922886ab..dadfc86e28e 100644
--- a/mysql-test/t/bad_frm_crash_5029.test
+++ b/mysql-test/t/bad_frm_crash_5029.test
@@ -18,3 +18,6 @@ copy_file std_data/mdev5029_2.MAI $datadir/test/t1.MAI;
copy_file std_data/mdev5029_2.MAD $datadir/test/t1.MAD;
show create table t1;
drop table t1;
+remove_file $datadir/test/t1.MAI;
+remove_file $datadir/test/t1.MAD;
+
diff --git a/mysql-test/t/date_formats.test b/mysql-test/t/date_formats.test
index 7e6990f4754..972543aefc2 100644
--- a/mysql-test/t/date_formats.test
+++ b/mysql-test/t/date_formats.test
@@ -32,6 +32,8 @@ ORDER BY variable_name;
# SET date_format='%d.%m.%Y';
# SET date_format='%m-%d-%Y';
#
+# --error ER_WRONG_VALUE_FOR_VAR
+# SET datetime_format= NULL;
# set datetime_format= '%Y%m%d%H%i%s';
# set datetime_format= '%Y-%m-%d %H:%i:%s';
# set datetime_format= '%m-%d-%y %H:%i:%s.%f';
diff --git a/mysql-test/t/derived.test b/mysql-test/t/derived.test
index a67a0e6c9d0..4b1d7604b9d 100644
--- a/mysql-test/t/derived.test
+++ b/mysql-test/t/derived.test
@@ -383,6 +383,45 @@ set
drop table t1, t2;
+--echo #
+--echo # MDEV-5353: server crash on subselect if WHERE applied to some
+--echo # result field
+--echo #
+
+SELECT * FROM
+( SELECT 100 a, subsel.b FROM ( SELECT 200 b ) subsel ) tmp
+WHERE tmp.b;
+SELECT * FROM
+( SELECT 100 a, subsel.b FROM ( SELECT 200 b ) subsel ) tmp
+WHERE tmp.a;
+
+--echo #
+--echo # MDEV-5356: Server crashes in Item_equal::contains on 2nd
+--echo # execution of a PS
+--echo #
+CREATE TABLE t1 (a INT, b INT);
+INSERT INTO t1 VALUES (1,2),(3,4);
+
+CREATE TABLE t2 (c INT);
+INSERT INTO t2 VALUES (5),(6);
+
+CREATE TABLE t3 (d INT);
+INSERT INTO t3 VALUES (7),(8);
+
+CREATE PROCEDURE pr()
+ UPDATE t3,
+ (SELECT c FROM
+ (SELECT 1 FROM t1 WHERE a=72 AND NOT b) sq,
+ t2
+ ) sq2
+ SET d=sq2.c;
+
+CALL pr();
+CALL pr();
+CALL pr();
+
+drop procedure pr;
+drop table t1,t2,t3;
--echo # End of 5.3 tests
diff --git a/mysql-test/t/derived_view.test b/mysql-test/t/derived_view.test
index 3da58d8ae23..61e11cebad4 100644
--- a/mysql-test/t/derived_view.test
+++ b/mysql-test/t/derived_view.test
@@ -1591,6 +1591,118 @@ EXPLAIN EXTENDED SELECT a FROM v1 WHERE a > 100 ORDER BY b;
DROP VIEW v1;
DROP TABLE t1;
+#
+# MDEV-5414: RAND() in a subselect : different behavior in MariaDB and MySQL
+#
+CREATE TABLE IF NOT EXISTS `galleries` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(100) NOT NULL,
+ `year` int(11) DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+CREATE TABLE IF NOT EXISTS `pictures` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(100) NOT NULL,
+ `width` float DEFAULT NULL,
+ `height` float DEFAULT NULL,
+ `year` int(4) DEFAULT NULL,
+ `technique` varchar(50) DEFAULT NULL,
+ `comment` varchar(2000) DEFAULT NULL,
+ `gallery_id` int(11) NOT NULL,
+ `type` int(11) NOT NULL,
+ PRIMARY KEY (`id`),
+ KEY `gallery_id` (`gallery_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
+
+ALTER TABLE `pictures`
+ ADD CONSTRAINT `pictures_ibfk_1` FOREIGN KEY (`gallery_id`) REFERENCES `galleries` (`id`);
+
+INSERT INTO `galleries` (`id`, `name`, `year`) VALUES
+(1, 'Quand le noir et blanc invite le taupe', 2013),
+(2, 'Une touche de couleur', 2012),
+(3, 'Éclats', 2011),
+(4, 'Gris béton', 2010),
+(5, 'Expression du spalter', 2010),
+(6, 'Zénitude', 2009),
+(7, 'La force du rouge', 2008),
+(8, 'Sphères', NULL),
+(9, 'Centre', 2009),
+(10, 'Nébuleuse', NULL);
+
+INSERT INTO `pictures` (`id`, `name`, `width`, `height`, `year`, `technique`, `comment`, `gallery_id`, `type`) VALUES
+(1, 'Éclaircie', 72.5, 100, NULL, NULL, NULL, 1, 1),
+(2, 'Architecture', 81, 100, NULL, NULL, NULL, 1, 1),
+(3, 'Nouveau souffle', 72.5, 100, NULL, NULL, NULL, 1, 1),
+(4, 'Échanges (2)', 89, 116, NULL, NULL, NULL, 1, 1),
+(5, 'Échanges', 89, 116, NULL, NULL, NULL, 1, 1),
+(6, 'Fenêtre de vie', 81, 116, NULL, NULL, NULL, 1, 1),
+(7, 'Architecture', 81, 100, NULL, NULL, NULL, 1, 1),
+(8, 'Nouveau souffle (2)', 72.5, 100, NULL, NULL, NULL, 1, 1),
+(9, 'Fluidité', 89, 116, NULL, NULL, NULL, 1, 1),
+(10, 'Nouveau Monde', 89, 125, NULL, NULL, NULL, 1, 1),
+(11, 'Mirage', 73, 100, NULL, NULL, NULL, 1, 1),
+(12, 'Équilibre', 72.5, 116, NULL, NULL, NULL, 2, 1),
+(13, 'Fusion', 72.5, 116, NULL, NULL, NULL, 2, 1),
+(14, 'Étincelles', NULL, NULL, NULL, NULL, NULL, 3, 1),
+(15, 'Régénérescence', NULL, NULL, NULL, NULL, NULL, 3, 1),
+(16, 'Chaleur', 80, 80, NULL, NULL, NULL, 4, 1),
+(17, 'Création', 90, 90, NULL, NULL, NULL, 4, 1),
+(18, 'Horizon', 92, 73, NULL, NULL, NULL, 4, 1),
+(19, 'Labyrinthe', 81, 100, NULL, NULL, NULL, 4, 1),
+(20, 'Miroir', 80, 116, NULL, NULL, NULL, 5, 1),
+(21, 'Libération', 81, 116, NULL, NULL, NULL, 5, 1),
+(22, 'Éclats', 81, 116, NULL, NULL, NULL, 5, 1),
+(23, 'Zénitude', 116, 89, NULL, NULL, NULL, 6, 1),
+(24, 'Écritures lointaines', 90, 90, NULL, NULL, NULL, 7, 1),
+(25, 'Émergence', 80, 80, NULL, NULL, NULL, 7, 1),
+(26, 'Liberté', 50, 50, NULL, NULL, NULL, 7, 1),
+(27, 'Silhouettes amérindiennes', 701, 70, NULL, NULL, NULL, 7, 1),
+(28, 'Puissance', 81, 100, NULL, NULL, NULL, 8, 1),
+(29, 'Source', 73, 116, NULL, NULL, NULL, 8, 1),
+(30, 'Comme une ville qui prend vie', 50, 100, 2008, NULL, NULL, 9, 1),
+(31, 'Suspension azur', 80, 80, NULL, NULL, NULL, 9, 1),
+(32, 'Nébuleuse', 70, 70, NULL, NULL, NULL, 10, 1),
+(33, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(34, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(35, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(36, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(37, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2),
+(38, 'Œuvre commandée 120 P', 114, 195, NULL, NULL, NULL, 1, 2);
+
+# Now we only lest explain to be sure that table materialized. If
+# in the future merged derived table will be processed in a way that
+# rand() can be called only once then other way of testing correctness
+# of this query should be put here.
+explain
+SELECT g.id AS gallery_id,
+ g.name AS gallery_name,
+ p.id AS picture_id,
+ p.name AS picture_name,
+ g.p_random AS r1,
+ g.p_random AS r2,
+ g.p_random AS r3
+FROM
+(
+ SELECT gal.id,
+ gal.name,
+ (
+ SELECT pi.id
+ FROM pictures pi
+ WHERE pi.gallery_id = gal.id
+ ORDER BY RAND()
+ LIMIT 1
+ ) AS p_random
+ FROM galleries gal
+) g
+LEFT JOIN pictures p
+ ON p.id = g.p_random
+ORDER BY gallery_name ASC
+;
+
+drop table galleries, pictures;
+
--echo #
--echo # end of 5.3 tests
--echo #
diff --git a/mysql-test/t/func_equal.test b/mysql-test/t/func_equal.test
index 990b6d8e74e..f17ebb5bd84 100644
--- a/mysql-test/t/func_equal.test
+++ b/mysql-test/t/func_equal.test
@@ -44,53 +44,3 @@ select * from t1 where a in ('4828532208463511553');
drop table t1;
--echo #End of 4.1 tests
-
---echo #
---echo # MDEV-5103: server crashed on singular Item_equal
---echo #
-
-CREATE TABLE `t1` (
- `tipo` enum('p','r') NOT NULL DEFAULT 'r',
- `arquivo_id` bigint(20) unsigned NOT NULL DEFAULT '0',
- `arquivo_md5` char(32) NOT NULL,
- `conteudo` longblob NOT NULL,
- `usuario` varchar(15) NOT NULL,
- `datahora_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `tipo_arquivo` varchar(255) NOT NULL,
- `nome_arquivo` varchar(255) NOT NULL,
- `tamanho_arquivo` bigint(20) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`tipo`,`arquivo_id`),
- UNIQUE KEY `tipo` (`tipo`,`arquivo_md5`)
-) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1;
-
-INSERT INTO `t1` (`tipo`, `arquivo_id`, `arquivo_md5`, `conteudo`, `usuario`, `datahora_gmt`, `tipo_arquivo`, `nome_arquivo`, `tamanho_arquivo`) VALUES
- ('r', 1, 'ad18832202b199728921807033a8a515', '', 'rspadim', '2013-10-05 13:55:50', '001_cbr643', 'CBR6431677410201314132.ret', 21306);
-
-
-CREATE TABLE `t2` (
- `tipo` enum('p','r') NOT NULL DEFAULT 'p',
- `arquivo_id` bigint(20) NOT NULL DEFAULT '0',
- `usuario` varchar(25) NOT NULL,
- `datahora` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `erros` longblob NOT NULL,
- `importados` bigint(20) unsigned NOT NULL DEFAULT '0',
- `n_importados` bigint(20) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`tipo`,`arquivo_id`,`datahora`)
-) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1;
-
-INSERT INTO `t2` (`tipo`, `arquivo_id`, `usuario`, `datahora`, `erros`, `importados`, `n_importados`) VALUES
- ('r', 1, 'rspadim', '2013-10-05 14:25:30', '', 32, 0);
-
-SELECT
-arquivo_id,usuario,datahora_gmt,tipo_arquivo,nome_arquivo,tamanho_arquivo
- FROM t1 AS a
- WHERE datahora_gmt>='0000-00-00 00:00:00' AND
- datahora_gmt<='2013-10-07 02:59:59' AND tipo='r' AND
- (tipo_arquivo,arquivo_id) NOT IN
- (SELECT tipo_arquivo,arquivo_id
- FROM t2
- WHERE (tipo_arquivo,arquivo_id)=(a.tipo_arquivo,a.arquivo_id))
- ORDER BY arquivo_id DESC;
-
-drop table t2, t1;
---echo #End of 5.3 tests
diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test
index c17edbf676c..7ac5220a190 100644
--- a/mysql-test/t/func_time.test
+++ b/mysql-test/t/func_time.test
@@ -1435,3 +1435,35 @@ DROP TABLE t1;
--echo #
SELECT MAKETIME(0, 0, -0.1);
+--echo #
+--echo # MDEV-4857 Wrong result of HOUR('1 00:00:00')
+--echo #
+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'));
+SELECT DAY(TIME('1 02:00:00')), DAY(TIME('26:00:00'));
+
+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'));
+
+--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.'
+--echo #
+SET TIMESTAMP=UNIX_TIMESTAMP('2014-01-22 18:19:20');
+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;
+SELECT GREATEST(t, CURRENT_DATE()) FROM t1;
+DROP TABLE t1;
+SET TIMESTAMP=DEFAULT;
+
+
+--echo #
+--echo # MDEV-5504 Server crashes in String::length on SELECT with MONTHNAME, GROUP BY, ROLLUP
+--echo #
+CREATE TABLE t1 (i INT);
+INSERT INTO t1 VALUES (1),(2);
+SELECT 1 FROM t1 GROUP BY MONTHNAME(0) WITH ROLLUP;
+DROP TABLE t1;
diff --git a/mysql-test/t/group_by.test b/mysql-test/t/group_by.test
index 1ef514d591d..c6d594edc1f 100644
--- a/mysql-test/t/group_by.test
+++ b/mysql-test/t/group_by.test
@@ -1,5 +1,3 @@
---source include/have_innodb.inc
-
# Initialise
--disable_warnings
drop table if exists t1,t2,t3;
@@ -1336,7 +1334,7 @@ INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),
(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);
let $query0=SELECT col1 AS field1, col1 AS field2
- FROM t1 GROUP BY field1, field2;
+ FROM t1 GROUP BY field1, field2+0;
# Needs to be range to exercise bug
--eval EXPLAIN $query0;
@@ -1366,7 +1364,9 @@ LIMIT 3;
explain
select col1 f1, col1 f2 from t1 order by f2, f1;
-select col1 f1, col1 f2 from t1 order by f2, f1;
+explain
+select col1 f1, col1 f2 from t1 order by f2, f1+0;
+select col1 f1, col1 f2 from t1 order by f2, f1+0;
explain
select col1 f1, col1 f2 from t1 group by f2 order by f2, f1;
@@ -1386,12 +1386,12 @@ INSERT INTO t2(col1, col2) VALUES
(11,10),(12,9),(13,8),(14,7),(15,6),(16,5),(17,4),(18,3),(19,2),(20,1);
explain
-select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3;
-select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3;
+select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3+0;
+select col1 f1, col2 f2, col1 f3 from t2 group by f1, f2, f3+0;
explain
-select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3;
-select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3;
+select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3+0;
+select col1 f1, col2 f2, col1 f3 from t2 order by f1, f2, f3+0;
DROP VIEW v1;
DROP TABLE t1, t2;
@@ -1643,26 +1643,3 @@ FROM t1 JOIN t2 ON c = b GROUP BY b WITH ROLLUP;
DROP TABLE t1,t2;
---echo #
---echo # Test of MDEV-4002
---echo #
-
-CREATE TABLE t1 (
- pk INT NOT NULL PRIMARY KEY,
- d1 DOUBLE,
- d2 DOUBLE,
- i INT NOT NULL DEFAULT '0',
- KEY (i)
-) ENGINE=InnoDB;
-
-INSERT INTO t1 VALUES (1,1.0,1.1,1),(2,2.0,2.2,2);
-
-PREPARE stmt FROM "
-SELECT DISTINCT i, GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
-FROM t1 a1 NATURAL JOIN t1 a2 GROUP BY i WITH ROLLUP
-";
-
-EXECUTE stmt;
-EXECUTE stmt;
-
-DROP TABLE t1;
diff --git a/mysql-test/t/group_by_innodb.test b/mysql-test/t/group_by_innodb.test
index 0d5e5e9ae30..df213cc189f 100644
--- a/mysql-test/t/group_by_innodb.test
+++ b/mysql-test/t/group_by_innodb.test
@@ -4,6 +4,8 @@
--source include/have_innodb.inc
+set @save_ext_key_optimizer_switch=@@optimizer_switch;
+
--echo #
--echo # MDEV-3992 Server crash or valgrind errors in test_if_skip_sort_order/test_if_cheaper_ordering
--echo # on GROUP BY with indexes on InnoDB table
@@ -15,6 +17,8 @@ CREATE TABLE t1 (
KEY (pk)
) ENGINE=InnoDB;
+set optimizer_switch='extended_keys=on';
+
INSERT INTO t1 VALUES (1,'a'),(2,'b');
EXPLAIN
@@ -35,4 +39,31 @@ WHERE a = 'r' OR pk = 183 GROUP BY field1, field1;
drop table t1;
+set optimizer_switch=@save_ext_key_optimizer_switch;
+
+--echo #
+--echo # MDEV-4002 Server crash or valgrind errors in Item_func_group_concat::setup and Item_func_group_concat::add
+--echo #
+
+CREATE TABLE t1 (
+ pk INT NOT NULL PRIMARY KEY,
+ d1 DOUBLE,
+ d2 DOUBLE,
+ i INT NOT NULL DEFAULT '0',
+ KEY (i)
+) ENGINE=InnoDB;
+
+INSERT INTO t1 VALUES (1,1.0,1.1,1),(2,2.0,2.2,2);
+
+PREPARE stmt FROM "
+SELECT DISTINCT i, GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
+FROM t1 a1 NATURAL JOIN t1 a2 GROUP BY i WITH ROLLUP
+";
+
+EXECUTE stmt;
+EXECUTE stmt;
+
+DROP TABLE t1;
+
--echo End of 5.5 tests
+
diff --git a/mysql-test/t/group_by_null.test b/mysql-test/t/group_by_null.test
new file mode 100644
index 00000000000..b3fa2a003ec
--- /dev/null
+++ b/mysql-test/t/group_by_null.test
@@ -0,0 +1,7 @@
+#
+# MDEV-5461 Assertion `length <= column->length' fails in write_block_record with functions in select list, GROUP BY, ORDER BY
+#
+create table t1 (a int);
+insert into t1 values (1),(2);
+select max('foo') from t1 group by values(a), extractvalue('bar','qux') order by "v";
+drop table t1;
diff --git a/mysql-test/t/innodb_ext_key.test b/mysql-test/t/innodb_ext_key.test
index 36414105917..6d1890ac1f9 100644
--- a/mysql-test/t/innodb_ext_key.test
+++ b/mysql-test/t/innodb_ext_key.test
@@ -662,6 +662,34 @@ ORDER BY rev_timestamp ASC LIMIT 10;
DROP TABLE t1,t2,t3;
+--echo #
+--echo # MDEV-5424 SELECT using ORDER BY DESC and LIMIT produces unexpected
+--echo # results (InnoDB/XtraDB)
+--echo #
+
+create table t1 (a bigint not null unique auto_increment, b varchar(10), primary key (a), key (b(2))) engine = myisam default character set utf8;
+create table t2 (a bigint not null unique auto_increment, b varchar(10), primary key (a), key (b(2))) engine = innodb default character set utf8;
+
+insert into t1 (b) values (null), (null), (null);
+insert into t2 (b) values (null), (null), (null);
+
+set optimizer_switch='extended_keys=on';
+explain select a from t1 where b is null order by a desc limit 2;
+select a from t1 where b is null order by a desc limit 2;
+explain select a from t2 where b is null order by a desc limit 2;
+select a from t2 where b is null order by a desc limit 2;
+set optimizer_switch='extended_keys=off';
+explain select a from t2 where b is null order by a desc limit 2;
+select a from t2 where b is null order by a desc limit 2;
+
+explain select a from t2 where b is null order by a desc;
+select a from t2 where b is null order by a desc;
+
+explain select a from t2 where b is null order by a desc,a,a;
+select a from t2 where b is null order by a desc,a,a;
+
+drop table t1, t2;
+
set optimizer_switch=@save_optimizer_switch;
set optimizer_switch=@save_ext_key_optimizer_switch;
diff --git a/mysql-test/t/innodb_icp.test b/mysql-test/t/innodb_icp.test
index d6caa36a88e..acb8238e01f 100644
--- a/mysql-test/t/innodb_icp.test
+++ b/mysql-test/t/innodb_icp.test
@@ -45,6 +45,34 @@ ORDER BY e;
DROP TABLE t1,t2,t3;
+--echo #
+--echo # MDEV-5337: Wrong result in mariadb 5.5.32 with ORDER BY + LIMIT when index_condition_pushdown=on
+--echo # MDEV-5512: Wrong result (WHERE clause ignored) with multiple clauses using Percona-XtraDB engine
+--echo #
+
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+create table t2 (pk int primary key,
+ key1 char(32),
+ key2 char(32),
+ key(key1),
+ key(key2)
+) engine=innodb;
+
+insert into t2 select
+ A.a+10*B.a+100*C.a,
+ concat('rare-', A.a+10*B.a),
+ concat('rare-', A.a+10*B.a)
+from
+ t1 A, t1 B, t1 C;
+update t2 set key1='frequent-val' where pk between 100 and 350;
+select * from t2 ignore key(PRIMARY)
+where key1='frequent-val' and key2 between 'rare-400' and 'rare-450' order by pk limit 2;
+
+drop table t1, t2;
+
+
set optimizer_switch=@innodb_icp_tmp;
set storage_engine= @save_storage_engine;
diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test
index f9b9fcf266d..ff8396fd7fd 100644
--- a/mysql-test/t/insert.test
+++ b/mysql-test/t/insert.test
@@ -555,3 +555,21 @@ INSERT IGNORE t1 (a, a) SELECT 1,1;
INSERT IGNORE t1 (a, a) SELECT 1,1 UNION SELECT 2,2;
DROP TABLE t1;
+
+--echo #
+--echo # MDEV-5168: Ensure that we can disable duplicate key warnings
+--echo # from INSERT IGNORE
+--echo #
+
+create table t1 (f1 int unique, f2 int unique);
+insert into t1 values (1,12);
+insert into t1 values (2,13);
+--error ER_DUP_ENTRY
+insert into t1 values (1,12);
+insert ignore into t1 values (1,12);
+set @@old_mode="NO_DUP_KEY_WARNINGS_WITH_IGNORE";
+insert ignore into t1 values (1,12);
+insert ignore into t1 values (1,12) on duplicate key update f2=13;
+set @@old_mode="";
+insert ignore into t1 values (1,12);
+DROP TABLE t1;
diff --git a/mysql-test/t/join_cache.test b/mysql-test/t/join_cache.test
index 2d06c3e2a30..585ef677492 100644
--- a/mysql-test/t/join_cache.test
+++ b/mysql-test/t/join_cache.test
@@ -3635,6 +3635,26 @@ set join_buffer_size=default;
set optimizer_switch=@tmp_optimizer_switch;
DROP table t1,t2,t3;
+set join_buffer_size= default;
+set @@optimizer_switch=@save_optimizer_switch;
+
+
+--echo #
+--echo # MDEV-5293: outer join, join buffering, and order by - invalid query plan
+--echo #
+create table t0 (a int primary key) engine=myisam;
+insert into t0 values (1);
+
+create table t1(a int) engine=myisam;
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+alter table t1 add b int;
+
+create table t2 like t1;
+insert into t2 select * from t1;
+--echo #The following must use "Using temporary; Using filesort" and not just "Using filesort":
+explain select * from t0,t1 left join t2 on t1.b=t2.b order by t0.a, t1.a;
+
+drop table t0,t1,t2;
# this must be the last command in the file
set @@optimizer_switch=@save_optimizer_switch;
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test
index 7e198275730..6573c2b09c0 100644
--- a/mysql-test/t/merge.test
+++ b/mysql-test/t/merge.test
@@ -1830,6 +1830,15 @@ REPAIR TABLE m1;
#
DROP TABLE m1, t1;
+#
+# MDEV-5266 MySQL:57657 - Temporary MERGE table with temporary underlying is broken by ALTER
+#
+create temporary table t1_temp(i int);
+create temporary table tm_temp_temp (i int) engine=merge union=(t1_temp) insert_method=last;
+alter table tm_temp_temp insert_method=first;
+check table tm_temp_temp;
+drop temporary table t1_temp, tm_temp_temp;
+
--echo End of 5.1 tests
--echo #
diff --git a/mysql-test/t/myisam_optimize.test b/mysql-test/t/myisam_optimize.test
index da47a7a4127..3788534e2a5 100644
--- a/mysql-test/t/myisam_optimize.test
+++ b/mysql-test/t/myisam_optimize.test
@@ -44,4 +44,5 @@ disconnect con2;
connection default;
drop table t1;
+set debug_sync='reset';
diff --git a/mysql-test/t/mysql_tzinfo_to_sql_symlink.test b/mysql-test/t/mysql_tzinfo_to_sql_symlink.test
index d29d40f5679..1ba4e91be3c 100644
--- a/mysql-test/t/mysql_tzinfo_to_sql_symlink.test
+++ b/mysql-test/t/mysql_tzinfo_to_sql_symlink.test
@@ -8,8 +8,32 @@
--exec mkdir $MYSQLTEST_VARDIR/zoneinfo
--exec ln -s $MYSQLTEST_VARDIR/zoneinfo $MYSQLTEST_VARDIR/zoneinfo/posix
--copy_file std_data/zoneinfo/GMT $MYSQLTEST_VARDIR/zoneinfo/GMT
+--copy_file std_data/words.dat $MYSQLTEST_VARDIR/zoneinfo/garbage
+--copy_file std_data/words.dat $MYSQLTEST_VARDIR/zoneinfo/ignored.tab
+--echo # Verbose run
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
+--exec $MYSQL_TZINFO_TO_SQL --verbose $MYSQLTEST_VARDIR/zoneinfo 2>&1
+
+--echo # Silent run
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--exec $MYSQL_TZINFO_TO_SQL $MYSQLTEST_VARDIR/zoneinfo 2>&1
+--echo #
+--echo # Testing with explicit timezonefile
+--echo #
+
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
+--exec $MYSQL_TZINFO_TO_SQL $MYSQLTEST_VARDIR/zoneinfo/GMT XXX 2>&1
+
+--echo #
+--echo # Testing --leap
+--echo #
+
+--exec $MYSQL_TZINFO_TO_SQL --leap $MYSQLTEST_VARDIR/zoneinfo/GMT 2>&1
+
+#
+# Cleanup
+#
+
--exec rm -rf $MYSQLTEST_VARDIR/zoneinfo
diff --git a/mysql-test/t/mysql_upgrade.test b/mysql-test/t/mysql_upgrade.test
index 3bdaf4ceadb..820144216ab 100644
--- a/mysql-test/t/mysql_upgrade.test
+++ b/mysql-test/t/mysql_upgrade.test
@@ -40,6 +40,11 @@ GRANT ALL ON *.* TO mysqltest1@'%';
DROP USER mysqltest1@'%';
+#
+# check that we get proper error messages if wrong user
+
+--error 1
+--exec $MYSQL_UPGRADE --force --user=mysqltest1 --password=sakila 2>&1
#
# Bug #26639 mysql_upgrade exits successfully even if external command failed
diff --git a/mysql-test/t/order_by.test b/mysql-test/t/order_by.test
index 3e20d22d726..2ebf8ba5af1 100644
--- a/mysql-test/t/order_by.test
+++ b/mysql-test/t/order_by.test
@@ -261,6 +261,9 @@ desc,b desc;
explain select * from t1 where a = 2 and b > 0 order by a desc,b desc;
explain select * from t1 where a = 2 and b < 2 order by a desc,b desc;
explain select * from t1 where a = 1 order by b desc;
+explain select * from t1 where a = 2 and b > 0 order by a desc,b desc,b,a;
+explain select * from t1 where a = 2 and b < 2 order by a desc,a,b desc,a,b;
+
select * from t1 where a = 1 order by b desc;
#
# Test things when we don't have NULL keys
@@ -1714,6 +1717,35 @@ SELECT t1.a FROM t1 LEFT JOIN t2 ON t1.a=t2.a ORDER BY t1.a LIMIT 100;
DROP TABLE t1,t2;
+--echo #
+--echo # MDEV-4974 memory leak in 5.5.32-MariaDB-1~wheezy-log
+--echo #
+set sort_buffer_size=default;
+set max_sort_length=default;
+create table t1(a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+
+create table t2 (b int,
+ col1 varchar(255),
+ col2 varchar(255)
+ ) character set utf8;
+
+insert into t2 select
+ A.a+10*B.a,
+ concat('wow-wow-col1-value-', A.a+10*B.a+100*C.a),
+ concat('wow-wow-col2-value-', A.a+10*B.a+100*C.a)
+from
+ t1 A, t1 B, t1 C where C.a < 8;
+
+create table t3 as
+select distinct A.col1 as XX, B.col1 as YY
+from
+ t2 A, t2 B
+where A.b = B.b
+order by A.col2, B.col2 limit 10, 1000000;
+
+drop table t1,t2,t3;
+
--echo End of 5.5 tests
diff --git a/mysql-test/t/perror.test b/mysql-test/t/perror.test
index 2b9907c0542..69f1cb3257e 100644
--- a/mysql-test/t/perror.test
+++ b/mysql-test/t/perror.test
@@ -27,7 +27,7 @@ enable_query_log;
--exec $MY_PERROR 1062 2>&1
# test errors that contain characters to escape in the text.
---exec $MY_PERROR 1076 2>&1
+--exec $MY_PERROR 1408 2>&1
--exec $MY_PERROR 1459 2>&1
--exec $MY_PERROR 1461 2>&1
diff --git a/mysql-test/t/plugin_vars.test b/mysql-test/t/plugin_vars.test
new file mode 100644
index 00000000000..8ba8fe2ec0e
--- /dev/null
+++ b/mysql-test/t/plugin_vars.test
@@ -0,0 +1,56 @@
+--echo #
+--echo # MDEV-5345 - Deadlock between mysql_change_user(), SHOW VARIABLES and
+--echo # INSTALL PLUGIN
+--echo #
+
+# Prepare test
+delimiter |;
+CREATE PROCEDURE p_install(x INT)
+BEGIN
+ DECLARE CONTINUE HANDLER FOR 1126 BEGIN END;
+ WHILE x DO
+ SET x= x - 1;
+ INSTALL PLUGIN no_such_plugin SONAME 'no_such_object';
+ END WHILE;
+END|
+
+CREATE PROCEDURE p_show_vars(x INT)
+WHILE x DO
+ SET x= x - 1;
+ SHOW VARIABLES;
+END WHILE|
+delimiter ;|
+
+connect(con1, localhost, root,,);
+connect(con2, localhost, root,,);
+
+# Start test
+connection con1;
+--send CALL p_install(100)
+
+connection con2;
+--send CALL p_show_vars(100)
+
+connection default;
+
+disable_result_log;
+let $i= 100;
+while ($i)
+{
+ change_user;
+ dec $i;
+}
+
+# Cleanup
+connection con1;
+reap;
+connection con2;
+reap;
+connection default;
+enable_result_log;
+
+disconnect con1;
+disconnect con2;
+USE test;
+DROP PROCEDURE p_install;
+DROP PROCEDURE p_show_vars;
diff --git a/mysql-test/t/processlist.test b/mysql-test/t/processlist.test
index c7b775cf992..7a2b33699d5 100644
--- a/mysql-test/t/processlist.test
+++ b/mysql-test/t/processlist.test
@@ -32,4 +32,4 @@ connection default;
select command, time < 5 from information_schema.processlist where id != connection_id();
disconnect con1;
-
+set debug_sync='reset';
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test
index ff28631862c..5f4c815a192 100644
--- a/mysql-test/t/ps.test
+++ b/mysql-test/t/ps.test
@@ -3572,4 +3572,26 @@ show status like '%Handler_read%';
deallocate prepare st;
drop table t1;
+--echo #
+--echo # Bug mdev-5410: crash at the execution of PS with subselect
+--echo # formed by UNION with global ORDER BY
+--echo #
+
+CREATE TABLE t1 (a int DEFAULT NULL);
+INSERT INTO t1 VALUES (2), (4);
+CREATE TABLE t2 (b int DEFAULT NULL);
+INSERT INTO t2 VALUES (1), (3);
+
+PREPARE stmt FROM "
+SELECT c1 FROM (SELECT (SELECT a FROM t1 WHERE t1.a <= t2.b
+ UNION ALL
+ SELECT a FROM t1 WHERE t1.a+3<= t2.b
+ ORDER BY a DESC) AS c1 FROM t2) t3;
+";
+
+EXECUTE stmt;
+EXECUTE stmt;
+
+DROP TABLE t1,t2;
+
--echo # End of 5.3 tests
diff --git a/mysql-test/t/quick_select_4161.test b/mysql-test/t/quick_select_4161.test
index 1e746754b41..87323087622 100644
--- a/mysql-test/t/quick_select_4161.test
+++ b/mysql-test/t/quick_select_4161.test
@@ -50,4 +50,5 @@ connection default;
disconnect killee;
drop table t1;
+set debug_sync='reset';
diff --git a/mysql-test/t/repair.test b/mysql-test/t/repair.test
index 3c55f06ff4c..337b73f37d1 100644
--- a/mysql-test/t/repair.test
+++ b/mysql-test/t/repair.test
@@ -188,3 +188,23 @@ set @@autocommit= 0;
repair table t1, t2;
set @@autocommit= default;
drop tables t1, t2;
+
+--echo #
+--echo # Check that we have decent error messages when using crashed
+--echo # .frm file from MySQL 3.23
+--echo #
+
+--echo # Test with a saved table from 3.23
+let $MYSQLD_DATADIR= `select @@datadir`;
+--copy_file std_data/host_old.frm $MYSQLD_DATADIR/test/t1.frm
+--copy_file std_data/host_old.MYD $MYSQLD_DATADIR/test/t1.MYD
+--copy_file std_data/host_old.MYI $MYSQLD_DATADIR/test/t1.MYI
+
+--error ER_GET_ERRMSG
+select count(*) from t1;
+check table t1;
+repair table t1;
+repair table t1 use_frm;
+select count(*) from t1;
+check table t1;
+drop table t1;
diff --git a/mysql-test/t/repair_symlink-5543.test b/mysql-test/t/repair_symlink-5543.test
new file mode 100644
index 00000000000..bad65a4175a
--- /dev/null
+++ b/mysql-test/t/repair_symlink-5543.test
@@ -0,0 +1,26 @@
+#
+# MDEV-5543 MyISAM repair unsafe usage of TMD files
+#
+--source include/have_symlink.inc
+--source include/not_windows.inc
+--source include/have_maria.inc
+
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+eval create table t1 (a int) engine=myisam data directory='$MYSQL_TMP_DIR';
+insert t1 values (1);
+--system ln -s $MYSQL_TMP_DIR/foobar5543 $MYSQL_TMP_DIR/t1.TMD
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+repair table t1;
+drop table t1;
+
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+eval create table t2 (a int) engine=aria data directory='$MYSQL_TMP_DIR';
+insert t2 values (1);
+--system ln -s $MYSQL_TMP_DIR/foobar5543 $MYSQL_TMP_DIR/t2.TMD
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
+repair table t2;
+drop table t2;
+
+--list_files $MYSQL_TMP_DIR foobar5543
+--system rm $MYSQL_TMP_DIR/t1.TMD $MYSQL_TMP_DIR/t2.TMD
+
diff --git a/mysql-test/t/sp-bugs.test b/mysql-test/t/sp-bugs.test
index 3ab1689e8b2..67924996423 100644
--- a/mysql-test/t/sp-bugs.test
+++ b/mysql-test/t/sp-bugs.test
@@ -228,3 +228,60 @@ DROP PROCEDURE testp_bug11763507;
DROP FUNCTION testf_bug11763507;
--echo #END OF BUG#11763507 test.
+
+--echo #
+--echo # MDEV-5531 double call procedure in one session
+--echo #
+
+CREATE TABLE `t1` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `create_ts` int(10) unsigned DEFAULT '0',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
+
+DELIMITER $$;
+
+CREATE PROCEDURE test_5531 (IN step TINYINT(1))
+BEGIN
+ DECLARE counts INT DEFAULT 0;
+ DECLARE cur1 CURSOR FOR
+
+ SELECT ct.id
+ FROM (SELECT NULL) AS z
+ JOIN (
+ SELECT id
+ FROM `t1`
+ LIMIT 10
+ ) AS ct
+ JOIN (SELECT NULL) AS x ON(
+ EXISTS(
+ SELECT 1
+ FROM `t1`
+ WHERE id=ct.id
+ LIMIT 1
+ )
+ );
+
+ IF step=1 THEN
+ TRUNCATE t1;
+ REPEAT
+ INSERT INTO `t1`
+ (create_ts) VALUES
+ (UNIX_TIMESTAMP());
+
+ SET counts=counts+1;
+ UNTIL counts>150 END REPEAT;
+
+ SET max_sp_recursion_depth=1;
+
+ CALL test_5531(2);
+ SET max_sp_recursion_depth=2;
+ CALL test_5531(2);
+ ELSEIF step=2 THEN
+ OPEN cur1; CLOSE cur1;
+ END IF;
+END $$
+DELIMITER ;$$
+CALL test_5531(1);
+DROP PROCEDURE test_5531;
+DROP TABLE t1;
diff --git a/mysql-test/t/subselect4.test b/mysql-test/t/subselect4.test
index e427253f65f..c9174c949a1 100644
--- a/mysql-test/t/subselect4.test
+++ b/mysql-test/t/subselect4.test
@@ -1829,6 +1829,31 @@ drop table t1,t2;
set @@optimizer_switch = @optimizer_switch_MDEV4056;
--echo #
+--echo # MDEV-5103: server crashed on singular Item_equal
+--echo #
+
+CREATE TABLE t1 (
+ a enum('p','r') NOT NULL DEFAULT 'r',
+ b int NOT NULL DEFAULT '0',
+ c char(32) NOT NULL,
+ d varchar(255) NOT NULL,
+ PRIMARY KEY (a, b), UNIQUE KEY idx(a, c)
+);
+INSERT INTO t1 VALUES ('r', 1, 'ad18832202b199728921807033a8a515', '001_cbr643');
+
+CREATE TABLE t2 (
+ a enum('p','r') NOT NULL DEFAULT 'r',
+ b int NOT NULL DEFAULT '0',
+ e datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+ PRIMARY KEY (a, b, e)
+);
+INSERT INTO t2 VALUES ('r', 1, '2013-10-05 14:25:30');
+
+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-3899 Valgrind warnings (blocks are definitely lost) in filesort on IN subquery with SUM and DISTINCT
--echo #
diff --git a/mysql-test/t/subselect_sj.test b/mysql-test/t/subselect_sj.test
index cde8d5d0e19..a6ce3f25617 100644
--- a/mysql-test/t/subselect_sj.test
+++ b/mysql-test/t/subselect_sj.test
@@ -2622,5 +2622,54 @@ DROP TABLE t1, t2, t3;
set join_buffer_size = @tmp_join_buffer_size;
set max_heap_table_size = @tmp_max_heap_table_size;
+--echo #
+--echo # MDEV-5161: Wrong result (missing rows) with semijoin, LEFT JOIN, ORDER BY, constant table
+--echo #
+CREATE TABLE t1 (pk INT PRIMARY KEY, c1 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,'v'),(2,'v'),(3,'c'),(4,NULL),(5,'x');
+
+CREATE TABLE t2 (c2 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES ('x');
+
+CREATE TABLE t3 (c3 VARCHAR(1)) ENGINE=MyISAM;
+INSERT INTO t3 VALUES ('x'),('d');
+
+--sorted_result
+SELECT * FROM t1, t2 WHERE pk IN ( SELECT pk FROM t1 LEFT JOIN t3 ON (c1 = c3 ) ) ORDER BY c2, c1;
+
+--echo # This should show that "t1 left join t3" is still in the semi-join nest:
+EXPLAIN EXTENDED
+SELECT * FROM t1, t2 WHERE pk IN ( SELECT pk FROM t1 LEFT JOIN t3 ON (c1 = c3 ) ) ORDER BY c2, c1;
+
+DROP TABLE t1,t2,t3;
+
+--echo #
+--echo # MDEV-5059: Wrong result (missing row) wih semijoin, join_cache_level > 2, LEFT JOIN, ORDER BY
+--echo #
+
+SET @tmp_mdev5059=@@join_cache_level;
+# Any value > 2 will do
+SET join_cache_level = 3;
+set @tmp_os_mdev5059= @@optimizer_switch;
+set optimizer_switch=default;
+CREATE TABLE t1 (pk1 INT PRIMARY KEY, i1 INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1,4),(2,5);
+
+CREATE TABLE t2 (i2 INT, c2 CHAR(1)) ENGINE=MyISAM;
+INSERT INTO t2 VALUES (1,'v'),(7,'s');
+
+CREATE TABLE t3 (pk3 INT PRIMARY KEY, i3 INT, c3 CHAR(1), INDEX(i3), INDEX(c3,i3)) ENGINE=MyISAM;
+INSERT INTO t3 VALUES (1,7,'g'),(2,4,'p'),(3,1,'q');
+
+CREATE TABLE t4 (i4 INT) ENGINE=MyISAM;
+INSERT INTO t4 VALUES (1);
+
+SELECT * FROM t1, t2 LEFT JOIN t3 ON (c3 = c2)
+WHERE ( i2, pk1 ) IN ( SELECT i3, 1 FROM t3, t4 ) ORDER BY i1, c2;
+
+SET join_cache_level=@tmp_mdev5059;
+set optimizer_switch=@tmp_os_mdev5059;
+DROP TABLE t1,t2,t3,t4;
+
# The following command must be the last one the file
set optimizer_switch=@subselect_sj_tmp;
diff --git a/mysql-test/t/subselect_sj_mat.test b/mysql-test/t/subselect_sj_mat.test
index 58831c4ffb3..52a73d24822 100644
--- a/mysql-test/t/subselect_sj_mat.test
+++ b/mysql-test/t/subselect_sj_mat.test
@@ -1725,6 +1725,26 @@ INSERT INTO t1 VALUES (1,3,5),(2,4,6);
SELECT * FROM t1 WHERE 8 IN (SELECT MIN(pk) FROM t1) AND (pk = a OR pk = b);
DROP TABLE t1;
+--echo #
+--echo # MDEV-5368: Server crashes in Item_in_subselect::optimize on 2nd
+--echo # execution of PS with IN subqueries, materialization+semijoin
+--echo #
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(3);
+
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+CREATE ALGORITHM=MERGE VIEW v2 AS SELECT * FROM t2;
+INSERT INTO t2 VALUES (8),(9);
+
+PREPARE stmt FROM "
+SELECT * FROM t1 WHERE 1 IN ( SELECT b FROM v2 WHERE 2 IN ( SELECT MAX(a) FROM t1 ) )
+";
+
+EXECUTE stmt;
+EXECUTE stmt;
+DROP TABLE t1, t2;
+DROP VIEW v2;
+
--echo # End of 5.3 tests
@@ -1750,5 +1770,25 @@ WHERE ( alias2.c2, alias1.c1 ) IN ( SELECT c4, c3 FROM t2 ) AND alias1.c1 IN ( S
DROP TABLE t1,t2;
set join_cache_level=@tmp_mdev5056;
+--echo #
+--echo # MDEV-5368: Server crashes in Item_in_subselect::optimize on 2nd
+--echo # execution of PS with IN subqueries, materialization+semijoin
+--echo #
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(3);
+
+CREATE TABLE t2 (b INT) ENGINE=MyISAM;
+CREATE ALGORITHM=MERGE VIEW v2 AS SELECT * FROM t2;
+INSERT INTO t2 VALUES (8),(9);
+
+PREPARE stmt FROM "
+SELECT * FROM t1 WHERE 1 IN ( SELECT b FROM v2 WHERE 2 IN ( SELECT MAX(a) FROM t1 ) )
+";
+
+EXECUTE stmt;
+EXECUTE stmt;
+DROP TABLE t1, t2;
+DROP VIEW v2;
+
--echo # End of 5.5 tests
diff --git a/mysql-test/t/table_elim.test b/mysql-test/t/table_elim.test
index 357953290c4..0d42dca57b7 100644
--- a/mysql-test/t/table_elim.test
+++ b/mysql-test/t/table_elim.test
@@ -544,6 +544,37 @@ drop view v1;
DROP TABLE t1,t2,t3;
--echo #
+--echo # MDEV-5344: LEFT OUTER JOIN table data is lost in ON DUPLICATE KEY UPDATE section
+--echo #
+create table t1 (
+ id int(10) unsigned NOT NULL DEFAULT '0',
+ v int(10) unsigned DEFAULT '0',
+ PRIMARY KEY (id)
+);
+
+create table t2 (
+ id int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (id)
+) ;
+
+create table t3 (
+ id int(10) unsigned NOT NULL DEFAULT '0',
+ v int(10) unsigned DEFAULT '0',
+ PRIMARY KEY (id)
+);
+
+insert into t1 values (1, 10), (2, 10);
+insert into t2 values (1), (2);
+insert into t3 values (1, 20);
+
+insert into t1
+select t2.id, 5 from t2 LEFT OUTER JOIN t3 ON t2.id = t3.id
+on duplicate key update t1.v = t3.v;
+
+select * from t1;
+drop table t1,t2,t3;
+
+--echo #
--echo # BUG#919878: Assertion `!eliminated_tables...
--echo #
CREATE TABLE t1 ( a INT );
diff --git a/mysql-test/t/timezone2.test b/mysql-test/t/timezone2.test
index 7764b39bf33..2d61c7631f2 100644
--- a/mysql-test/t/timezone2.test
+++ b/mysql-test/t/timezone2.test
@@ -298,5 +298,11 @@ 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');
--echo #
+--echo # MDEV-5506 safe_mutex: Trying to lock unitialized mutex at safemalloc.c on server shutdown after SELECT with CONVERT_TZ
+--echo #
+SELECT CONVERT_TZ('2001-10-08 00:00:00', MAKE_SET(0,'+01:00'), '+00:00' );
+
+
+--echo #
--echo # End of 5.3 tests
--echo #
diff --git a/mysql-test/t/type_time.test b/mysql-test/t/type_time.test
index 1dd0f4363b9..9ecd5d22a81 100644
--- a/mysql-test/t/type_time.test
+++ b/mysql-test/t/type_time.test
@@ -135,6 +135,74 @@ SELECT CONCAT(GREATEST(TIME('00:00:01'),TIME('00:00:00')));
SELECT CONCAT(GREATEST(TIME('32 00:00:01'),TIME('00:00:00')));
--echo #
+--echo # MDEV-4859 Wrong value and data type of "SELECT MAX(time_column) + 1 FROM t1"
+--echo #
+CREATE TABLE t1 (t0 TIME);
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t0)+1 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t0)+1 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t0 TIME);
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t0)+1.1 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t0)+1.1 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t0 TIME);
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t0)+1e0 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t0)+1e0 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t1 TIME(1));
+INSERT INTO t1 VALUES ('10:10:10');
+SELECT MAX(t1)+1 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t1)+1 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t0 DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t0)+1 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t0)+1 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t0 DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t0)+1.1 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t0)+1.1 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t0 DATETIME);
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t0)+1e0 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t0)+1e0 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+CREATE TABLE t1 (t1 DATETIME(1));
+INSERT INTO t1 VALUES ('2001-01-01 10:10:10');
+SELECT MAX(t1)+1 FROM t1;
+CREATE TABLE t2 AS SELECT MAX(t1)+1 FROM t1;
+SELECT * FROM t2;
+SHOW COLUMNS FROM t2;
+DROP TABLE t2,t1;
+
+
+--echo #
--echo # End of 5.3 tests
--echo #
diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test
index faa35de3ec1..a53427f7fc6 100644
--- a/mysql-test/t/union.test
+++ b/mysql-test/t/union.test
@@ -1188,6 +1188,22 @@ deallocate prepare stmt1;
DROP VIEW v1;
DROP TABLE t1;
+--echo #
+--echo # mdev-5382: UNION with ORDER BY in subselect
+--echo #
+
+ CREATE TABLE t1 (a int DEFAULT NULL);
+ INSERT INTO t1 VALUES (2), (4);
+ CREATE TABLE t2 (b int DEFAULT NULL);
+ INSERT INTO t2 VALUES (1), (3);
+
+ SELECT c1 FROM (SELECT (SELECT a FROM t1 WHERE t1.a <= t2.b
+ UNION ALL
+ SELECT a FROM t1 WHERE t1.a+3<= t2.b
+ ORDER BY a DESC) AS c1 FROM t2) t3;
+
+ DROP TABLE t1,t2;
+
--echo End of 5.3 tests
--echo #
diff --git a/mysql-test/t/view.test b/mysql-test/t/view.test
index 6424841e017..a01a8a4d815 100644
--- a/mysql-test/t/view.test
+++ b/mysql-test/t/view.test
@@ -4873,6 +4873,51 @@ deallocate prepare stmt;
drop view v1;
drop table t1,t2;
+#
+# MDEV-5414: RAND() in a subselect : different behavior in MariaDB and MySQL
+#
+create table t1 (a int);
+insert into t1 values (1),(2);
+
+create view v1 (a,r) as select a,rand() from t1;
+
+
+create table t2 select a, r as r1, r as r2, r as r3 from v1;
+
+select a, r1 = r2, r2 = r3 from t2;
+
+drop view v1;
+drop table t1,t2;
+
+--echo #
+--echo # MDEV-5515: 2nd execution of a prepared statement returns wrong results
+--echo #
+CREATE TABLE t1 (i1 INT, j1 INT NOT NULL, PRIMARY KEY (i1));
+
+INSERT INTO t1 VALUES (30,300),(40,400);
+
+CREATE TABLE t2 (i2 INT);
+INSERT INTO t2 VALUES (50),(60);
+
+CREATE TABLE t3 (c3 VARCHAR(20), i3 INT);
+INSERT INTO t3 VALUES ('a',10),('b',2);
+
+CREATE TABLE t4 (i4 INT);
+INSERT INTO t4 VALUES (1),(2);
+
+DROP VIEW IF EXISTS v1;
+CREATE VIEW v1 AS select coalesce(j1,i3) AS v1_field1 from t2 join t3 left join t1 on ( i1 = i2 );
+
+CREATE VIEW v2 AS select v1_field1 from t4 join v1;
+
+prepare my_stmt from "select v1_field1 from v2";
+execute my_stmt;
+execute my_stmt;
+deallocate prepare my_stmt;
+
+DROP VIEW v1,v2;
+DROP TABLE t1,t2,t3,t4;
+
--echo # -----------------------------------------------------------------
--echo # -- End of 5.3 tests.
--echo # -----------------------------------------------------------------
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index f90ad0e7aaf..e0f2de4a61b 100644
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -87,3 +87,7 @@ ADD_EXECUTABLE(thr_lock thr_lock.c)
TARGET_LINK_LIBRARIES(thr_lock mysys)
SET_TARGET_PROPERTIES(thr_lock PROPERTIES COMPILE_FLAGS "-DMAIN")
+INSTALL_DEBUG_SYMBOLS(mysys)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(mysys DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
diff --git a/mysys/mf_iocache2.c b/mysys/mf_iocache2.c
index 250dc5064a9..c447c4b44a1 100644
--- a/mysys/mf_iocache2.c
+++ b/mysys/mf_iocache2.c
@@ -467,7 +467,7 @@ process_flags:
{
register int iarg;
size_t length2;
- char buff[17];
+ char buff[32];
iarg = va_arg(args, int);
if (*fmt == 'd')
@@ -502,7 +502,7 @@ process_flags:
{
register long iarg;
size_t length2;
- char buff[17];
+ char buff[32];
iarg = va_arg(args, long);
if (*++fmt == 'd')
diff --git a/mysys/my_addr_resolve.c b/mysys/my_addr_resolve.c
index e5a3a5fe13b..90e6f43f390 100644
--- a/mysys/my_addr_resolve.c
+++ b/mysys/my_addr_resolve.c
@@ -153,6 +153,10 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
while (*s != ':')
s++;
*s++= 0;
+
+ if (strcmp(loc->file, "??") == 0)
+ return 1;
+
loc->line= 0;
while (isdigit(*s))
loc->line = loc->line * 10 + (*s++ - '0');
diff --git a/mysys/my_handler_errors.h b/mysys/my_handler_errors.h
index 8b3b359ea95..bcc1ba9c476 100644
--- a/mysys/my_handler_errors.h
+++ b/mysys/my_handler_errors.h
@@ -86,7 +86,8 @@ static const char *handler_error_messages[]=
"Table is being used in foreign key check",
"Row is not visible by the current transaction",
"Operation was interrupted by end user (probably kill command?)",
- "Disk full"
+ "Disk full",
+ "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this"
};
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */
diff --git a/packaging/WiX/mysql_server.wxs.in b/packaging/WiX/mysql_server.wxs.in
index 752dc15304e..65688838316 100644
--- a/packaging/WiX/mysql_server.wxs.in
+++ b/packaging/WiX/mysql_server.wxs.in
@@ -70,10 +70,10 @@
Installed
</Custom>
</InstallExecuteSequence>
- <InstallUISequence>
+ <InstallUISequence>
<!-- App search is what does FindInstallLocation, and it is dependent on FindRelatedProducts -->
<AppSearch After="FindRelatedProducts"/>
- </InstallUISequence>
+ </InstallUISequence>
<!-- Find previous installation -->
<Property Id="INSTALLDIR">
@@ -83,31 +83,43 @@
Name="InstallLocation"
Type="raw" />
</Property>
- <Property Id="OLDERVERSION">
- <RegistrySearch Id="FindOlderVersion"
- Root="HKLM"
- Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
- Name="DisplayVersion"
- Type="raw" />
- </Property>
- <Property Id="DATADIR">
+ <?if @Platform@ != "x64" ?>
+ <Property Id="OLDERVERSION">
+ <RegistrySearch Id="FindOlderVersion"
+ Root="HKLM"
+ Win64 = "no"
+ Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
+ Name="DisplayVersion"
+ Type="raw" />
+ </Property>
+ <?else ?>
+ <Property Id="OLDERVERSION">
+ <RegistrySearch Id="FindOlderVersion"
+ Root="HKLM"
+ Win64 = "yes"
+ Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
+ Name="DisplayVersion"
+ Type="raw" />
+ </Property>
+ <?endif ?>
+ <Property Id="DATADIR">
<RegistrySearch Id="FindDataDir"
Root="HKLM"
Key="SOFTWARE\MySQL AB\[ProductName]"
Name="DataLocation"
Type="raw" />
</Property>
- <Property Id="INSTALLDIR2">
+ <Property Id="INSTALLDIR2">
<RegistrySearch Id="FindInstallLocation2"
Root="HKLM"
Key="SOFTWARE\MySQL AB\[ProductName]"
Name="Location"
Type="raw" />
</Property>
- <CustomAction Id="SetInstallDir2" Property="INSTALLDIR" Value="[INSTALLDIR2]" />
- <InstallUISequence>
- <Custom Action="SetInstallDir2" After="AppSearch">INSTALLDIR2</Custom>
- </InstallUISequence>
+ <CustomAction Id="SetInstallDir2" Property="INSTALLDIR" Value="[INSTALLDIR2]" />
+ <InstallUISequence>
+ <Custom Action="SetInstallDir2" After="AppSearch">INSTALLDIR2</Custom>
+ </InstallUISequence>
<!-- UI -->
diff --git a/packaging/rpm-uln/mysql.spec.sh b/packaging/rpm-uln/mysql.spec.sh
index 3fcbd5c1234..34aed51048f 100644
--- a/packaging/rpm-uln/mysql.spec.sh
+++ b/packaging/rpm-uln/mysql.spec.sh
@@ -858,7 +858,9 @@ fi
%files -n mysql-server%{product_suffix} -f release/support-files/plugins.files
%defattr(-,root,root)
%doc release/support-files/*.cnf
-%doc %{_datadir}/info/mysql.info*
+%if 0%{?commercial}
+ %doc %{_datadir}/info/mysql.info*
+%endif
%doc %{src_dir}/Docs/ChangeLog
%doc %{src_dir}/Docs/INFO_SRC*
%doc release/Docs/INFO_BIN*
@@ -981,6 +983,9 @@ fi
%{_mandir}/man1/mysql_client_test.1*
%changelog
+* Tue Nov 05 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
+- Removed non gpl file mysql.info from community packages
+
* Wed Jul 10 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
- Removed directory /usr/share/mysql/solaris/postinstall-solaris to resolve build
error
diff --git a/plugin/semisync/semisync_master.cc b/plugin/semisync/semisync_master.cc
index 23e35c59281..625f7448945 100644
--- a/plugin/semisync/semisync_master.cc
+++ b/plugin/semisync/semisync_master.cc
@@ -478,13 +478,17 @@ void ReplSemiSyncMaster::remove_slave()
lock();
rpl_semi_sync_master_clients--;
- /* If user has chosen not to wait if no semi-sync slave available
- and the last semi-sync slave exits, turn off semi-sync on master
- immediately.
- */
- if (!rpl_semi_sync_master_wait_no_slave &&
- rpl_semi_sync_master_clients == 0)
- switch_off();
+ /* Only switch off if semi-sync is enabled and is on */
+ if (getMasterEnabled() && is_on())
+ {
+ /* If user has chosen not to wait if no semi-sync slave available
+ and the last semi-sync slave exits, turn off semi-sync on master
+ immediately.
+ */
+ if (!rpl_semi_sync_master_wait_no_slave &&
+ rpl_semi_sync_master_clients == 0)
+ switch_off();
+ }
unlock();
}
@@ -883,10 +887,7 @@ int ReplSemiSyncMaster::updateSyncHeader(unsigned char *packet,
* target, do not request replies from the slave.
*/
if (!getMasterEnabled() || !is_semi_sync_slave())
- {
- sync = false;
return 0;
- }
function_enter(kWho);
@@ -894,15 +895,12 @@ int ReplSemiSyncMaster::updateSyncHeader(unsigned char *packet,
/* This is the real check inside the mutex. */
if (!getMasterEnabled())
- {
- sync = false;
- goto l_end;
- }
+ goto l_end; // sync= false at this point in time
if (is_on())
{
/* semi-sync is ON */
- sync = false; /* No sync unless a transaction is involved. */
+ /* sync= false; No sync unless a transaction is involved. */
if (reply_file_name_inited_)
{
diff --git a/plugin/win_auth_client/CMakeLists.txt b/plugin/win_auth_client/CMakeLists.txt
index a24f6b267f6..f3d3e54958e 100644
--- a/plugin/win_auth_client/CMakeLists.txt
+++ b/plugin/win_auth_client/CMakeLists.txt
@@ -31,4 +31,8 @@ IF(WIN32)
LINK_LIBRARIES Secur32
MODULE_ONLY COMPONENT SharedLibraries)
+ #INSTALL_DEBUG_SYMBOLS(auth_win_client)
+ #IF(MSVC)
+ # INSTALL_DEBUG_TARGET(auth_win_client DESTINATION ${INSTALL_LIBDIR}/debug)
+ #ENDIF()
ENDIF(WIN32)
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index d11b6fa9bcc..08bdd417fe3 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -172,6 +172,10 @@ ENDIF()
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysqlbug.sh
${CMAKE_CURRENT_BINARY_DIR}/mysqlbug ESCAPE_QUOTES @ONLY)
+ EXECUTE_PROCESS(
+ COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/mysqlbug
+ )
+
INSTALL_SCRIPT(${CMAKE_CURRENT_BINARY_DIR}/mysqlbug
DESTINATION ${INSTALL_BINDIR}
COMPONENT Server
@@ -205,6 +209,10 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql_install_db.sh
${CMAKE_CURRENT_BINARY_DIR}/mysql_install_db ESCAPE_QUOTES @ONLY)
SET(DEST ${INSTALL_SCRIPTDIR})
SET(EXT)
+ EXECUTE_PROCESS(
+ COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/mysql_install_db
+ )
+
INSTALL_SCRIPT(
"${CMAKE_CURRENT_BINARY_DIR}/mysql_install_db"
DESTINATION ${DEST}
@@ -212,7 +220,6 @@ INSTALL_SCRIPT(
)
ENDIF()
-
SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(sysconfdir ${prefix})
SET(bindir ${prefix}/${INSTALL_BINDIR})
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index a481aa836c6..10038d2cf58 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -90,7 +90,7 @@ link_to_help()
{
echo
echo "The latest information about mysql_install_db is available at"
- echo "http://kb.askmonty.org/v/installing-system-tables-mysql_install_db."
+ echo "https://mariadb.com/kb/en/installing-system-tables-mysql_install_db"
}
parse_arg()
@@ -492,7 +492,7 @@ then
echo "databases and anonymous user created by default. This is"
echo "strongly recommended for production servers."
echo
- echo "See the MariaDB Knowledgebase at http://kb.askmonty.org or the"
+ echo "See the MariaDB Knowledgebase at http://mariadb.com/kb or the"
echo "MySQL manual for more instructions."
if test "$in_rpm" -eq 0
@@ -512,9 +512,9 @@ then
echo "You can find additional information about the MySQL part at:"
echo "http://dev.mysql.com"
echo "Support MariaDB development by buying support/new features from"
- echo "Monty Program Ab. You can contact us about this at sales@montyprogram.com".
+ echo "SkySQL Ab. You can contact us about this at sales@skysql.com".
echo "Alternatively consider joining our community based development effort:"
- echo "http://kb.askmonty.org/en/contributing-to-the-mariadb-project/"
+ echo "http://mariadb.com/kb/en/contributing-to-the-mariadb-project/"
echo
fi
diff --git a/scripts/mysql_secure_installation.pl.in b/scripts/mysql_secure_installation.pl.in
index 188a6bd7104..188a6bd7104 100755..100644
--- a/scripts/mysql_secure_installation.pl.in
+++ b/scripts/mysql_secure_installation.pl.in
diff --git a/scripts/mysql_system_tables_data.sql b/scripts/mysql_system_tables_data.sql
index a222d22b670..18d2de500a7 100644
--- a/scripts/mysql_system_tables_data.sql
+++ b/scripts/mysql_system_tables_data.sql
@@ -24,8 +24,7 @@
-- Get the hostname, if the hostname has any wildcard character like "_" or "%"
-- add escape character in front of wildcard character to convert "_" or "%" to
-- a plain character
-SET @get_hostname= @@hostname;
-SELECT REPLACE((SELECT REPLACE(@get_hostname,'_','\_')),'%','\%') INTO @current_hostname;
+SELECT LOWER( REPLACE((SELECT REPLACE(@@hostname,'_','\_')),'%','\%') )INTO @current_hostname;
-- Fill "db" table with default grants for anyone to
@@ -41,11 +40,11 @@ DROP TABLE tmp_db;
-- from local machine if "user" table didn't exist before
CREATE TEMPORARY TABLE tmp_user LIKE user;
INSERT INTO tmp_user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','');
-REPLACE INTO tmp_user SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','' FROM dual WHERE LOWER( @current_hostname) != 'localhost';
+REPLACE INTO tmp_user SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','' FROM dual WHERE @current_hostname != 'localhost';
REPLACE INTO tmp_user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','');
REPLACE INTO tmp_user VALUES ('::1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','');
INSERT INTO tmp_user (host,user) VALUES ('localhost','');
-INSERT INTO tmp_user (host,user) SELECT @current_hostname,'' FROM dual WHERE LOWER(@current_hostname ) != 'localhost';
+INSERT INTO tmp_user (host,user) SELECT @current_hostname,'' FROM dual WHERE @current_hostname != 'localhost';
INSERT INTO user SELECT * FROM tmp_user WHERE @had_user_table=0;
DROP TABLE tmp_user;
diff --git a/scripts/mysql_system_tables_fix.sql b/scripts/mysql_system_tables_fix.sql
index c2d63f12399..2860cb1f8de 100644
--- a/scripts/mysql_system_tables_fix.sql
+++ b/scripts/mysql_system_tables_fix.sql
@@ -633,6 +633,8 @@ INSERT INTO tmp_proxies_priv VALUES ('localhost', 'root', '', '', TRUE, '', now(
INSERT INTO proxies_priv SELECT * FROM tmp_proxies_priv WHERE @had_proxies_priv_table=0;
DROP TABLE tmp_proxies_priv;
+# Convering the host name to lower case for existing users
+UPDATE user SET host=LOWER( host ) WHERE LOWER( host ) <> host;
# Activate the new, possible modified privilege tables
# This should not be needed, but gives us some extra testing that the above
diff --git a/scripts/mytop.sh b/scripts/mytop.sh
index 480805e90b1..480805e90b1 100755..100644
--- a/scripts/mytop.sh
+++ b/scripts/mytop.sh
diff --git a/sql-common/client.c b/sql-common/client.c
index 19d09e1bcfb..913dab75fda 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -4201,6 +4201,7 @@ mysql_options(MYSQL *mysql,enum mysql_option option, const void *arg)
mysql->options.methods_to_use= option;
break;
case MYSQL_SET_CLIENT_IP:
+ my_free(mysql->options.client_ip);
mysql->options.client_ip= my_strdup(arg, MYF(MY_WME));
break;
case MYSQL_SECURE_AUTH:
diff --git a/sql-common/my_time.c b/sql-common/my_time.c
index 69cd9458135..b91028cc1ea 100644
--- a/sql-common/my_time.c
+++ b/sql-common/my_time.c
@@ -645,8 +645,8 @@ fractional:
l_time->year= 0; /* For protocol::store_time */
l_time->month= 0;
- l_time->day= date[0];
- l_time->hour= date[1];
+ l_time->day= 0;
+ l_time->hour= date[1] + date[0] * 24; /* Mix days and hours */
l_time->minute= date[2];
l_time->second= date[3];
l_time->second_part= date[4];
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index f65ab41908d..84a48cfed07 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -305,7 +305,7 @@ void ha_partition::init_handler_variables()
const char *ha_partition::table_type() const
{
// we can do this since we only support a single engine type
- return m_file[0]->table_type();
+ return m_file && m_file[0] ? m_file[0]->table_type() : "Unknown";
}
@@ -1345,7 +1345,8 @@ bool ha_partition::is_crashed() const
int ha_partition::prepare_new_partition(TABLE *tbl,
HA_CREATE_INFO *create_info,
handler *file, const char *part_name,
- partition_element *p_elem)
+ partition_element *p_elem,
+ uint disable_non_uniq_indexes)
{
int error;
DBUG_ENTER("prepare_new_partition");
@@ -1371,6 +1372,7 @@ int ha_partition::prepare_new_partition(TABLE *tbl,
if ((error= file->ha_open(tbl, part_name, m_mode, m_open_test_lock)))
goto error_open;
DBUG_PRINT("info", ("partition %s opened", part_name));
+
/*
Note: if you plan to add another call that may return failure,
better to do it before external_lock() as cleanup_new_partition()
@@ -1381,6 +1383,9 @@ int ha_partition::prepare_new_partition(TABLE *tbl,
goto error_external_lock;
DBUG_PRINT("info", ("partition %s external locked", part_name));
+ if (disable_non_uniq_indexes)
+ file->ha_disable_indexes(HA_KEY_SWITCH_NONUNIQ_SAVE);
+
DBUG_RETURN(0);
error_external_lock:
(void) file->ha_close();
@@ -1658,6 +1663,14 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
on them to prepare them for copy phase and also for later close
calls
*/
+
+ /*
+ Before creating new partitions check whether indexes are disabled
+ in the partitions.
+ */
+
+ uint disable_non_uniq_indexes = indexes_are_disabled();
+
i= 0;
part_count= 0;
part_it.rewind();
@@ -1692,11 +1705,13 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
if ((error= prepare_new_partition(table, create_info,
new_file_array[part],
(const char *)part_name_buff,
- sub_elem)))
+ sub_elem,
+ disable_non_uniq_indexes)))
{
cleanup_new_partition(part_count);
DBUG_RETURN(error);
}
+
m_added_file[part_count++]= new_file_array[part];
} while (++j < num_subparts);
}
@@ -1709,11 +1724,13 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
if ((error= prepare_new_partition(table, create_info,
new_file_array[i],
(const char *)part_name_buff,
- part_elem)))
+ part_elem,
+ disable_non_uniq_indexes)))
{
cleanup_new_partition(part_count);
DBUG_RETURN(error);
}
+
m_added_file[part_count++]= new_file_array[i];
}
}
@@ -7190,7 +7207,7 @@ void ha_partition::print_error(int error, myf errflag)
{
if (!(thd->lex->alter_info.flags & ALTER_TRUNCATE_PARTITION))
{
- m_part_info->print_no_partition_found(table);
+ m_part_info->print_no_partition_found(table, errflag);
DBUG_VOID_RETURN;
}
}
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 69ef28b25ef..68ce1e47764 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -269,7 +269,8 @@ private:
void cleanup_new_partition(uint part_count);
int prepare_new_partition(TABLE *table, HA_CREATE_INFO *create_info,
handler *file, const char *part_name,
- partition_element *p_elem);
+ partition_element *p_elem,
+ uint disable_non_uniq_indexes);
/*
delete_table, rename_table and create uses very similar logic which
is packed into this routine.
diff --git a/sql/handler.cc b/sql/handler.cc
index 58356116883..a392171ec18 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -44,6 +44,7 @@
#include "probes_mysql.h"
#include "debug_sync.h" // DEBUG_SYNC
#include "sql_audit.h"
+#include "../mysys/my_handler_errors.h"
#ifdef WITH_PARTITION_STORAGE_ENGINE
#include "ha_partition.h"
@@ -3201,8 +3202,18 @@ void handler::print_error(int error, myf errflag)
my_error(ER_GET_ERRMSG, errflag, error, str.c_ptr(), engine);
}
}
+ else if (error >= HA_ERR_FIRST && error <= HA_ERR_LAST)
+ {
+ const char* engine= table_type();
+ const char *errmsg= handler_error_messages[error - HA_ERR_FIRST];
+ my_error(ER_GET_ERRMSG, errflag, error, errmsg, engine);
+ SET_FATAL_ERROR;
+ }
else
- my_error(ER_GET_ERRNO,errflag,error);
+ {
+ my_error(ER_GET_ERRNO, errflag,error);
+ /* SET_FATAL_ERROR; */
+ }
DBUG_VOID_RETURN;
}
}
@@ -4957,8 +4968,10 @@ bool ha_show_status(THD *thd, handlerton *db_type, enum ha_stat_type stat)
"", 0, "DISABLED", 8) ? 1 : 0;
}
else
+ {
result= db_type->show_status &&
db_type->show_status(db_type, thd, stat_print, stat) ? 1 : 0;
+ }
}
/*
diff --git a/sql/item.cc b/sql/item.cc
index 2bf149c58ba..7b1ca3c0849 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -396,6 +396,27 @@ my_decimal *Item::val_decimal_from_time(my_decimal *decimal_value)
}
+longlong Item::val_int_from_date()
+{
+ DBUG_ASSERT(fixed == 1);
+ MYSQL_TIME ltime;
+ if (get_date(&ltime, 0))
+ return 0;
+ longlong v= TIME_to_ulonglong(&ltime);
+ return ltime.neg ? -v : v;
+}
+
+
+double Item::val_real_from_date()
+{
+ DBUG_ASSERT(fixed == 1);
+ MYSQL_TIME ltime;
+ if (get_date(&ltime, 0))
+ return 0;
+ return TIME_to_double(&ltime);
+}
+
+
double Item::val_real_from_decimal()
{
/* Note that fix_fields may not be called for Item_avg_field items */
@@ -4679,6 +4700,12 @@ bool is_outer_table(TABLE_LIST *table, SELECT_LEX *select)
/**
Resolve the name of an outer select column reference.
+ @param[in] thd current thread
+ @param[in,out] from_field found field reference or (Field*)not_found_field
+ @param[in,out] reference view column if this item was resolved to a
+ view column
+
+ @description
The method resolves the column reference represented by 'this' as a column
present in outer selects that contain current select.
@@ -4688,10 +4715,16 @@ bool is_outer_table(TABLE_LIST *table, SELECT_LEX *select)
current select as dependent. The found reference of field should be
provided in 'from_field'.
- @param[in] thd current thread
- @param[in,out] from_field found field reference or (Field*)not_found_field
- @param[in,out] reference view column if this item was resolved to a
- view column
+ The cache is critical for prepared statements of type:
+
+ SELECT a FROM (SELECT a FROM test.t1) AS s1 NATURAL JOIN t2 AS s2;
+
+ This is internally converted to a join similar to
+
+ SELECT a FROM t1 AS s1,t2 AS s2 WHERE t2.a=t1.a;
+
+ Without the cache, we would on re-prepare not know if 'a' did match
+ s1.a or s2.a.
@note
This is the inner loop of Item_field::fix_fields:
@@ -4721,7 +4754,12 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference)
enum_parsing_place place= NO_MATTER;
bool field_found= (*from_field != not_found_field);
bool upward_lookup= FALSE;
+ TABLE_LIST *table_list;
+ /* Calulate the TABLE_LIST for the table */
+ table_list= (cached_table ? cached_table :
+ field_found && (*from_field) != view_ref_found ?
+ (*from_field)->table->pos_in_table_list : 0);
/*
If there are outer contexts (outer selects, but current select is
not derived table or view) try to resolve this reference in the
@@ -4740,6 +4778,15 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference)
if (current_sel->master_unit()->first_select()->linkage !=
DERIVED_TABLE_TYPE)
outer_context= context->outer_context;
+
+ /*
+ This assert is to ensure we have an outer contex when *from_field
+ is set.
+ If this would not be the case, we would assert in mark_as_dependent
+ as last_checked_countex == context
+ */
+ DBUG_ASSERT(outer_context || !*from_field ||
+ *from_field == not_found_field);
for (;
outer_context;
outer_context= outer_context->outer_context)
@@ -4756,7 +4803,7 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference)
to find_field_in_tables(). Only need to find appropriate context.
*/
if (field_found && outer_context->select_lex !=
- cached_table->select_lex)
+ table_list->select_lex)
continue;
/*
In case of a view, find_field_in_tables() writes the pointer to
@@ -4955,9 +5002,9 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference)
if (last_checked_context->select_lex->having_fix_field)
{
Item_ref *rf;
- rf= new Item_ref(context,
- (cached_table->db[0] ? cached_table->db : 0),
- (char*) cached_table->alias, (char*) field_name);
+ rf= new Item_ref(context, (*from_field)->table->s->db.str,
+ (*from_field)->table->alias.c_ptr(),
+ (char*) field_name);
if (!rf)
return -1;
thd->change_item_tree(reference, rf);
@@ -5028,6 +5075,7 @@ bool Item_field::fix_fields(THD *thd, Item **reference)
if (!field) // If field is not checked
{
+ TABLE_LIST *table_list;
/*
In case of view, find_field_in_tables() write pointer to view field
expression to 'reference', i.e. it substitute that expression instead
@@ -5113,11 +5161,14 @@ bool Item_field::fix_fields(THD *thd, Item **reference)
else if (!from_field)
goto error;
- if (!outer_fixed && cached_table && cached_table->select_lex &&
+ table_list= (cached_table ? cached_table :
+ from_field != view_ref_found ?
+ from_field->table->pos_in_table_list : 0);
+ if (!outer_fixed && table_list && table_list->select_lex &&
context->select_lex &&
- cached_table->select_lex != context->select_lex &&
- !context->select_lex->is_merged_child_of(cached_table->select_lex) &&
- is_outer_table(cached_table, context->select_lex))
+ table_list->select_lex != context->select_lex &&
+ !context->select_lex->is_merged_child_of(table_list->select_lex) &&
+ is_outer_table(table_list, context->select_lex))
{
int ret;
if ((ret= fix_outer_field(thd, &from_field, reference)) < 0)
@@ -8831,6 +8882,18 @@ Item_cache_temporal::Item_cache_temporal(enum_field_types field_type_arg):
}
+longlong Item_cache_temporal::val_temporal_packed()
+{
+ DBUG_ASSERT(fixed == 1);
+ if ((!value_cached && !cache_value()) || null_value)
+ {
+ null_value= TRUE;
+ return 0;
+ }
+ return value;
+}
+
+
String *Item_cache_temporal::val_str(String *str)
{
DBUG_ASSERT(fixed == 1);
@@ -8843,6 +8906,42 @@ String *Item_cache_temporal::val_str(String *str)
}
+my_decimal *Item_cache_temporal::val_decimal(my_decimal *decimal_value)
+{
+ DBUG_ASSERT(fixed == 1);
+ if ((!value_cached && !cache_value()) || null_value)
+ {
+ null_value= true;
+ return NULL;
+ }
+ return val_decimal_from_date(decimal_value);
+}
+
+
+longlong Item_cache_temporal::val_int()
+{
+ DBUG_ASSERT(fixed == 1);
+ if ((!value_cached && !cache_value()) || null_value)
+ {
+ null_value= true;
+ return 0;
+ }
+ return val_int_from_date();
+}
+
+
+double Item_cache_temporal::val_real()
+{
+ DBUG_ASSERT(fixed == 1);
+ if ((!value_cached && !cache_value()) || null_value)
+ {
+ null_value= true;
+ return 0;
+ }
+ return val_real_from_date();
+}
+
+
bool Item_cache_temporal::cache_value()
{
if (!example)
diff --git a/sql/item.h b/sql/item.h
index 27d42eb4389..20b7104bcda 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -332,6 +332,8 @@ struct Name_resolution_context: Sql_alloc
*/
TABLE_LIST *last_name_resolution_table;
+ /* Cache first_name_resolution_table in setup_natural_join_row_types */
+ TABLE_LIST *natural_join_first_table;
/*
SELECT_LEX item belong to, in case of merged VIEW it can differ from
SELECT_LEX where item was created, so we can't use table_list/field_list
@@ -950,7 +952,9 @@ public:
my_decimal *val_decimal_from_date(my_decimal *decimal_value);
my_decimal *val_decimal_from_time(my_decimal *decimal_value);
longlong val_int_from_decimal();
+ longlong val_int_from_date();
double val_real_from_decimal();
+ double val_real_from_date();
int save_time_in_field(Field *field);
int save_date_in_field(Field *field);
@@ -3267,13 +3271,16 @@ class Item_direct_view_ref :public Item_direct_ref
TABLE_LIST *view;
TABLE *null_ref_table;
+#define NO_NULL_TABLE (reinterpret_cast<TABLE *>(0x1))
+
bool check_null_ref()
{
if (null_ref_table == NULL)
{
- null_ref_table= view->get_real_join_table();
+ if (!(null_ref_table= view->get_real_join_table()))
+ null_ref_table= NO_NULL_TABLE;
}
- if (null_ref_table->null_row)
+ if (null_ref_table != NO_NULL_TABLE && null_ref_table->null_row)
{
null_value= 1;
return TRUE;
@@ -4128,6 +4135,10 @@ class Item_cache_temporal: public Item_cache_int
public:
Item_cache_temporal(enum_field_types field_type_arg);
String* val_str(String *str);
+ my_decimal *val_decimal(my_decimal *);
+ longlong val_int();
+ longlong val_temporal_packed();
+ double val_real();
bool cache_value();
bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate);
int save_in_field(Field *field, bool no_conversions);
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 22049ac26b4..fa67b3e6afd 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -888,10 +888,13 @@ get_datetime_value(THD *thd, Item ***item_arg, Item **cache_arg,
enum_field_types f_type= item->cmp_type() == TIME_RESULT ?
item->field_type() : warn_item->field_type();
- if (item->result_type() == INT_RESULT && item->cmp_type() == TIME_RESULT)
+ if (item->result_type() == INT_RESULT &&
+ item->cmp_type() == TIME_RESULT &&
+ item->type() == Item::CACHE_ITEM)
{
/* it's our Item_cache_temporal, as created below */
- value= item->val_int();
+ DBUG_ASSERT(is_temporal_type(((Item_cache *) item)->field_type()));
+ value= ((Item_cache_temporal*) item)->val_temporal_packed();
}
else
{
@@ -5595,7 +5598,8 @@ Item *Item_bool_rowready_func2::negated_item()
*/
Item_equal::Item_equal(Item *f1, Item *f2, bool with_const_item)
- : Item_bool_func(), eval_item(0), cond_false(0), context_field(NULL)
+ : Item_bool_func(), eval_item(0), cond_false(0), cond_true(0),
+ context_field(NULL)
{
const_item_cache= 0;
with_const= with_const_item;
@@ -5620,7 +5624,8 @@ Item_equal::Item_equal(Item *f1, Item *f2, bool with_const_item)
*/
Item_equal::Item_equal(Item_equal *item_equal)
- : Item_bool_func(), eval_item(0), cond_false(0), context_field(NULL)
+ : Item_bool_func(), eval_item(0), cond_false(0), cond_true(0),
+ context_field(NULL)
{
const_item_cache= 0;
List_iterator_fast<Item> li(item_equal->equal_items);
@@ -5687,13 +5692,9 @@ void Item_equal::add_const(Item *c, Item *f)
func->quick_fix_field();
cond_false= !func->val_int();
}
- /*
- TODO: also support the case where Item_equal becomes singular with
- this->is_cond_true()=1. When I attempted to mark the item as constant,
- the optimizer attempted to remove it, however it is still referenced from
- COND_EQUAL and I got a crash.
- */
- if (cond_false)
+ if (with_const && equal_items.elements == 1)
+ cond_true= TRUE;
+ if (cond_false || cond_true)
const_item_cache= 1;
}
@@ -5897,8 +5898,7 @@ void Item_equal::merge_into_list(List<Item_equal> *list,
void Item_equal::sort(Item_field_cmpfunc compare, void *arg)
{
- if (equal_items.elements > 1)
- bubble_sort<Item>(&equal_items, compare, arg);
+ bubble_sort<Item>(&equal_items, compare, arg);
}
@@ -6012,13 +6012,7 @@ bool Item_equal::fix_fields(THD *thd, Item **ref)
void Item_equal::update_used_tables()
{
not_null_tables_cache= used_tables_cache= 0;
- /*
- TODO: also support the case where Item_equal becomes singular with
- this->is_cond_true()=1. When I attempted to mark the item as constant,
- the optimizer attempted to remove it, however it is still referenced from
- COND_EQUAL and I got a crash.
- */
- if ((const_item_cache= cond_false))
+ if ((const_item_cache= cond_false || cond_true))
return;
Item_equal_fields_iterator it(*this);
Item *item;
@@ -6067,7 +6061,7 @@ longlong Item_equal::val_int()
{
if (cond_false)
return 0;
- if (is_cond_true())
+ if (cond_true)
return 1;
Item *item= get_const();
Item_equal_fields_iterator it(*this);
@@ -6093,11 +6087,6 @@ longlong Item_equal::val_int()
void Item_equal::fix_length_and_dec()
{
Item *item= get_first(NO_PARTICULAR_TAB, NULL);
- if (!item)
- {
- DBUG_ASSERT(is_cond_true()); // it should be the only constant
- item= equal_items.head();
- }
eval_item= cmp_item::get_comparator(item->cmp_type(), item,
item->collation.collation);
}
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index cc746b66013..ccdf93ebaab 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1688,6 +1688,12 @@ class Item_equal: public Item_bool_func
the equal_items should be ignored.
*/
bool cond_false;
+ /*
+ This initially is set to FALSE. It becomes TRUE when this item is evaluated
+ as being always true. If the flag is TRUE the contents of the list
+ the equal_items should be ignored.
+ */
+ bool cond_true;
/*
compare_as_dates=TRUE <-> constants equal to fields from equal_items
must be compared as datetimes and not as strings.
@@ -1718,7 +1724,6 @@ public:
Item_equal(Item_equal *item_equal);
/* Currently the const item is always the first in the list of equal items */
inline Item* get_const() { return with_const ? equal_items.head() : NULL; }
- inline bool is_cond_true() { return equal_items.elements == 1; }
void add_const(Item *c, Item *f = NULL);
/** Add a non-constant item to the multiple equality */
void add(Item *f) { equal_items.push_back(f); }
diff --git a/sql/item_func.cc b/sql/item_func.cc
index feee8cf6c74..c5d82ce6049 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -826,6 +826,8 @@ void Item_num_op::find_num_type(void)
cached_result_type= DECIMAL_RESULT;
result_precision();
fix_decimals();
+ if ((r0 == TIME_RESULT || r1 == TIME_RESULT) && decimals == 0)
+ cached_result_type= INT_RESULT;
}
else
{
@@ -2957,11 +2959,6 @@ bool Item_func_min_max::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
}
unpack_time(min_max, ltime);
- if (!(fuzzy_date & TIME_TIME_ONLY) &&
- ((null_value= check_date_with_warn(ltime, fuzzy_date,
- MYSQL_TIMESTAMP_ERROR))))
- return true;
-
if (compare_as_dates->field_type() == MYSQL_TYPE_DATE)
{
ltime->time_type= MYSQL_TIMESTAMP_DATE;
@@ -2972,8 +2969,15 @@ bool Item_func_min_max::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
ltime->time_type= MYSQL_TIMESTAMP_TIME;
ltime->hour+= (ltime->month * 32 + ltime->day) * 24;
ltime->month= ltime->day= 0;
+ if (adjust_time_range_with_warn(ltime,
+ min(decimals, TIME_SECOND_PART_DIGITS)))
+ return (null_value= true);
}
+ if (!(fuzzy_date & TIME_TIME_ONLY) &&
+ ((null_value= check_date_with_warn(ltime, fuzzy_date,
+ MYSQL_TIMESTAMP_ERROR))))
+ return true;
return (null_value= 0);
}
diff --git a/sql/item_func.h b/sql/item_func.h
index 309b25f1933..f1dbbb09305 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -159,7 +159,10 @@ public:
Item **item, uint nitems);
inline bool get_arg0_time(MYSQL_TIME *ltime)
{
- return (null_value=args[0]->get_time(ltime));
+ null_value= args[0]->get_time(ltime);
+ DBUG_ASSERT(null_value ||
+ ltime->time_type != MYSQL_TIMESTAMP_TIME || ltime->day == 0);
+ return null_value;
}
bool is_null() {
update_null_value();
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 1c51ffaeea6..1b0f8c6acc0 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2000, 2011, 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
@@ -61,11 +61,6 @@ C_MODE_END
size_t username_char_length= 16;
-/**
- @todo Remove this. It is not safe to use a shared String object.
- */
-String my_empty_string("",default_charset_info);
-
/*
For the Items which have only val_str_ascii() method
and don't have their own "native" val_str(),
@@ -103,7 +98,6 @@ String *Item_str_func::val_str_from_val_str_ascii(String *str, String *str2)
}
-
/*
Convert an array of bytes to a hexadecimal representation.
@@ -2481,7 +2475,7 @@ String *Item_func_make_set::val_str(String *str)
ulonglong bits;
bool first_found=0;
Item **ptr=args+1;
- String *result=&my_empty_string;
+ String *result= make_empty_result();
bits=args[0]->val_int();
if ((null_value=args[0]->null_value))
@@ -2888,7 +2882,9 @@ String *Item_func_conv::val_str(String *str)
int to_base= (int) args[2]->val_int();
int err;
+ // Note that abs(INT_MIN) is undefined.
if (args[0]->null_value || args[1]->null_value || args[2]->null_value ||
+ from_base == INT_MIN || to_base == INT_MIN ||
abs(to_base) > 36 || abs(to_base) < 2 ||
abs(from_base) > 36 || abs(from_base) < 2 || !(res->length()))
{
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index e0566b1d8c9..1731fcf7e99 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -1061,6 +1061,4 @@ public:
String *val_str(String *);
};
-extern String my_empty_string;
-
#endif /* ITEM_STRFUNC_INCLUDED */
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 7c2eea6258b..092c9728d47 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -1250,7 +1250,7 @@ Item_sum_hybrid::fix_fields(THD *thd, Item **ref)
void Item_sum_hybrid::setup_hybrid(Item *item, Item *value_arg)
{
- if (!(value= Item_cache::get_cache(item)))
+ if (!(value= Item_cache::get_cache(item, item->cmp_type())))
return;
value->setup(item);
value->store(value_arg);
@@ -1579,8 +1579,12 @@ void Item_sum_count::clear()
bool Item_sum_count::add()
{
- if (!args[0]->maybe_null || !args[0]->is_null())
- count++;
+ for (uint i=0; i<arg_count; i++)
+ {
+ if (args[i]->maybe_null && args[i]->is_null())
+ return 0;
+ }
+ count++;
return 0;
}
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index 40068bc49c0..9758d86213d 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -1475,27 +1475,6 @@ String *Item_temporal_func::val_str(String *str)
}
-longlong Item_temporal_func::val_int()
-{
- DBUG_ASSERT(fixed == 1);
- MYSQL_TIME ltime;
- if (get_date(&ltime, sql_mode))
- return 0;
- longlong v= TIME_to_ulonglong(&ltime);
- return ltime.neg ? -v : v;
-}
-
-
-double Item_temporal_func::val_real()
-{
- DBUG_ASSERT(fixed == 1);
- MYSQL_TIME ltime;
- if (get_date(&ltime, sql_mode))
- return 0;
- return TIME_to_double(&ltime);
-}
-
-
bool Item_func_from_days::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
{
longlong value=args[0]->val_int();
@@ -2163,6 +2142,10 @@ longlong Item_extract::val_int()
return 0;
neg= ltime.neg ? -1 : 1;
+ DBUG_ASSERT(ltime.time_type != MYSQL_TIMESTAMP_TIME || ltime.day == 0);
+ if (ltime.time_type == MYSQL_TIMESTAMP_TIME)
+ time_to_daytime_interval(&ltime);
+
switch (int_type) {
case INTERVAL_YEAR: return ltime.year;
case INTERVAL_YEAR_MONTH: return ltime.year*100L+ltime.month;
@@ -2591,7 +2574,7 @@ bool Item_func_add_time::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
bool is_time= 0;
long days, microseconds;
longlong seconds;
- int l_sign= sign, was_cut= 0;
+ int l_sign= sign;
if (is_date) // TIMESTAMP function
{
@@ -2642,16 +2625,7 @@ bool Item_func_add_time::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
}
ltime->hour+= days*24;
-
- MYSQL_TIME copy= *ltime;
- ErrConvTime str(&copy);
-
- check_time_range(ltime, decimals, &was_cut);
- if (was_cut)
- make_truncated_value_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- &str, MYSQL_TIMESTAMP_TIME, NullS);
-
- return (null_value= 0);
+ return (null_value= adjust_time_range_with_warn(ltime, decimals));
}
@@ -2689,7 +2663,7 @@ bool Item_func_timediff::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
DBUG_ASSERT(fixed == 1);
longlong seconds;
long microseconds;
- int l_sign= 1, was_cut= 0;
+ int l_sign= 1;
MYSQL_TIME l_time1,l_time2,l_time3;
ErrConvTime str(&l_time3);
@@ -2733,12 +2707,8 @@ bool Item_func_timediff::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
return (null_value= 1);
*ltime= l_time3;
- check_time_range(ltime, decimals, &was_cut);
+ return (null_value= adjust_time_range_with_warn(ltime, decimals));
- if (was_cut)
- make_truncated_value_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- &str, MYSQL_TIMESTAMP_TIME, NullS);
- return (null_value= 0);
}
/**
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index c54490f45af..c086579e34b 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -499,8 +499,8 @@ public:
enum_field_types field_type() const { return MYSQL_TYPE_DATETIME; }
Item_result cmp_type() const { return TIME_RESULT; }
String *val_str(String *str);
- longlong val_int();
- double val_real();
+ longlong val_int() { return val_int_from_date(); }
+ double val_real() { return val_real_from_date(); }
bool get_date(MYSQL_TIME *res, ulonglong fuzzy_date) { DBUG_ASSERT(0); return 1; }
my_decimal *val_decimal(my_decimal *decimal_value)
{ return val_decimal_from_date(decimal_value); }
diff --git a/sql/log_event.cc b/sql/log_event.cc
index dac39a63282..937d2df47de 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -5975,9 +5975,7 @@ int Intvar_log_event::do_apply_event(Relay_log_info const *rli)
switch (type) {
case LAST_INSERT_ID_EVENT:
- thd->stmt_depends_on_first_successful_insert_id_in_prev_stmt= 1;
- thd->first_successful_insert_id_in_prev_stmt_for_binlog=
- thd->first_successful_insert_id_in_prev_stmt= val;
+ thd->first_successful_insert_id_in_prev_stmt= val;
DBUG_PRINT("info",("last_insert_id_event: %ld", (long) val));
break;
case INSERT_ID_EVENT:
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 953b59031d8..4d20dde3610 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -1973,7 +1973,9 @@ void clean_up(bool print_message)
delete binlog_filter;
delete rpl_filter;
end_ssl();
+#ifndef EMBEDDED_LIBRARY
vio_end();
+#endif /*!EMBEDDED_LIBRARY*/
my_regex_end();
#if defined(ENABLED_DEBUG_SYNC)
/* End the debug sync facility. See debug_sync.cc. */
@@ -3309,7 +3311,6 @@ void my_message_sql(uint error, const char *str, myf MyFlags)
DBUG_ASSERT(str != NULL);
DBUG_ASSERT(error != 0);
- mysql_audit_general(thd, MYSQL_AUDIT_GENERAL_ERROR, error, str);
if (MyFlags & ME_JUST_INFO)
{
level= MYSQL_ERROR::WARN_LEVEL_NOTE;
@@ -3332,6 +3333,8 @@ void my_message_sql(uint error, const char *str, myf MyFlags)
thd->is_fatal_error= 1;
(void) thd->raise_condition(error, NULL, level, str);
}
+ else
+ mysql_audit_general(0, MYSQL_AUDIT_GENERAL_ERROR, error, str);
/* When simulating OOM, skip writing to error log to avoid mtr errors */
DBUG_EXECUTE_IF("simulate_out_of_memory", DBUG_VOID_RETURN;);
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index e0a0d5b75cf..4b78492c857 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2012, Monty Program Ab
This program is free software; you can redistribute it and/or modify
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index dbaec28b8df..66bd287d86a 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -10340,15 +10340,16 @@ get_quick_keys(PARAM *param,QUICK_RANGE_SELECT *quick,KEY_PART *key,
{
KEY *table_key=quick->head->key_info+quick->index;
flag=EQ_RANGE;
- if ((table_key->flags & HA_NOSAME) && key->part == table_key->key_parts-1)
+ if ((table_key->flags & HA_NOSAME) &&
+ key_tree->part == table_key->key_parts-1)
{
- if (!(table_key->flags & HA_NULL_PART_KEY) ||
- !null_part_in_key(key,
- param->min_key,
- (uint) (tmp_min_key - param->min_key)))
- flag|= UNIQUE_RANGE;
- else
- flag|= NULL_RANGE;
+ if ((table_key->flags & HA_NULL_PART_KEY) &&
+ null_part_in_key(key,
+ param->min_key,
+ (uint) (tmp_min_key - param->min_key)))
+ flag|= NULL_RANGE;
+ else
+ flag|= UNIQUE_RANGE;
}
}
}
@@ -10378,7 +10379,7 @@ get_quick_keys(PARAM *param,QUICK_RANGE_SELECT *quick,KEY_PART *key,
}
/*
- Return 1 if there is only one range and this uses the whole primary key
+ Return 1 if there is only one range and this uses the whole unique key
*/
bool QUICK_RANGE_SELECT::unique_key_range()
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc
index 47771a10ae7..b8780b4c4ca 100644
--- a/sql/opt_subselect.cc
+++ b/sql/opt_subselect.cc
@@ -1525,7 +1525,7 @@ static bool convert_subq_to_sj(JOIN *parent_join, Item_in_subselect *subq_pred)
for (tl= (TABLE_LIST*)(parent_lex->table_list.first); tl->next_local; tl= tl->next_local)
{}
- tl->next_local= subq_lex->leaf_tables.head();
+ tl->next_local= subq_lex->join->tables_list;
/* A theory: no need to re-connect the next_global chain */
@@ -1921,11 +1921,25 @@ int pull_out_semijoin_tables(JOIN *join)
}
}
-
table_map pulled_tables= 0;
+ table_map dep_tables= 0;
if (have_join_nest_children)
goto skip;
+ /*
+ Calculate set of tables within this semi-join nest that have
+ other dependent tables
+ */
+ child_li.rewind();
+ while ((tbl= child_li++))
+ {
+ TABLE *const table= tbl->table;
+ if (table &&
+ (table->reginfo.join_tab->dependent &
+ sj_nest->nested_join->used_tables))
+ dep_tables|= table->reginfo.join_tab->dependent;
+ }
+
/* Action #1: Mark the constant tables to be pulled out */
child_li.rewind();
while ((tbl= child_li++))
@@ -1976,7 +1990,8 @@ int pull_out_semijoin_tables(JOIN *join)
child_li.rewind();
while ((tbl= child_li++))
{
- if (tbl->table && !(pulled_tables & tbl->table->map))
+ if (tbl->table && !(pulled_tables & tbl->table->map) &&
+ !(dep_tables & tbl->table->map))
{
if (find_eq_ref_candidate(tbl->table,
sj_nest->nested_join->used_tables &
diff --git a/sql/opt_table_elimination.cc b/sql/opt_table_elimination.cc
index 4a10d402fac..9f304ad043b 100644
--- a/sql/opt_table_elimination.cc
+++ b/sql/opt_table_elimination.cc
@@ -609,6 +609,21 @@ void eliminate_tables(JOIN *join)
/* Find the tables that are referred to from WHERE/HAVING */
used_tables= (join->conds? join->conds->used_tables() : 0) |
(join->having? join->having->used_tables() : 0);
+
+ /*
+ For "INSERT ... SELECT ... ON DUPLICATE KEY UPDATE column = val"
+ we should also take into account tables mentioned in "val".
+ */
+ if (join->thd->lex->sql_command == SQLCOM_INSERT_SELECT &&
+ join->select_lex == &thd->lex->select_lex)
+ {
+ List_iterator<Item> val_it(thd->lex->value_list);
+ while ((item= val_it++))
+ {
+ DBUG_ASSERT(item->fixed);
+ used_tables |= item->used_tables();
+ }
+ }
/* Add tables referred to from the select list */
List_iterator<Item> it(join->fields_list);
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 8513ed854b7..1bfa8864cb9 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -1330,7 +1330,7 @@ end:
RETURN VALUES
*/
-void partition_info::print_no_partition_found(TABLE *table_arg)
+void partition_info::print_no_partition_found(TABLE *table_arg, myf errflag)
{
char buf[100];
char *buf_ptr= (char*)&buf;
@@ -1344,7 +1344,7 @@ void partition_info::print_no_partition_found(TABLE *table_arg)
SELECT_ACL, &table_list, TRUE))
{
my_message(ER_NO_PARTITION_FOR_GIVEN_VALUE,
- ER(ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT), MYF(0));
+ ER(ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT), errflag);
}
else
{
@@ -1360,7 +1360,7 @@ void partition_info::print_no_partition_found(TABLE *table_arg)
part_expr->unsigned_flag ? 10 : -10);
dbug_tmp_restore_column_map(table_arg->read_set, old_map);
}
- my_error(ER_NO_PARTITION_FOR_GIVEN_VALUE, MYF(0), buf_ptr);
+ my_error(ER_NO_PARTITION_FOR_GIVEN_VALUE, errflag, buf_ptr);
}
}
diff --git a/sql/partition_info.h b/sql/partition_info.h
index d3706c8abf4..ffd6e25c45c 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -288,7 +288,7 @@ public:
bool check_partition_info(THD *thd, handlerton **eng_type,
handler *file, HA_CREATE_INFO *info,
bool check_partition_function);
- void print_no_partition_found(TABLE *table);
+ void print_no_partition_found(TABLE *table, myf errflag);
void print_debug(const char *str, uint*);
Item* get_column_item(Item *item, Field *field);
int fix_partition_values(THD *thd,
diff --git a/sql/records.cc b/sql/records.cc
index 2f74030d5c4..aca950d7435 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -189,7 +189,8 @@ bool init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
info->table=table;
info->forms= &info->table; /* Only one table */
- if (table->s->tmp_table == NON_TRANSACTIONAL_TMP_TABLE &&
+ if ((table->s->tmp_table == INTERNAL_TMP_TABLE ||
+ table->s->tmp_table == NON_TRANSACTIONAL_TMP_TABLE) &&
!table->sort.addon_field)
(void) table->file->extra(HA_EXTRA_MMAP);
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 7c3cec38601..d4ca335e959 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -216,7 +216,6 @@ uchar *sys_var::global_value_ptr(THD *thd, LEX_STRING *base)
bool sys_var::check(THD *thd, set_var *var)
{
- do_deprecated_warning(thd);
if ((var->value && do_check(thd, var))
|| (on_check && on_check(this, thd, var)))
{
@@ -442,10 +441,10 @@ int mysql_del_sys_var_chain(sys_var *first)
{
int result= 0;
- /* A write lock should be held on LOCK_system_variables_hash */
-
+ mysql_rwlock_wrlock(&LOCK_system_variables_hash);
for (sys_var *var= first; var; var= var->next)
result|= my_hash_delete(&system_variable_hash, (uchar*) var);
+ mysql_rwlock_unlock(&LOCK_system_variables_hash);
return result;
}
@@ -592,6 +591,7 @@ err:
int set_var::check(THD *thd)
{
+ var->do_deprecated_warning(thd);
if (var->is_readonly())
{
my_error(ER_INCORRECT_GLOBAL_LOCAL_VAR, MYF(0), var->name.str, "read only");
diff --git a/sql/set_var.h b/sql/set_var.h
index 254aef397de..dd22e0c6c84 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -140,6 +140,7 @@ public:
return (option.id != -1) && ((flags & PARSE_EARLY) == parse_flags) &&
insert_dynamic(array, (uchar*)&option);
}
+ void do_deprecated_warning(THD *thd);
private:
virtual bool do_check(THD *thd, set_var *var) = 0;
@@ -153,7 +154,7 @@ private:
virtual void global_save_default(THD *thd, set_var *var) = 0;
virtual bool session_update(THD *thd, set_var *var) = 0;
virtual bool global_update(THD *thd, set_var *var) = 0;
- void do_deprecated_warning(THD *thd);
+
protected:
/**
A pointer to a value of the variable for SHOW.
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt
index 4f22ffb04de..e8d44071a43 100644
--- a/sql/share/errmsg-utf8.txt
+++ b/sql/share/errmsg-utf8.txt
@@ -1822,31 +1822,8 @@ ER_WRONG_AUTO_KEY 42000 S1009
spa "Puede ser solamente un campo automatico y este debe ser definido como una clave"
swe "Det får finnas endast ett AUTO_INCREMENT-fält och detta måste vara en nyckel"
ukr "Невірне визначення таблиці; Може бути лише один автоматичний стовбець, що повинен бути визначений як ключ"
-ER_READY
- cze "%s: p-Břipraven na spojení\nVersion: '%s' socket: '%s' port: %d""
- dan "%s: klar til tilslutninger\nVersion: '%s' socket: '%s' port: %d""
- nla "%s: klaar voor verbindingen\nVersion: '%s' socket: '%s' port: %d""
- eng "%s: ready for connections.\nVersion: '%s' socket: '%s' port: %d"
- jps "%s: 準備完了¥nVersion: '%s' socket: '%s' port: %d"",
- est "%s: ootab ühendusi\nVersion: '%s' socket: '%s' port: %d""
- fre "%s: Prêt pour des connexions\nVersion: '%s' socket: '%s' port: %d""
- ger "%s: Bereit für Verbindungen.\nVersion: '%s' Socket: '%s' Port: %d"
- greek "%s: σε αναμονή συνδέσεων\nVersion: '%s' socket: '%s' port: %d""
- hun "%s: kapcsolatra kesz\nVersion: '%s' socket: '%s' port: %d""
- ita "%s: Pronto per le connessioni\nVersion: '%s' socket: '%s' port: %d""
- jpn "%s: 準備完了\nVersion: '%s' socket: '%s' port: %d""
- kor "%s: 연결 준비중입니다\nVersion: '%s' socket: '%s' port: %d""
- nor "%s: klar for tilkoblinger\nVersion: '%s' socket: '%s' port: %d""
- norwegian-ny "%s: klar for tilkoblingar\nVersion: '%s' socket: '%s' port: %d""
- pol "%s: gotowe do poł?czenia\nVersion: '%s' socket: '%s' port: %d""
- por "%s: Pronto para conexões\nVersion: '%s' socket: '%s' port: %d""
- rum "%s: sint gata pentru conectii\nVersion: '%s' socket: '%s' port: %d""
- rus "%s: Готов принимать соединения.\nВерсия: '%s' сокет: '%s' порт: %d"
- serbian "%s: Spreman za konekcije\nVersion: '%s' socket: '%s' port: %d""
- slo "%s: pripravený na spojenie\nVersion: '%s' socket: '%s' port: %d""
- spa "%s: preparado para conexiones\nVersion: '%s' socket: '%s' port: %d""
- swe "%s: klar att ta emot klienter\nVersion: '%s' socket: '%s' port: %d""
- ukr "%s: Готовий для з'єднань!\nVersion: '%s' socket: '%s' port: %d""
+ER_UNUSED_2
+ eng "You should never see it"
ER_NORMAL_SHUTDOWN
cze "%s: norm-Bální ukončení\n"
dan "%s: Normal nedlukning\n"
@@ -5067,17 +5044,17 @@ ER_UNSUPPORTED_PS
eng "This command is not supported in the prepared statement protocol yet"
ger "Dieser Befehl wird im Protokoll für vorbereitete Anweisungen noch nicht unterstützt"
ER_GET_ERRMSG
- dan "Modtog fejl %d '%-.100s' fra %s"
- eng "Got error %d '%-.100s' from %s"
- ger "Fehler %d '%-.100s' von %s"
- nor "Mottok feil %d '%-.100s' fa %s"
- norwegian-ny "Mottok feil %d '%-.100s' fra %s"
+ dan "Modtog fejl %d '%-.200s' fra %s"
+ eng "Got error %d '%-.200s' from %s"
+ ger "Fehler %d '%-.200s' von %s"
+ nor "Mottok feil %d '%-.200s' fa %s"
+ norwegian-ny "Mottok feil %d '%-.200s' fra %s"
ER_GET_TEMPORARY_ERRMSG
- dan "Modtog temporary fejl %d '%-.100s' fra %s"
- eng "Got temporary error %d '%-.100s' from %s"
- ger "Temporärer Fehler %d '%-.100s' von %s"
- nor "Mottok temporary feil %d '%-.100s' fra %s"
- norwegian-ny "Mottok temporary feil %d '%-.100s' fra %s"
+ dan "Modtog temporary fejl %d '%-.200s' fra %s"
+ eng "Got temporary error %d '%-.200s' from %s"
+ ger "Temporärer Fehler %d '%-.200s' von %s"
+ nor "Mottok temporary feil %d '%-.200s' fra %s"
+ norwegian-ny "Mottok temporary feil %d '%-.200s' fra %s"
ER_UNKNOWN_TIME_ZONE
eng "Unknown or incorrect time zone: '%-.64s'"
ger "Unbekannte oder falsche Zeitzone: '%-.64s'"
diff --git a/sql/slave.cc b/sql/slave.cc
index 4664db3ac64..169b3dd92d7 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1673,10 +1673,14 @@ when it try to get the value of TIME_ZONE global variable from master.";
if (mysql_errno(mysql) == ER_UNKNOWN_SYSTEM_VARIABLE)
{
- // this is tolerable as OM -> NS is supported
- mi->report(WARNING_LEVEL, mysql_errno(mysql),
- "Notifying master by %s failed with "
- "error: %s", query, mysql_error(mysql));
+ /* Ignore this expected error if not a high error level */
+ if (global_system_variables.log_warnings > 1)
+ {
+ // this is tolerable as OM -> NS is supported
+ mi->report(WARNING_LEVEL, mysql_errno(mysql),
+ "Notifying master by %s failed with "
+ "error: %s", query, mysql_error(mysql));
+ }
}
else
{
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index abce5659775..9f5dbea63de 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -162,10 +162,11 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
- Run a normal repair using the new index file and the old data file
*/
- if (table->s->frm_version != FRM_VER_TRUE_VARCHAR)
+ if (table->s->frm_version != FRM_VER_TRUE_VARCHAR &&
+ table->s->varchar_fields)
{
error= send_check_errmsg(thd, table_list, "repair",
- "Failed repairing incompatible .frm file");
+ "Failed repairing a very old .frm file as the data file format has changed between versions. Please dump the table in your old system with mysqldump and read it into this system with mysql or mysqlimport");
goto end;
}
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 5eb6607fb4d..b2a22152149 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -238,6 +238,7 @@ static void check_unused(THD *thd)
uint count= 0, open_files= 0, idx= 0;
TABLE *cur_link, *start_link, *entry;
TABLE_SHARE *share;
+ DBUG_ENTER("check_unused");
if ((start_link=cur_link=unused_tables))
{
@@ -246,7 +247,7 @@ static void check_unused(THD *thd)
if (cur_link != cur_link->next->prev || cur_link != cur_link->prev->next)
{
DBUG_PRINT("error",("Unused_links aren't linked properly")); /* purecov: inspected */
- return; /* purecov: inspected */
+ DBUG_VOID_RETURN; /* purecov: inspected */
}
} while (count++ < table_cache_count &&
(cur_link=cur_link->next) != start_link);
@@ -294,6 +295,7 @@ static void check_unused(THD *thd)
DBUG_PRINT("error",("Unused_links doesn't match open_cache: diff: %d", /* purecov: inspected */
count)); /* purecov: inspected */
}
+ DBUG_VOID_RETURN;
}
#else
#define check_unused(A)
@@ -3106,6 +3108,7 @@ retry_share:
MDL_deadlock_handler mdl_deadlock_handler(ot_ctx);
bool wait_result;
+ DBUG_PRINT("info", ("old version of table share found"));
release_table_share(share);
mysql_mutex_unlock(&LOCK_open);
@@ -3130,6 +3133,7 @@ retry_share:
and try to reopen them. Note: refresh_version is currently
changed only during FLUSH TABLES.
*/
+ DBUG_PRINT("info", ("share version differs between tables"));
release_table_share(share);
mysql_mutex_unlock(&LOCK_open);
(void)ot_ctx->request_backoff_action(Open_table_context::OT_REOPEN_TABLES,
@@ -3142,12 +3146,17 @@ retry_share:
{
table= share->free_tables.front();
table_def_use_table(thd, table);
- /* We need to release share as we have EXTRA reference to it in our hands. */
+ /*
+ We need to release share as we have EXTRA reference to it in our hands.
+ */
+ DBUG_PRINT("info", ("release temporarily acquired table share"));
release_table_share(share);
}
else
{
- /* We have too many TABLE instances around let us try to get rid of them. */
+ /*
+ We have too many TABLE instances around let us try to get rid of them.
+ */
while (table_cache_count > table_cache_size && unused_tables)
free_cache_entry(unused_tables);
@@ -3220,6 +3229,7 @@ err_unlock:
release_table_share(share);
mysql_mutex_unlock(&LOCK_open);
+ DBUG_PRINT("exit", ("failed"));
DBUG_RETURN(TRUE);
}
@@ -6734,9 +6744,9 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list,
else
{
if (thd->mark_used_columns == MARK_COLUMNS_READ)
- it->walk(&Item::register_field_in_read_map, 1, (uchar *) 0);
+ it->walk(&Item::register_field_in_read_map, 0, (uchar *) 0);
else
- it->walk(&Item::register_field_in_write_map, 1, (uchar *) 0);
+ it->walk(&Item::register_field_in_write_map, 0, (uchar *) 0);
}
}
else
@@ -7006,7 +7016,7 @@ find_field_in_tables(THD *thd, Item_ident *item,
*/
if (db)
return cur_field;
-
+
if (found)
{
if (report_error == REPORT_ALL_ERRORS ||
@@ -7021,7 +7031,7 @@ find_field_in_tables(THD *thd, Item_ident *item,
if (found)
return found;
-
+
/*
If the field was qualified and there were no tables to search, issue
an error that an unknown table was given. The situation is detected
@@ -7948,10 +7958,16 @@ err:
order, thus when we iterate over it, we are moving from the right
to the left in the FROM clause.
+ NOTES
+ We can't run this many times as the first_name_resolution_table would
+ be different for subsequent runs when sub queries has been optimized
+ away.
+
RETURN
TRUE Error
FALSE OK
*/
+
static bool setup_natural_join_row_types(THD *thd,
List<TABLE_LIST> *from_clause,
Name_resolution_context *context)
@@ -7961,6 +7977,19 @@ static bool setup_natural_join_row_types(THD *thd,
if (from_clause->elements == 0)
DBUG_RETURN(false); /* We come here in the case of UNIONs. */
+ /*
+ Do not redo work if already done:
+ 1) for stored procedures,
+ 2) for multitable update after lock failure and table reopening.
+ */
+ if (!context->select_lex->first_natural_join_processing)
+ {
+ context->first_name_resolution_table= context->natural_join_first_table;
+ DBUG_PRINT("info", ("using cached setup_natural_join_row_types"));
+ DBUG_RETURN(false);
+ }
+ context->select_lex->first_natural_join_processing= false;
+
List_iterator_fast<TABLE_LIST> table_ref_it(*from_clause);
TABLE_LIST *table_ref; /* Current table reference. */
/* Table reference to the left of the current. */
@@ -7977,22 +8006,15 @@ static bool setup_natural_join_row_types(THD *thd,
left_neighbor= table_ref_it++;
}
while (left_neighbor && left_neighbor->sj_subq_pred);
- /*
- Do not redo work if already done:
- 1) for stored procedures,
- 2) for multitable update after lock failure and table reopening.
- */
- if (context->select_lex->first_natural_join_processing)
+
+ if (store_top_level_join_columns(thd, table_ref,
+ left_neighbor, right_neighbor))
+ DBUG_RETURN(true);
+ if (left_neighbor)
{
- if (store_top_level_join_columns(thd, table_ref,
- left_neighbor, right_neighbor))
- DBUG_RETURN(true);
- if (left_neighbor)
- {
- TABLE_LIST *first_leaf_on_the_right;
- first_leaf_on_the_right= table_ref->first_leaf_for_name_resolution();
- left_neighbor->next_name_resolution_table= first_leaf_on_the_right;
- }
+ TABLE_LIST *first_leaf_on_the_right;
+ first_leaf_on_the_right= table_ref->first_leaf_for_name_resolution();
+ left_neighbor->next_name_resolution_table= first_leaf_on_the_right;
}
right_neighbor= table_ref;
}
@@ -8006,8 +8028,11 @@ static bool setup_natural_join_row_types(THD *thd,
DBUG_ASSERT(right_neighbor);
context->first_name_resolution_table=
right_neighbor->first_leaf_for_name_resolution();
- context->select_lex->first_natural_join_processing= false;
-
+ /*
+ This is only to ensure that first_name_resolution_table doesn't
+ change on re-execution
+ */
+ context->natural_join_first_table= context->first_name_resolution_table;
DBUG_RETURN (false);
}
@@ -8353,12 +8378,9 @@ bool setup_tables(THD *thd, Name_resolution_context *context,
if (table_list->merge_underlying_list)
{
DBUG_ASSERT(table_list->is_merged_derived());
- Query_arena *arena= thd->stmt_arena, backup;
+ Query_arena *arena, backup;
+ arena= thd->activate_stmt_arena_if_needed(&backup);
bool res;
- if (arena->is_conventional())
- arena= 0; // For easier test
- else
- thd->set_n_backup_active_arena(arena, &backup);
res= table_list->setup_underlying(thd);
if (arena)
thd->restore_active_arena(arena, &backup);
@@ -8609,7 +8631,7 @@ insert_fields(THD *thd, Name_resolution_context *context, const char *db_name,
if (!(item= field_iterator.create_item(thd)))
DBUG_RETURN(TRUE);
-// DBUG_ASSERT(item->fixed);
+
/* cache the table for the Item_fields inserted by expanding stars */
if (item->type() == Item::FIELD_ITEM && tables->cacheable_table)
((Item_field *)item)->cached_table= tables;
@@ -8737,11 +8759,8 @@ void wrap_ident(THD *thd, Item **conds)
{
Item_direct_ref_to_ident *wrapper;
DBUG_ASSERT((*conds)->type() == Item::FIELD_ITEM || (*conds)->type() == Item::REF_ITEM);
- Query_arena *arena= thd->stmt_arena, backup;
- if (arena->is_conventional())
- arena= 0;
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ Query_arena *arena, backup;
+ arena= thd->activate_stmt_arena_if_needed(&backup);
if ((wrapper= new Item_direct_ref_to_ident((Item_ident *)(*conds))))
(*conds)= (Item*) wrapper;
if (arena)
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 334d6c5a619..2641ab9bc4f 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -1349,6 +1349,7 @@ MYSQL_ERROR* THD::raise_condition(uint sql_errno,
got_warning= 1;
break;
case MYSQL_ERROR::WARN_LEVEL_ERROR:
+ mysql_audit_general(this, MYSQL_AUDIT_GENERAL_ERROR, sql_errno, msg);
break;
default:
DBUG_ASSERT(FALSE);
@@ -2515,6 +2516,7 @@ bool select_result::check_simple_select() const
static String default_line_term("\n",default_charset_info);
static String default_escaped("\\",default_charset_info);
static String default_field_term("\t",default_charset_info);
+static String default_enclosed_and_line_start("", default_charset_info);
static String default_xml_row_term("<row>", default_charset_info);
sql_exchange::sql_exchange(char *name, bool flag,
@@ -2523,7 +2525,7 @@ sql_exchange::sql_exchange(char *name, bool flag,
{
filetype= filetype_arg;
field_term= &default_field_term;
- enclosed= line_start= &my_empty_string;
+ enclosed= line_start= &default_enclosed_and_line_start;
line_term= filetype == FILETYPE_CSV ?
&default_line_term : &default_xml_row_term;
escaped= &default_escaped;
diff --git a/sql/sql_class.h b/sql/sql_class.h
index d10769d10a8..8d19069fbcf 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -120,6 +120,10 @@ enum enum_filetype { FILETYPE_CSV, FILETYPE_XML };
#define MODE_NO_ENGINE_SUBSTITUTION (MODE_HIGH_NOT_PRECEDENCE*2)
#define MODE_PAD_CHAR_TO_FULL_LENGTH (ULL(1) << 31)
+/* Bits for different old style modes */
+#define OLD_MODE_NO_DUP_KEY_WARNINGS_WITH_IGNORE 1
+#define OLD_MODE_NO_PROGRESS_INFO 2
+
extern char internal_table_name[2];
extern char empty_c_string[1];
extern MYSQL_PLUGIN_IMPORT const char **errmesg;
@@ -485,6 +489,7 @@ typedef struct system_variables
ulonglong long_query_time;
ulonglong optimizer_switch;
ulonglong sql_mode; ///< which non-standard SQL behaviour should be enabled
+ ulonglong old_behavior; ///< which old SQL behaviour should be enabled
ulonglong option_bits; ///< OPTION_xxx constants, e.g. OPTION_PROFILING
ulonglong join_buff_space_limit;
ulonglong log_slow_filter;
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index b584ed6de93..f09c585fa79 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -358,6 +358,14 @@ bool mysql_derived_merge(THD *thd, LEX *lex, TABLE_LIST *derived)
if (derived->merged)
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;
+ }
+
if (thd->lex->sql_command == SQLCOM_UPDATE_MULTI ||
thd->lex->sql_command == SQLCOM_DELETE_MULTI)
thd->save_prep_leaf_list= TRUE;
@@ -604,11 +612,8 @@ bool mysql_derived_prepare(THD *thd, LEX *lex, TABLE_LIST *derived)
thd->lex->sql_command == SQLCOM_DELETE_MULTI))))
DBUG_RETURN(FALSE);
- Query_arena *arena= thd->stmt_arena, backup;
- if (arena->is_conventional())
- arena= 0; // For easier test
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ Query_arena *arena, backup;
+ arena= thd->activate_stmt_arena_if_needed(&backup);
SELECT_LEX *first_select= unit->first_select();
@@ -708,7 +713,7 @@ exit:
{
TABLE *table= derived->table;
table->derived_select_number= first_select->select_number;
- table->s->tmp_table= NON_TRANSACTIONAL_TMP_TABLE;
+ table->s->tmp_table= INTERNAL_TMP_TABLE;
#ifndef NO_EMBEDDED_ACCESS_CHECKS
if (derived->referencing_view)
table->grant= derived->grant;
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 294c9c5008d..43b04073e05 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1718,7 +1718,9 @@ int write_record(THD *thd, TABLE *table,COPY_INFO *info)
if (info->ignore &&
!table->file->is_fatal_error(error, HA_CHECK_DUP_KEY))
{
- table->file->print_error(error, MYF(ME_JUST_WARNING));
+ if (!(thd->variables.old_behavior &
+ OLD_MODE_NO_DUP_KEY_WARNINGS_WITH_IGNORE))
+ table->file->print_error(error, MYF(ME_JUST_WARNING));
goto ok_or_after_trg_err;
}
goto err;
@@ -1848,7 +1850,9 @@ int write_record(THD *thd, TABLE *table,COPY_INFO *info)
if (!info->ignore ||
table->file->is_fatal_error(error, HA_CHECK_DUP))
goto err;
- table->file->print_error(error, MYF(ME_JUST_WARNING));
+ if (!(thd->variables.old_behavior &
+ OLD_MODE_NO_DUP_KEY_WARNINGS_WITH_IGNORE))
+ table->file->print_error(error, MYF(ME_JUST_WARNING));
table->file->restore_auto_increment(prev_insert_id);
goto ok_or_after_trg_err;
}
@@ -2390,6 +2394,9 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
bitmap= (uchar*) (field + share->fields + 1);
copy->record[0]= (bitmap + share->column_bitmap_size*3);
memcpy((char*) copy->record[0], (char*) table->record[0], share->reclength);
+ /* Ensure we don't use the table list of the original table */
+ copy->pos_in_table_list= 0;
+
/*
Make a copy of all fields.
The copied fields need to point into the copied record. This is done
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 5afbe5bcd6a..61e1eeee679 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -492,6 +492,7 @@ void lex_start(THD *thd)
lex->select_lex.ftfunc_list= &lex->select_lex.ftfunc_list_alloc;
lex->select_lex.group_list.empty();
lex->select_lex.order_list.empty();
+ lex->select_lex.gorder_list.empty();
lex->duplicates= DUP_ERROR;
lex->ignore= 0;
lex->spname= NULL;
@@ -2137,14 +2138,15 @@ void st_select_lex_unit::exclude_tree()
this to 'last' as dependent
SYNOPSIS
- last - pointer to last st_select_lex struct, before wich all
+ last - pointer to last st_select_lex struct, before which all
st_select_lex have to be marked as dependent
NOTE
'last' should be reachable from this st_select_lex_node
*/
-bool st_select_lex::mark_as_dependent(THD *thd, st_select_lex *last, Item *dependency)
+bool st_select_lex::mark_as_dependent(THD *thd, st_select_lex *last,
+ Item *dependency)
{
DBUG_ASSERT(this != last);
@@ -2335,7 +2337,10 @@ bool st_select_lex::setup_ref_array(THD *thd, uint order_group_num)
If we need a bigger array, we must allocate a new one.
*/
if (ref_pointer_array_size >= n_elems)
+ {
+ DBUG_PRINT("info", ("reusing old ref_array"));
return false;
+ }
}
ref_pointer_array= static_cast<Item**>(arena->alloc(sizeof(Item*) * n_elems));
if (ref_pointer_array != NULL)
@@ -2600,7 +2605,9 @@ bool LEX::can_be_merged()
// TODO: do not forget implement case when select_lex.table_list.elements==0
/* find non VIEW subqueries/unions */
- bool selects_allow_merge= select_lex.next_select() == 0;
+ bool selects_allow_merge= (select_lex.next_select() == 0 &&
+ !(select_lex.uncacheable &
+ UNCACHEABLE_RAND));
if (selects_allow_merge)
{
for (SELECT_LEX_UNIT *tmp_unit= select_lex.first_inner_unit();
@@ -3336,6 +3343,7 @@ static void fix_prepare_info_in_table_list(THD *thd, TABLE_LIST *tbl)
void st_select_lex::fix_prepare_information(THD *thd, Item **conds,
Item **having_conds)
{
+ DBUG_ENTER("st_select_lex::fix_prepare_information");
if (!thd->stmt_arena->is_conventional() && first_execution)
{
first_execution= 0;
@@ -3364,6 +3372,7 @@ void st_select_lex::fix_prepare_information(THD *thd, Item **conds,
}
fix_prepare_info_in_table_list(thd, table_list.first);
}
+ DBUG_VOID_RETURN;
}
@@ -4077,11 +4086,8 @@ void SELECT_LEX::mark_const_derived(bool empty)
bool st_select_lex::save_leaf_tables(THD *thd)
{
- Query_arena *arena= thd->stmt_arena, backup;
- if (arena->is_conventional())
- arena= 0;
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ Query_arena *arena, backup;
+ arena= thd->activate_stmt_arena_if_needed(&backup);
List_iterator_fast<TABLE_LIST> li(leaf_tables);
TABLE_LIST *table;
@@ -4109,10 +4115,7 @@ bool st_select_lex::save_prep_leaf_tables(THD *thd)
return 0;
Query_arena *arena= thd->stmt_arena, backup;
- if (arena->is_conventional())
- arena= 0;
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ arena= thd->activate_stmt_arena_if_needed(&backup);
List_iterator_fast<TABLE_LIST> li(leaf_tables);
TABLE_LIST *table;
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 3c3cb87e9e3..458e990f043 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -702,7 +702,7 @@ public:
void print(String *str, enum_query_type query_type);
bool add_fake_select_lex(THD *thd);
- void init_prepare_fake_select_lex(THD *thd);
+ void init_prepare_fake_select_lex(THD *thd, bool first_execution);
inline bool is_prepared() { return prepared; }
bool change_result(select_result_interceptor *result,
select_result_interceptor *old_result);
@@ -2665,6 +2665,7 @@ struct LEX: public Query_tables_list
sl->uncacheable|= cause;
un->uncacheable|= cause;
}
+ select_lex.uncacheable|= cause;
}
void set_trg_event_type_for_tables();
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index d497b6d1263..c091d526220 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2183,6 +2183,7 @@ mysql_execute_command(THD *thd)
bool have_table_map_for_update= FALSE;
#endif
DBUG_ENTER("mysql_execute_command");
+
#ifdef WITH_PARTITION_STORAGE_ENGINE
thd->work_part_info= 0;
#endif
@@ -4976,6 +4977,7 @@ finish:
DBUG_ASSERT(!thd->in_active_multi_stmt_transaction() ||
thd->in_multi_stmt_transaction_mode());
+ lex->unit.cleanup();
if (! thd->in_sub_stmt)
{
@@ -5008,7 +5010,6 @@ finish:
#endif
}
- lex->unit.cleanup();
/* Free tables */
thd_proc_info(thd, "closing tables");
close_thread_tables(thd);
@@ -6695,7 +6696,11 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
ptr->schema_table= schema_table;
}
ptr->select_lex= lex->current_select;
- ptr->cacheable_table= 1;
+ /*
+ We can't cache internal temporary tables between prepares as the
+ table may be deleted before next exection.
+ */
+ ptr->cacheable_table= !table->is_derived_table();
ptr->index_hints= index_hints_arg;
ptr->option= option ? option->str : 0;
/* check that used name is unique */
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index eb48e2be48b..357bd8efc27 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -5106,6 +5106,8 @@ that are reorganised.
}
else if (alter_info->flags & ALTER_REBUILD_PARTITION)
{
+ set_engine_all_partitions(tab_part_info,
+ tab_part_info->default_engine_type);
if (set_part_state(alter_info, tab_part_info, PART_CHANGED))
{
my_error(ER_DROP_PARTITION_NON_EXISTENT, MYF(0), "REBUILD");
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 57c9b726fdb..3df75c72257 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -192,6 +192,7 @@ mysql_mutex_t LOCK_plugin;
static DYNAMIC_ARRAY plugin_dl_array;
static DYNAMIC_ARRAY plugin_array;
static HASH plugin_hash[MYSQL_MAX_PLUGIN_TYPE_NUM];
+static MEM_ROOT plugin_mem_root;
static bool reap_needed= false;
static int plugin_array_version=0;
@@ -201,7 +202,7 @@ static bool initialized= 0;
write-lock on LOCK_system_variables_hash is required before modifying
the following variables/structures
*/
-static MEM_ROOT plugin_mem_root;
+static MEM_ROOT plugin_vars_mem_root;
static uint global_variables_dynamic_size= 0;
static HASH bookmark_hash;
@@ -297,8 +298,8 @@ public:
/* prototypes */
-static void plugin_load(MEM_ROOT *tmp_root, int *argc, char **argv);
-static bool plugin_load_list(MEM_ROOT *, int *, char **, const char *);
+static void plugin_load(MEM_ROOT *tmp_root);
+static bool plugin_load_list(MEM_ROOT *, const char *);
static int test_plugin_options(MEM_ROOT *, struct st_plugin_int *,
int *, char **);
static bool register_builtin(struct st_maria_plugin *, struct st_plugin_int *,
@@ -1038,8 +1039,7 @@ static st_plugin_int *plugin_insert_or_reuse(struct st_plugin_int *plugin)
Requires that a write-lock is held on LOCK_system_variables_hash
*/
static bool plugin_add(MEM_ROOT *tmp_root,
- const LEX_STRING *name, LEX_STRING *dl,
- int *argc, char **argv, int report)
+ const LEX_STRING *name, LEX_STRING *dl, int report)
{
struct st_plugin_int tmp;
struct st_maria_plugin *plugin;
@@ -1102,15 +1102,9 @@ static bool plugin_add(MEM_ROOT *tmp_root,
tmp.ref_count= 0;
tmp.state= PLUGIN_IS_UNINITIALIZED;
tmp.load_option= PLUGIN_ON;
- if (test_plugin_options(tmp_root, &tmp, argc, argv))
- tmp.state= PLUGIN_IS_DISABLED;
if (!(tmp_plugin_ptr= plugin_insert_or_reuse(&tmp)))
- {
- mysql_del_sys_var_chain(tmp.system_vars);
- restore_pluginvar_names(tmp.system_vars);
goto err;
- }
plugin_array_version++;
if (my_hash_insert(&plugin_hash[plugin->type], (uchar*)tmp_plugin_ptr))
tmp_plugin_ptr->state= PLUGIN_IS_FREED;
@@ -1196,6 +1190,8 @@ static void plugin_deinitialize(struct st_plugin_int *plugin, bool ref_check)
if (ref_check && plugin->ref_count)
sql_print_error("Plugin '%s' has ref_count=%d after deinitialization.",
plugin->name.str, plugin->ref_count);
+
+ restore_pluginvar_names(plugin->system_vars);
}
static void plugin_del(struct st_plugin_int *plugin)
@@ -1203,10 +1199,6 @@ static void plugin_del(struct st_plugin_int *plugin)
DBUG_ENTER("plugin_del");
mysql_mutex_assert_owner(&LOCK_plugin);
/* Free allocated strings before deleting the plugin. */
- mysql_rwlock_wrlock(&LOCK_system_variables_hash);
- mysql_del_sys_var_chain(plugin->system_vars);
- mysql_rwlock_unlock(&LOCK_system_variables_hash);
- restore_pluginvar_names(plugin->system_vars);
plugin_vars_free_values(plugin->system_vars);
my_hash_delete(&plugin_hash[plugin->plugin->type], (uchar*)plugin);
if (plugin->plugin_dl)
@@ -1342,7 +1334,8 @@ void plugin_unlock_list(THD *thd, plugin_ref *list, uint count)
}
-static int plugin_initialize(struct st_plugin_int *plugin)
+static int plugin_initialize(MEM_ROOT *tmp_root, struct st_plugin_int *plugin,
+ int *argc, char **argv, bool options_only)
{
int ret= 1;
DBUG_ENTER("plugin_initialize");
@@ -1352,6 +1345,18 @@ static int plugin_initialize(struct st_plugin_int *plugin)
DBUG_ASSERT(state == PLUGIN_IS_UNINITIALIZED);
mysql_mutex_unlock(&LOCK_plugin);
+
+ mysql_rwlock_wrlock(&LOCK_system_variables_hash);
+ if (test_plugin_options(tmp_root, plugin, argc, argv))
+ state= PLUGIN_IS_DISABLED;
+ mysql_rwlock_unlock(&LOCK_system_variables_hash);
+
+ if (options_only || state == PLUGIN_IS_DISABLED)
+ {
+ ret= 0;
+ goto err;
+ }
+
if (plugin_type_initialize[plugin->plugin->type])
{
if ((*plugin_type_initialize[plugin->plugin->type])(plugin))
@@ -1413,6 +1418,9 @@ static int plugin_initialize(struct st_plugin_int *plugin)
ret= 0;
err:
+ if (ret)
+ restore_pluginvar_names(plugin->system_vars);
+
mysql_mutex_lock(&LOCK_plugin);
plugin->state= state;
@@ -1508,6 +1516,7 @@ int plugin_init(int *argc, char **argv, int flags)
#endif
init_alloc_root(&plugin_mem_root, 4096, 4096);
+ init_alloc_root(&plugin_vars_mem_root, 4096, 4096);
init_alloc_root(&tmp_root, 4096, 4096);
if (my_hash_init(&bookmark_hash, &my_charset_bin, 16, 0, 0,
@@ -1575,10 +1584,7 @@ int plugin_init(int *argc, char **argv, int flags)
}
free_root(&tmp_root, MYF(MY_MARK_BLOCKS_FREE));
- if (test_plugin_options(&tmp_root, &tmp, argc, argv))
- tmp.state= PLUGIN_IS_DISABLED;
- else
- tmp.state= PLUGIN_IS_UNINITIALIZED;
+ tmp.state= PLUGIN_IS_UNINITIALIZED;
if (register_builtin(plugin, &tmp, &plugin_ptr))
goto err_unlock;
@@ -1593,15 +1599,12 @@ int plugin_init(int *argc, char **argv, int flags)
mysqld --help for all other users, we will only initialize
MyISAM here.
*/
- if (!(flags & PLUGIN_INIT_SKIP_INITIALIZATION) || is_myisam)
+ if (plugin_initialize(&tmp_root, plugin_ptr, argc, argv, !is_myisam &&
+ (flags & PLUGIN_INIT_SKIP_INITIALIZATION)))
{
- if (plugin_ptr->state == PLUGIN_IS_UNINITIALIZED &&
- plugin_initialize(plugin_ptr))
- {
- if (mandatory)
- goto err_unlock;
- plugin_ptr->state= PLUGIN_IS_DISABLED;
- }
+ if (mandatory)
+ goto err_unlock;
+ plugin_ptr->state= PLUGIN_IS_DISABLED;
}
/*
@@ -1627,14 +1630,11 @@ int plugin_init(int *argc, char **argv, int flags)
if (!(flags & PLUGIN_INIT_SKIP_DYNAMIC_LOADING))
{
if (opt_plugin_load)
- plugin_load_list(&tmp_root, argc, argv, opt_plugin_load);
+ plugin_load_list(&tmp_root, opt_plugin_load);
if (!(flags & PLUGIN_INIT_SKIP_PLUGIN_TABLE))
- plugin_load(&tmp_root, argc, argv);
+ plugin_load(&tmp_root);
}
- if (flags & PLUGIN_INIT_SKIP_INITIALIZATION)
- goto end;
-
/*
Now we initialize all remaining plugins
*/
@@ -1646,9 +1646,10 @@ int plugin_init(int *argc, char **argv, int flags)
for (i= 0; i < plugin_array.elements; i++)
{
plugin_ptr= *dynamic_element(&plugin_array, i, struct st_plugin_int **);
- if (plugin_ptr->state == PLUGIN_IS_UNINITIALIZED)
+ if (plugin_ptr->plugin_dl && plugin_ptr->state == PLUGIN_IS_UNINITIALIZED)
{
- if (plugin_initialize(plugin_ptr))
+ if (plugin_initialize(&tmp_root, plugin_ptr, argc, argv,
+ (flags & PLUGIN_INIT_SKIP_INITIALIZATION)))
{
plugin_ptr->state= PLUGIN_IS_DYING;
*(reap++)= plugin_ptr;
@@ -1675,7 +1676,6 @@ int plugin_init(int *argc, char **argv, int flags)
if (reaped_mandatory_plugin)
goto err;
-end:
free_root(&tmp_root, MYF(0));
DBUG_RETURN(0);
@@ -1714,7 +1714,7 @@ static bool register_builtin(struct st_maria_plugin *plugin,
/*
called only by plugin_init()
*/
-static void plugin_load(MEM_ROOT *tmp_root, int *argc, char **argv)
+static void plugin_load(MEM_ROOT *tmp_root)
{
THD thd;
TABLE_LIST tables;
@@ -1786,7 +1786,7 @@ static void plugin_load(MEM_ROOT *tmp_root, int *argc, char **argv)
the mutex here to satisfy the assert
*/
mysql_mutex_lock(&LOCK_plugin);
- if (plugin_add(tmp_root, &name, &dl, argc, argv, REPORT_TO_LOG))
+ if (plugin_add(tmp_root, &name, &dl, REPORT_TO_LOG))
sql_print_warning("Couldn't load plugin named '%s' with soname '%s'.",
str_name.c_ptr(), str_dl.c_ptr());
free_root(tmp_root, MYF(MY_MARK_BLOCKS_FREE));
@@ -1807,8 +1807,7 @@ end:
/*
called only by plugin_init()
*/
-static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
- const char *list)
+static bool plugin_load_list(MEM_ROOT *tmp_root, const char *list)
{
char buffer[FN_REFLEN];
LEX_STRING name= {buffer, 0}, dl= {NULL, 0}, *str= &name;
@@ -1843,14 +1842,14 @@ static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
mysql_mutex_lock(&LOCK_plugin);
free_root(tmp_root, MYF(MY_MARK_BLOCKS_FREE));
name.str= 0; // load everything
- if (plugin_add(tmp_root, &name, &dl, argc, argv, REPORT_TO_LOG))
+ if (plugin_add(tmp_root, &name, &dl, REPORT_TO_LOG))
goto error;
}
else
{
free_root(tmp_root, MYF(MY_MARK_BLOCKS_FREE));
mysql_mutex_lock(&LOCK_plugin);
- if (plugin_add(tmp_root, &name, &dl, argc, argv, REPORT_TO_LOG))
+ if (plugin_add(tmp_root, &name, &dl, REPORT_TO_LOG))
goto error;
}
mysql_mutex_unlock(&LOCK_plugin);
@@ -2008,6 +2007,7 @@ void plugin_shutdown(void)
my_hash_free(&bookmark_hash);
free_root(&plugin_mem_root, MYF(0));
+ free_root(&plugin_vars_mem_root, MYF(0));
global_variables_dynamic_size= 0;
@@ -2019,28 +2019,22 @@ void plugin_shutdown(void)
That is, initialize it, and update mysql.plugin table
*/
-static bool finalize_install(THD *thd, TABLE *table, const LEX_STRING *name)
+static bool finalize_install(THD *thd, TABLE *table, const LEX_STRING *name,
+ int *argc, char **argv)
{
struct st_plugin_int *tmp= plugin_find_internal(name, MYSQL_ANY_PLUGIN);
int error;
DBUG_ASSERT(tmp);
mysql_mutex_assert_owner(&LOCK_plugin); // because of tmp->state
- if (tmp->state == PLUGIN_IS_DISABLED)
- {
- if (global_system_variables.log_warnings)
- push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- ER_CANT_INITIALIZE_UDF, ER(ER_CANT_INITIALIZE_UDF),
- name->str, "Plugin is disabled");
- }
- else if (tmp->state != PLUGIN_IS_UNINITIALIZED)
+ if (tmp->state != PLUGIN_IS_UNINITIALIZED)
{
/* already installed */
return 0;
}
else
{
- if (plugin_initialize(tmp))
+ if (plugin_initialize(thd->mem_root, tmp, argc, argv, false))
{
report_error(REPORT_TO_USER, ER_CANT_INITIALIZE_UDF, name->str,
"Plugin initialization function failed.");
@@ -2048,6 +2042,13 @@ static bool finalize_install(THD *thd, TABLE *table, const LEX_STRING *name)
return 1;
}
}
+ if (tmp->state == PLUGIN_IS_DISABLED)
+ {
+ if (global_system_variables.log_warnings)
+ push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+ ER_CANT_INITIALIZE_UDF, ER(ER_CANT_INITIALIZE_UDF),
+ name->str, "Plugin is disabled");
+ }
/*
We do not replicate the INSTALL PLUGIN statement. Disable binlogging
@@ -2097,6 +2098,12 @@ bool mysql_install_plugin(THD *thd, const LEX_STRING *name,
MYSQL_LOCK_IGNORE_TIMEOUT)))
DBUG_RETURN(TRUE);
+ if (my_load_defaults(MYSQL_CONFIG_NAME, load_default_groups, &argc, &argv, NULL))
+ {
+ report_error(REPORT_TO_USER, ER_PLUGIN_IS_NOT_LOADED, name->str);
+ DBUG_RETURN(TRUE);
+ }
+
/*
Pre-acquire audit plugins for events that may potentially occur
during [UN]INSTALL PLUGIN.
@@ -2123,23 +2130,12 @@ bool mysql_install_plugin(THD *thd, const LEX_STRING *name,
mysql_audit_acquire_plugins(thd, event_class_mask);
mysql_mutex_lock(&LOCK_plugin);
- mysql_rwlock_wrlock(&LOCK_system_variables_hash);
-
- if (my_load_defaults(MYSQL_CONFIG_NAME, load_default_groups, &argc, &argv, NULL))
- {
- report_error(REPORT_TO_USER, ER_PLUGIN_IS_NOT_LOADED, name->str);
- goto err;
- }
- error= plugin_add(thd->mem_root, name, &dl, &argc, argv, REPORT_TO_USER);
- if (argv)
- free_defaults(argv);
- mysql_rwlock_unlock(&LOCK_system_variables_hash);
-
+ error= plugin_add(thd->mem_root, name, &dl, REPORT_TO_USER);
if (error)
goto err;
if (name->str)
- error= finalize_install(thd, table, name);
+ error= finalize_install(thd, table, name, &argc, argv);
else
{
st_plugin_dl *plugin_dl= plugin_dl_find(&dl);
@@ -2147,22 +2143,20 @@ bool mysql_install_plugin(THD *thd, const LEX_STRING *name,
for (plugin= plugin_dl->plugins; plugin->info; plugin++)
{
LEX_STRING str= { const_cast<char*>(plugin->name), strlen(plugin->name) };
- error|= finalize_install(thd, table, &str);
+ error|= finalize_install(thd, table, &str, &argc, argv);
}
}
if (error)
- goto deinit;
-
- mysql_mutex_unlock(&LOCK_plugin);
- DBUG_RETURN(FALSE);
-
-deinit:
- reap_needed= true;
- reap_plugins();
+ {
+ reap_needed= true;
+ reap_plugins();
+ }
err:
mysql_mutex_unlock(&LOCK_plugin);
- DBUG_RETURN(TRUE);
+ if (argv)
+ free_defaults(argv);
+ DBUG_RETURN(error);
}
@@ -2371,8 +2365,14 @@ err:
#undef MYSQL_SYSVAR_NAME
#define MYSQL_SYSVAR_NAME(name) name
-#define PLUGIN_VAR_TYPEMASK 0x007f
-#define PLUGIN_VAR_BOOKMARK_KEY (PLUGIN_VAR_TYPEMASK | PLUGIN_VAR_MEMALLOC)
+#define PLUGIN_VAR_TYPEMASK 0x7f
+#define BOOKMARK_MEMALLOC 0x80
+
+static inline char plugin_var_bookmark_key(uint flags)
+{
+ return (flags & PLUGIN_VAR_TYPEMASK) |
+ (flags & PLUGIN_VAR_MEMALLOC ? BOOKMARK_MEMALLOC : 0);
+}
#define EXTRA_OPTIONS 3 /* options for: 'foo', 'plugin-foo' and NULL */
@@ -2752,7 +2752,7 @@ static st_bookmark *find_bookmark(const char *plugin, const char *name,
else
memcpy(varname + 1, name, namelen + 1);
- varname[0]= flags & PLUGIN_VAR_BOOKMARK_KEY;
+ varname[0]= plugin_var_bookmark_key(flags);
result= (st_bookmark*) my_hash_search(&bookmark_hash,
(const uchar*) varname, length - 1);
@@ -2811,9 +2811,9 @@ static st_bookmark *register_var(const char *plugin, const char *name,
if (!(result= find_bookmark(NULL, varname + 1, flags)))
{
- result= (st_bookmark*) alloc_root(&plugin_mem_root,
+ result= (st_bookmark*) alloc_root(&plugin_vars_mem_root,
sizeof(struct st_bookmark) + length-1);
- varname[0]= flags & PLUGIN_VAR_BOOKMARK_KEY;
+ varname[0]= plugin_var_bookmark_key(flags);
memcpy(result->key, varname, length);
result->name_len= length - 2;
result->offset= -1;
@@ -2870,6 +2870,7 @@ static st_bookmark *register_var(const char *plugin, const char *name,
static void restore_pluginvar_names(sys_var *first)
{
+ mysql_del_sys_var_chain(first);
for (sys_var *var= first; var; var= var->next)
{
sys_var_pluginvar *pv= var->cast_pluginvar();
@@ -2935,7 +2936,7 @@ static uchar *intern_sys_var_ptr(THD* thd, int offset, bool global_lock)
if (!(var= intern_find_sys_var(v->key + 1, v->name_len)) ||
!(pi= var->cast_pluginvar()) ||
- v->key[0] != (pi->plugin_var->flags & PLUGIN_VAR_BOOKMARK_KEY))
+ v->key[0] != plugin_var_bookmark_key(pi->plugin_var->flags))
continue;
/* Here we do anything special that may be required of the data types */
@@ -3078,7 +3079,7 @@ static void cleanup_variables(THD *thd, struct system_variables *vars)
DBUG_ASSERT((uint)v->offset <= vars->dynamic_variables_head);
if ((v->key[0] & PLUGIN_VAR_TYPEMASK) == PLUGIN_VAR_STR &&
- v->key[0] & PLUGIN_VAR_MEMALLOC)
+ v->key[0] & BOOKMARK_MEMALLOC)
{
char **ptr= (char**)(vars->dynamic_variables_ptr + v->offset);
my_free(*ptr);
@@ -3806,7 +3807,7 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp,
enum_plugin_load_option plugin_load_option= tmp->load_option;
MEM_ROOT *mem_root= alloc_root_inited(&tmp->mem_root) ?
- &tmp->mem_root : &plugin_mem_root;
+ &tmp->mem_root : &plugin_vars_mem_root;
st_mysql_sys_var **opt;
my_option *opts= NULL;
LEX_STRING plugin_name;
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 656c8e53bee..3929cff7109 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -880,7 +880,7 @@ static bool insert_params_with_log(Prepared_statement *stmt, uchar *null_array,
if (param->state == Item_param::NO_VALUE)
DBUG_RETURN(1);
- if (param->limit_clause_param)
+ if (param->limit_clause_param && param->state != Item_param::INT_VALUE)
{
param->set_int(param->val_int(), MY_INT64_NUM_DECIMAL_DIGITS);
param->item_type= Item::INT_ITEM;
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index cd81b41d0ec..5d7594bf3d7 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -241,7 +241,8 @@ static ORDER *create_distinct_group(THD *thd, Item **ref_pointer_array,
List<Item> &all_fields,
bool *all_order_by_fields_used);
static bool test_if_subpart(ORDER *a,ORDER *b);
-static TABLE *get_sort_by_table(ORDER *a,ORDER *b,List<TABLE_LIST> &tables);
+static TABLE *get_sort_by_table(ORDER *a,ORDER *b,List<TABLE_LIST> &tables,
+ table_map const_tables);
static void calc_group_buffer(JOIN *join,ORDER *group);
static bool make_group_fields(JOIN *main_join, JOIN *curr_join);
static bool alloc_group_fields(JOIN *join,ORDER *group);
@@ -987,8 +988,9 @@ JOIN::optimize()
if (select_lex->handle_derived(thd->lex, DT_MERGE))
DBUG_RETURN(TRUE);
table_count= select_lex->leaf_tables.elements;
- select_lex->update_used_tables();
}
+ // Update used tables after all handling derived table procedures
+ select_lex->update_used_tables();
if (transform_max_min_subquery())
DBUG_RETURN(1); /* purecov: inspected */
@@ -1050,11 +1052,8 @@ JOIN::optimize()
MEMROOT for prepared statements and stored procedures.
*/
- Query_arena *arena= thd->stmt_arena, backup;
- if (arena->is_conventional())
- arena= 0; // For easier test
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ Query_arena *arena, backup;
+ arena= thd->activate_stmt_arena_if_needed(&backup);
sel->first_cond_optimization= 0;
@@ -1211,7 +1210,8 @@ JOIN::optimize()
goto setup_subq_exit;
}
error= -1; // Error is sent to client
- sort_by_table= get_sort_by_table(order, group_list, select_lex->leaf_tables);
+ /* get_sort_by_table() call used to be here: */
+ MEM_UNDEFINED(&sort_by_table, sizeof(sort_by_table));
/* Calculate how to do the join */
thd_proc_info(thd, "statistics");
@@ -2256,6 +2256,7 @@ JOIN::exec()
In this case JOIN::exec must check for JOIN::having_value, in the
same way it checks for JOIN::cond_value.
*/
+ DBUG_ASSERT(error == 0);
if (cond_value != Item::COND_FALSE &&
having_value != Item::COND_FALSE &&
(!conds || conds->val_int()) &&
@@ -2266,16 +2267,15 @@ JOIN::exec()
procedure->end_of_records()) : result->send_data(fields_list)> 0))
error= 1;
else
- {
- error= (int) result->send_eof();
send_records= ((select_options & OPTION_FOUND_ROWS) ? 1 :
thd->sent_row_count);
- }
}
else
- {
- error=(int) result->send_eof();
send_records= 0;
+ if (!error)
+ {
+ join_free(); // Unlock all cursors
+ error= (int) result->send_eof();
}
}
/* Single select (without union) always returns 0 or 1 row */
@@ -3177,7 +3177,7 @@ make_join_statistics(JOIN *join, List<TABLE_LIST> &tables_list,
stat_ref=(JOIN_TAB**) join->thd->alloc(sizeof(JOIN_TAB*)*
(MAX_TABLES + table_count + 1));
stat_vector= stat_ref + MAX_TABLES;
- table_vector=(TABLE**) join->thd->alloc(sizeof(TABLE*)*(table_count*2));
+ table_vector=(TABLE**) join->thd->calloc(sizeof(TABLE*)*(table_count*2));
join->positions= new (join->thd->mem_root) POSITION[(table_count+1)];
/*
best_positions is ok to allocate with alloc() as we copy things to it with
@@ -3583,6 +3583,9 @@ make_join_statistics(JOIN *join, List<TABLE_LIST> &tables_list,
}
} while (join->const_table_map & found_ref && ref_changed);
+ join->sort_by_table= get_sort_by_table(join->order, join->group_list,
+ join->select_lex->leaf_tables,
+ join->const_table_map);
/*
Update info on indexes that can be used for search lookups as
reading const tables may has added new sargable predicates.
@@ -3613,6 +3616,21 @@ make_join_statistics(JOIN *join, List<TABLE_LIST> &tables_list,
conds=new Item_int((longlong) 0,1);
}
join->conds= conds;
+ join->cond_equal= NULL;
+ if (conds)
+ {
+ if (conds->type() == Item::COND_ITEM &&
+ ((Item_cond*) conds)->functype() == Item_func::COND_AND_FUNC)
+ join->cond_equal= (&((Item_cond_and *) conds)->cond_equal);
+ else if (conds->type() == Item::FUNC_ITEM &&
+ ((Item_func*) conds)->functype() == Item_func::MULT_EQUAL_FUNC)
+ {
+ if (!join->cond_equal)
+ join->cond_equal= new COND_EQUAL;
+ join->cond_equal->current_level.empty();
+ join->cond_equal->current_level.push_back((Item_equal*) conds);
+ }
+ }
}
/* Calc how many (possible) matched records in each table */
@@ -3727,6 +3745,19 @@ make_join_statistics(JOIN *join, List<TABLE_LIST> &tables_list,
if (join->const_tables != join->table_count)
optimize_keyuse(join, keyuse_array);
+ DBUG_ASSERT(!join->conds || !join->cond_equal ||
+ !join->cond_equal->current_level.elements ||
+ (join->conds->type() == Item::COND_ITEM &&
+ ((Item_cond*) (join->conds))->functype() ==
+ Item_func::COND_AND_FUNC &&
+ join->cond_equal ==
+ &((Item_cond_and *) (join->conds))->cond_equal) ||
+ (join->conds->type() == Item::FUNC_ITEM &&
+ ((Item_func*) (join->conds))->functype() ==
+ Item_func::MULT_EQUAL_FUNC &&
+ join->cond_equal->current_level.elements == 1 &&
+ join->cond_equal->current_level.head() == join->conds));
+
if (optimize_semijoin_nests(join, all_table_map))
DBUG_RETURN(TRUE); /* purecov: inspected */
@@ -10284,7 +10315,23 @@ make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after)
join->group_list ?
join->join_tab+join->const_tables :
join->get_sort_by_join_tab();
- if (sort_by_tab)
+ /*
+ It could be that sort_by_tab==NULL, and the plan is to use filesort()
+ on the first table.
+ */
+ if (join->order)
+ {
+ join->simple_order= 0;
+ join->need_tmp= 1;
+ }
+
+ if (join->group && !join->group_optimized_away)
+ {
+ join->need_tmp= 1;
+ join->simple_group= 0;
+ }
+
+ if (sort_by_tab)
{
join->need_tmp= 1;
join->simple_order= join->simple_group= 0;
@@ -10764,17 +10811,28 @@ void JOIN::cleanup(bool full)
tabs_kind= WALK_EXECUTION_TABS;
if (table_count)
{
- for (tab= first_breadth_first_tab(this, tabs_kind); tab;
+ for (tab= first_breadth_first_tab(this, tabs_kind); tab;
tab= next_breadth_first_tab(this, tabs_kind, tab))
{
tab->cleanup();
}
+
+ if (tabs_kind == WALK_OPTIMIZATION_TABS &&
+ first_breadth_first_tab(this, WALK_OPTIMIZATION_TABS) !=
+ first_breadth_first_tab(this, WALK_EXECUTION_TABS))
+ {
+ JOIN_TAB *jt= first_breadth_first_tab(this, WALK_EXECUTION_TABS);
+ /* We've walked optimization tabs. do execution ones too */
+ if (jt)
+ jt->cleanup();
+ }
}
cleaned= true;
+
}
else
{
- for (tab= first_linear_tab(this, WITH_CONST_TABLES); tab;
+ for (tab= first_linear_tab(this, WITH_CONST_TABLES); tab;
tab= next_linear_tab(this, tab, WITH_BUSH_ROOTS))
{
if (tab->table)
@@ -10988,6 +11046,8 @@ static void update_depend_map_for_order(JOIN *join, ORDER *order)
Remove all constants and check if ORDER only contains simple
expressions.
+ We also remove all duplicate expressions, keeping only the first one.
+
simple_order is set to 1 if sort_order only uses fields from head table
and the head table is not a LEFT JOIN table.
@@ -10995,9 +11055,10 @@ static void update_depend_map_for_order(JOIN *join, ORDER *order)
@param first_order List of SORT or GROUP order
@param cond WHERE statement
@param change_list Set to 1 if we should remove things from list.
- If this is not set, then only simple_order is
- calculated.
- @param simple_order Set to 1 if we are only using simple expressions
+ If this is not set, then only simple_order is
+ calculated.
+ @param simple_order Set to 1 if we are only using simple
+ expressions.
@return
Returns new sort order
@@ -11010,7 +11071,7 @@ remove_const(JOIN *join,ORDER *first_order, COND *cond,
if (join->table_count == join->const_tables)
return change_list ? 0 : first_order; // No need to sort
- ORDER *order,**prev_ptr;
+ ORDER *order,**prev_ptr, *tmp_order;
table_map first_table;
table_map not_const_tables= ~join->const_table_map;
table_map ref;
@@ -11024,7 +11085,6 @@ remove_const(JOIN *join,ORDER *first_order, COND *cond,
first_is_base_table= TRUE;
}
-
/*
Cleanup to avoid interference of calls of this function for
ORDER BY and GROUP BY
@@ -11093,6 +11153,17 @@ remove_const(JOIN *join,ORDER *first_order, COND *cond,
}
}
}
+ /* Remove ORDER BY entries that we have seen before */
+ for (tmp_order= first_order;
+ tmp_order != order;
+ tmp_order= tmp_order->next)
+ {
+ if (tmp_order->item[0]->eq(order->item[0],1))
+ break;
+ }
+ if (tmp_order != order)
+ continue; // Duplicate order by. Remove
+
if (change_list)
*prev_ptr= order; // use this entry
prev_ptr= &order->next;
@@ -13766,16 +13837,44 @@ internal_remove_eq_conds(THD *thd, COND *cond, Item::cond_result *cond_value)
{
if (cond->type() == Item::COND_ITEM)
{
- List<Item_equal> new_equalities;
bool and_level= ((Item_cond*) cond)->functype()
== Item_func::COND_AND_FUNC;
List<Item> *cond_arg_list= ((Item_cond*) cond)->argument_list();
+
+ if (and_level)
+ {
+ /*
+ Remove multiple equalities that became always true (e.g. after
+ constant row substitution).
+ They would be removed later in the function anyway, but the list of
+ them cond_equal.current_level also must be adjusted correspondingly.
+ So it's easier to do it at one pass through the list of the equalities.
+ */
+ List<Item_equal> *cond_equalities=
+ &((Item_cond_and *) cond)->cond_equal.current_level;
+ cond_arg_list->disjoin((List<Item> *) cond_equalities);
+ List_iterator<Item_equal> it(*cond_equalities);
+ Item_equal *eq_item;
+ while ((eq_item= it++))
+ {
+ if (eq_item->const_item() && eq_item->val_int())
+ it.remove();
+ }
+ cond_arg_list->concat((List<Item> *) cond_equalities);
+ }
+
+ List<Item_equal> new_equalities;
List_iterator<Item> li(*cond_arg_list);
+ bool should_fix_fields= 0;
Item::cond_result tmp_cond_value;
- bool should_fix_fields=0;
-
- *cond_value=Item::COND_UNDEF;
Item *item;
+
+ /*
+ If the list cond_arg_list became empty then it consisted only
+ of always true multiple equalities.
+ */
+ *cond_value= cond_arg_list->elements ? Item::COND_UNDEF : Item::COND_TRUE;
+
while ((item=li++))
{
Item *new_item=internal_remove_eq_conds(thd, item, &tmp_cond_value);
@@ -14700,7 +14799,8 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
save_sum_fields|= param->precomputed_group_by;
DBUG_ENTER("create_tmp_table");
DBUG_PRINT("enter",
- ("distinct: %d save_sum_fields: %d rows_limit: %lu group: %d",
+ ("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)));
@@ -15143,23 +15243,8 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
if (!(field->flags & NOT_NULL_FLAG))
{
- if (field->flags & GROUP_FLAG && !using_unique_constraint)
- {
- /*
- We have to reserve one byte here for NULL bits,
- as this is updated by 'end_update()'
- */
- *pos++=0; // Null is stored here
- recinfo->length=1;
- recinfo->type=FIELD_NORMAL;
- recinfo++;
- bzero((uchar*) recinfo,sizeof(*recinfo));
- }
- else
- {
- recinfo->null_bit= (uint8)1 << (null_count & 7);
- recinfo->null_pos= null_count/8;
- }
+ recinfo->null_bit= (uint8)1 << (null_count & 7);
+ recinfo->null_pos= null_count/8;
field->move_field(pos,null_flags+null_count/8,
(uint8)1 << (null_count & 7));
null_count++;
@@ -16156,7 +16241,8 @@ free_tmp_table(THD *thd, TABLE *entry)
MEM_ROOT own_root= entry->mem_root;
const char *save_proc_info;
DBUG_ENTER("free_tmp_table");
- DBUG_PRINT("enter",("table: %s",entry->alias.c_ptr()));
+ DBUG_PRINT("enter",("table: %s alias: %s",entry->s->table_name.str,
+ entry->alias.c_ptr()));
save_proc_info=thd->proc_info;
thd_proc_info(thd, "removing tmp table");
@@ -18085,19 +18171,6 @@ end_update(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
goto end;
}
- /*
- Copy null bits from group key to table
- We can't copy all data as the key may have different format
- as the row data (for example as with VARCHAR keys)
- */
- KEY_PART_INFO *key_part;
- for (group=table->group,key_part=table->key_info[0].key_part;
- group ;
- group=group->next,key_part++)
- {
- if (key_part->null_bit)
- memcpy(table->record[0]+key_part->offset, group->buff, 1);
- }
init_tmptable_sum_functions(join->sum_funcs);
if (copy_funcs(join->tmp_table_param.items_to_copy, join->thd))
DBUG_RETURN(NESTED_LOOP_ERROR); /* purecov: inspected */
@@ -18751,7 +18824,7 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx,
key as a suffix to the secondary keys. If it has continue to check
the primary key as a suffix.
*/
- if (!on_pk_suffix &&
+ if (!on_pk_suffix && (table->key_info[idx].ext_key_part_map & 1) &&
(table->file->ha_table_flags() & HA_PRIMARY_KEY_IN_READ_INDEX) &&
table->s->primary_key != MAX_KEY &&
table->s->primary_key != idx)
@@ -18775,20 +18848,22 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx,
(((key_part_map) 1) << pk_part_idx)))
break;
}
+
/* Adjust const_key_parts */
const_key_parts&= (((key_part_map) 1) << pk_part_idx) -1;
- for (; const_key_parts & 1 ; const_key_parts>>= 1)
- key_part++;
+ for (; const_key_parts & 1 ; const_key_parts>>= 1)
+ key_part++;
/*
Test if the primary key parts were all const (i.e. there's one row).
The sorting doesn't matter.
*/
- if (key_part == start+table->key_info[table->s->primary_key].key_parts &&
+ if (key_part ==
+ start+table->key_info[table->s->primary_key].key_parts &&
reverse == 0)
{
key_parts= 0;
- reverse= 1;
+ reverse= 1; // Key is ok to use
goto ok;
}
}
@@ -19373,7 +19448,7 @@ check_reverse_order:
table->disable_keyread();
}
}
- else if (tab->type != JT_ALL)
+ else if (tab->type != JT_ALL || tab->select->quick)
{
/*
We're about to use a quick access to the table.
@@ -20714,7 +20789,8 @@ test_if_subpart(ORDER *a,ORDER *b)
*/
static TABLE *
-get_sort_by_table(ORDER *a,ORDER *b, List<TABLE_LIST> &tables)
+get_sort_by_table(ORDER *a,ORDER *b, List<TABLE_LIST> &tables,
+ table_map const_tables)
{
TABLE_LIST *table;
List_iterator<TABLE_LIST> ti(tables);
@@ -20728,6 +20804,23 @@ get_sort_by_table(ORDER *a,ORDER *b, List<TABLE_LIST> &tables)
for (; a && b; a=a->next,b=b->next)
{
+ /* Skip elements of a that are constant */
+ while (!((*a->item)->used_tables() & ~const_tables))
+ {
+ if (!(a= a->next))
+ break;
+ }
+
+ /* Skip elements of b that are constant */
+ while (!((*b->item)->used_tables() & ~const_tables))
+ {
+ if (!(b= b->next))
+ break;
+ }
+
+ if (!a || !b)
+ break;
+
if (!(*a->item)->eq(*b->item,1))
DBUG_RETURN(0);
map|=a->item[0]->used_tables();
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index ae12e5ff3cd..2cc204ee542 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -2177,7 +2177,8 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
field->maybe_null=1;
field_list.push_back(field=new Item_empty_string("Info",max_query_length));
field->maybe_null=1;
- if (!thd->variables.old_mode)
+ if (!thd->variables.old_mode &&
+ !(thd->variables.old_behavior & OLD_MODE_NO_PROGRESS_INFO))
{
field_list.push_back(field= new Item_float("Progress", 0.0, 3, 7));
field->maybe_null= 0;
@@ -2249,6 +2250,7 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
(double) tmp->progress.max_counter) /
(double) max_stage)) *
100.0);
+ set_if_smaller(thd_info->progress, 100);
}
else
thd_info->progress= 0.0;
@@ -2283,7 +2285,8 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
protocol->store(thd_info->state_info, system_charset_info);
protocol->store(thd_info->query_string.str(),
thd_info->query_string.charset());
- if (!thd->variables.old_mode)
+ if (!thd->variables.old_mode &&
+ !(thd->variables.old_behavior & OLD_MODE_NO_PROGRESS_INFO))
protocol->store(thd_info->progress, 3, &store_buffer);
if (protocol->write())
break; /* purecov: inspected */
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 7a5b84488d7..dda8a5fc710 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -6960,14 +6960,35 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
/* Only report error if handler has not already reported an error */
if (!thd->is_error())
{
- /*
- Exchange the key_info for the error message. If we exchange
- key number by key name in the message later, we need correct info.
- */
- KEY *save_key_info= table->key_info;
- table->key_info= key_info;
- table->file->print_error(error, MYF(0));
- table->key_info= save_key_info;
+ /*
+ HACK HACK HACK
+ Prepare the list of keys for an error message.
+ It must match what the engine does internally in ::add_index().
+ Here we emulate what innobase_create_key_def() does.
+ Luckily, in 10.0 this will go away.
+ */
+ KEY *save_key_info= table->key_info;
+ uint add_cnt= index_add_count, old_cnt= table->s->keys;
+ KEY *merged= (KEY*)thd->alloc((old_cnt + add_cnt) * sizeof(KEY));
+#define is_PK(K) (!my_strcasecmp(system_charset_info, (K)->name, "PRIMARY"))
+
+ if (is_PK(key_info))
+ {
+ merged[0]= key_info[0];
+ if (is_PK(table->key_info))
+ {
+ old_cnt--;
+ table->key_info++;
+ }
+ memcpy(merged + 1, table->key_info, old_cnt * sizeof(KEY));
+ memcpy(merged + old_cnt + 1, key_info + 1, (add_cnt - 1) * sizeof(KEY));
+ }
+ else
+ merged= key_info;
+
+ table->key_info= merged;
+ table->file->print_error(error, MYF(0));
+ table->key_info= save_key_info;
}
goto err_new_table_cleanup;
}
diff --git a/sql/sql_time.cc b/sql/sql_time.cc
index dab8a907678..efcde017671 100644
--- a/sql/sql_time.cc
+++ b/sql/sql_time.cc
@@ -230,6 +230,20 @@ check_date_with_warn(const MYSQL_TIME *ltime, ulonglong fuzzy_date,
}
+bool
+adjust_time_range_with_warn(MYSQL_TIME *ltime, uint dec)
+{
+ MYSQL_TIME copy= *ltime;
+ ErrConvTime str(&copy);
+ int warnings= 0;
+ if (check_time_range(ltime, dec, &warnings))
+ return true;
+ if (warnings)
+ make_truncated_value_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+ &str, MYSQL_TIMESTAMP_TIME, NullS);
+ return false;
+}
+
/*
Convert a string to 8-bit representation,
for use in str_to_time/str_to_date/str_to_date.
@@ -1085,3 +1099,22 @@ int my_time_compare(MYSQL_TIME *a, MYSQL_TIME *b)
return 0;
}
+
+/*
+ Convert a TIME value to DAY-TIME interval, e.g. for extraction:
+ EXTRACT(DAY FROM x), EXTRACT(HOUR FROM x), etc.
+ Moves full days from ltime->hour to ltime->day.
+ Note, time_type is set to MYSQL_TIMESTAMP_NONE, to make sure that
+ the structure is not used for anything else other than extraction:
+ non-extraction TIME functions expect zero day value!
+*/
+void time_to_daytime_interval(MYSQL_TIME *ltime)
+{
+ DBUG_ASSERT(ltime->time_type == MYSQL_TIMESTAMP_TIME);
+ DBUG_ASSERT(ltime->year == 0);
+ DBUG_ASSERT(ltime->month == 0);
+ DBUG_ASSERT(ltime->day == 0);
+ ltime->day= ltime->hour / 24;
+ ltime->hour%= 24;
+ ltime->time_type= MYSQL_TIMESTAMP_NONE;
+}
diff --git a/sql/sql_time.h b/sql/sql_time.h
index f8b1e950b14..f9092769749 100644
--- a/sql/sql_time.h
+++ b/sql/sql_time.h
@@ -33,6 +33,7 @@ typedef struct st_known_date_time_format KNOWN_DATE_TIME_FORMAT;
ulong convert_period_to_month(ulong period);
ulong convert_month_to_period(ulong month);
+void time_to_daytime_interval(MYSQL_TIME *l_time);
bool get_date_from_daynr(long daynr,uint *year, uint *month, uint *day);
my_time_t TIME_to_timestamp(THD *thd, const MYSQL_TIME *t, uint *error_code);
bool str_to_time_with_warn(CHARSET_INFO *cs, const char *str, uint length,
@@ -123,5 +124,6 @@ check_date(const MYSQL_TIME *ltime, ulonglong flags, int *was_cut)
}
bool check_date_with_warn(const MYSQL_TIME *ltime, ulonglong fuzzy_date,
timestamp_type ts_type);
-
+bool adjust_time_range_with_warn(MYSQL_TIME *ltime, uint dec);
+
#endif /* SQL_TIME_INCLUDED */
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 22b5e5727e8..82fe7f2936a 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -193,13 +193,15 @@ void select_union::cleanup()
SYNOPSIS
st_select_lex_unit::init_prepare_fake_select_lex()
thd - thread handler
+ first_execution - TRUE at the first execution of the union
RETURN
options of SELECT
*/
void
-st_select_lex_unit::init_prepare_fake_select_lex(THD *thd_arg)
+st_select_lex_unit::init_prepare_fake_select_lex(THD *thd_arg,
+ bool first_execution)
{
thd_arg->lex->current_select= fake_select_lex;
fake_select_lex->table_list.link_in_list(&result_table_list,
@@ -207,7 +209,13 @@ st_select_lex_unit::init_prepare_fake_select_lex(THD *thd_arg)
fake_select_lex->context.table_list=
fake_select_lex->context.first_name_resolution_table=
fake_select_lex->get_table_list();
- if (!fake_select_lex->first_execution)
+ /*
+ The flag fake_select_lex->first_execution indicates whether this is
+ called at the first execution of the statement, while first_execution
+ shows whether this is called at the first execution of the union that
+ may form just a subselect.
+ */
+ if (!fake_select_lex->first_execution && first_execution)
{
for (ORDER *order= global_parameters->order_list.first;
order;
@@ -481,7 +489,7 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
{
/* Validate the global parameters of this union */
- init_prepare_fake_select_lex(thd);
+ init_prepare_fake_select_lex(thd, TRUE);
/* Should be done only once (the only item_list per statement) */
DBUG_ASSERT(fake_select_lex->join == 0);
if (!(fake_select_lex->join= new JOIN(thd, item_list, thd->variables.option_bits,
@@ -622,6 +630,7 @@ bool st_select_lex_unit::exec()
SELECT_LEX *select_cursor=first_select();
ulonglong add_rows=0;
ha_rows examined_rows= 0;
+ bool first_execution= !executed;
DBUG_ENTER("st_select_lex_unit::exec");
if (executed && !uncacheable && !describe)
@@ -638,6 +647,10 @@ bool st_select_lex_unit::exec()
{
ha_rows records_at_start= 0;
thd->lex->current_select= sl;
+ if (sl != &thd->lex->select_lex)
+ fake_select_lex->uncacheable|= sl->uncacheable;
+ else
+ fake_select_lex->uncacheable= 0;
{
set_limit(sl);
@@ -742,7 +755,7 @@ bool st_select_lex_unit::exec()
if (!thd->is_fatal_error) // Check if EOM
{
set_limit(global_parameters);
- init_prepare_fake_select_lex(thd);
+ init_prepare_fake_select_lex(thd, first_execution);
JOIN *join= fake_select_lex->join;
if (!join)
{
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index 52872e8ea5b..74e80cdebfd 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -1138,11 +1138,7 @@ bool mysql_make_view(THD *thd, File_parser *parser, TABLE_LIST *table,
will be TRUE as far as we make new table cache).
*/
old_lex= thd->lex;
- arena= thd->stmt_arena;
- if (arena->is_conventional())
- arena= 0;
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ arena= thd->activate_stmt_arena_if_needed(&backup);
/* init timestamp */
if (!table->timestamp.str)
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 1c1cd0958f1..de6bd59cf7e 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -9369,7 +9369,7 @@ variable_aux:
if ($$ == NULL)
MYSQL_YYABORT;
LEX *lex= Lex;
- lex->uncacheable(UNCACHEABLE_RAND);
+ lex->uncacheable(UNCACHEABLE_SIDEEFFECT);
lex->set_var_list.push_back(item);
}
| ident_or_text
@@ -9378,7 +9378,7 @@ variable_aux:
if ($$ == NULL)
MYSQL_YYABORT;
LEX *lex= Lex;
- lex->uncacheable(UNCACHEABLE_RAND);
+ lex->uncacheable(UNCACHEABLE_SIDEEFFECT);
}
| '@' opt_var_ident_type ident_or_text opt_component
{
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 6c3dd171706..96276a1b896 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2002, 2012, Oracle and/or its affiliates.
- Copyright (c) 2012, Monty Program Ab
+/* Copyright (c) 2002, 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
@@ -1410,7 +1410,7 @@ static Sys_var_ulong Sys_net_retry_count(
ON_UPDATE(fix_net_retry_count));
static Sys_var_mybool Sys_old_mode(
- "old", "Use compatible behavior",
+ "old", "Use compatible behavior from previous MariaDB version. See also --old-mode",
SESSION_VAR(old_mode), CMD_LINE(OPT_ARG), DEFAULT(FALSE));
static Sys_var_mybool Sys_old_alter_table(
@@ -1789,9 +1789,13 @@ static Sys_var_charptr Sys_socket(
static Sys_var_ulong Sys_thread_concurrency(
"thread_concurrency",
"Permits the application to give the threads system a hint for "
- "the desired number of threads that should be run at the same time",
+ "the desired number of threads that should be run at the same time."
+ "This variable has no effect, and is deprecated. "
+ "It will be removed in a future release.",
READ_ONLY GLOBAL_VAR(concurrency), CMD_LINE(REQUIRED_ARG),
- VALID_RANGE(1, 512), DEFAULT(DEFAULT_CONCURRENCY), BLOCK_SIZE(1));
+ VALID_RANGE(1, 512), DEFAULT(DEFAULT_CONCURRENCY), BLOCK_SIZE(1),
+ NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), ON_UPDATE(0),
+ DEPRECATED(""));
static Sys_var_ulonglong Sys_thread_stack(
"thread_stack", "The stack size for each thread",
@@ -2227,6 +2231,30 @@ static Sys_var_set Sys_sql_mode(
sql_mode_names, DEFAULT(0), NO_MUTEX_GUARD, NOT_IN_BINLOG,
ON_CHECK(check_sql_mode), ON_UPDATE(fix_sql_mode));
+static const char *old_mode_names[]=
+{
+ "NO_DUP_KEY_WARNINGS_WITH_IGNORE", "NO_PROGRESS_INFO",
+ 0
+};
+
+export bool old_mode_string_representation(THD *thd, ulonglong sql_mode,
+ LEX_STRING *ls)
+{
+ set_to_string(thd, ls, sql_mode, old_mode_names);
+ return ls->str == 0;
+}
+/*
+ sql_mode should *not* be IN_BINLOG as the slave can't remember this
+ anyway on restart.
+*/
+static Sys_var_set Sys_old_behavior(
+ "old_mode",
+ "Used to emulate old behavior from earlier MariaDB or MySQL versions. "
+ "Syntax: old_mode=mode[,mode[,mode...]]. "
+ "See the manual for the complete list of valid old modes",
+ SESSION_VAR(old_behavior), CMD_LINE(REQUIRED_ARG),
+ old_mode_names, DEFAULT(0), NO_MUTEX_GUARD, NOT_IN_BINLOG);
+
#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
#define SSL_OPT(X) CMD_LINE(REQUIRED_ARG,X)
#else
diff --git a/sql/table.cc b/sql/table.cc
index 0905ba81474..97b745762a5 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -737,14 +737,10 @@ err_not_open:
}
-static bool create_key_infos(uchar *strpos, uint keys, KEY *keyinfo, uint new_frm_ver,
+static bool create_key_infos(uchar *strpos, uint keys, KEY *keyinfo,
+ uint new_frm_ver,
uint &ext_key_parts, TABLE_SHARE *share, uint len,
- KEY *first_keyinfo, char* &keynames
-
-
-
-
- )
+ KEY *first_keyinfo, char* &keynames)
{
uint i, j, n_length;
KEY_PART_INFO *key_part= NULL;
@@ -851,7 +847,6 @@ static bool create_key_infos(uchar *strpos, uint keys, KEY *keyinfo, uint new_fr
keyinfo->ext_key_part_map= 0;
if (share->use_ext_keys && i)
{
- keyinfo->ext_key_part_map= 0;
for (j= 0;
j < first_key_parts && keyinfo->ext_key_parts < MAX_REF_PARTS;
j++)
@@ -1151,7 +1146,8 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
share->set_use_ext_keys_flag(share->db_type()->flags & HTON_EXTENDED_KEYS);
- if (create_key_infos(disk_buff + 6, keys, keyinfo, new_frm_ver, ext_key_parts,
+ if (create_key_infos(disk_buff + 6, keys, keyinfo, new_frm_ver,
+ ext_key_parts,
share, len, &first_keyinfo, keynames))
goto err;
@@ -1245,7 +1241,8 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
}
else
{
- if (create_key_infos(disk_buff + 6, keys, keyinfo, new_frm_ver, ext_key_parts,
+ if (create_key_infos(disk_buff + 6, keys, keyinfo, new_frm_ver,
+ ext_key_parts,
share, len, &first_keyinfo, keynames))
goto err;
}
@@ -4099,8 +4096,9 @@ bool TABLE_LIST::create_field_translation(THD *thd)
SELECT_LEX *select= get_single_select();
List_iterator_fast<Item> it(select->item_list);
uint field_count= 0;
- Query_arena *arena= thd->stmt_arena, backup;
+ Query_arena *arena, backup;
bool res= FALSE;
+ DBUG_ENTER("TABLE_LIST::create_field_translation");
if (thd->stmt_arena->is_conventional() ||
thd->stmt_arena->is_stmt_prepare_or_first_sp_execute())
@@ -4121,7 +4119,7 @@ bool TABLE_LIST::create_field_translation(THD *thd)
if (field_translation)
{
/*
- Update items in the field translation aftet view have been prepared.
+ Update items in the field translation after view have been prepared.
It's needed because some items in the select list, like IN subselects,
might be substituted for optimized ones.
*/
@@ -4134,13 +4132,10 @@ bool TABLE_LIST::create_field_translation(THD *thd)
field_translation_updated= TRUE;
}
- return FALSE;
+ DBUG_RETURN(FALSE);
}
- if (arena->is_conventional())
- arena= 0; // For easier test
- else
- thd->set_n_backup_active_arena(arena, &backup);
+ arena= thd->activate_stmt_arena_if_needed(&backup);
/* Create view fields translation table */
@@ -4160,12 +4155,14 @@ bool TABLE_LIST::create_field_translation(THD *thd)
}
field_translation= transl;
field_translation_end= transl + field_count;
+ /* It's safe to cache this table for prepared statements */
+ cacheable_table= 1;
exit:
if (arena)
thd->restore_active_arena(arena, &backup);
- return res;
+ DBUG_RETURN(res);
}
@@ -5031,10 +5028,8 @@ TABLE *TABLE_LIST::get_real_join_table()
*/
for (TABLE_LIST *t= ti++; t; t= ti++)
tbl= t;
- /*
- It is impossible that the list is empty
- so tbl can't be NULL after above loop.
- */
+ if (!tbl)
+ return NULL; // view/derived with no tables
if (!tbl->nested_join)
break;
/* go deeper if we've found nested join */
diff --git a/sql/tztime.cc b/sql/tztime.cc
index 5883d3b839e..70a79f809df 100644
--- a/sql/tztime.cc
+++ b/sql/tztime.cc
@@ -41,6 +41,8 @@
#include <my_time.h>
#include "tztime.h"
#include <my_sys.h>
+#include <mysql_version.h>
+#include <my_getopt.h>
#endif
#include "tzfile.h"
@@ -63,6 +65,8 @@
#endif /* !defined(DBUG_OFF) */
#endif /* defined(TZINFO2SQL) || defined(TESTTIME) */
+#define PROGRAM_VERSION "1.1"
+
/* Structure describing local time type (e.g. Moscow summer time (MSD)) */
typedef struct ttinfo
{
@@ -2386,7 +2390,6 @@ void Time_zone::adjust_leap_second(MYSQL_TIME *t)
tables.
*/
-
/*
Print info about time zone described by TIME_ZONE_INFO struct as
SQL statements populating mysql.time_zone* tables.
@@ -2471,6 +2474,15 @@ MEM_ROOT tz_storage;
char fullname[FN_REFLEN + 1];
char *root_name_end;
+/*
+ known file types that exist in the zoneinfo directory that are safe to
+ silently skip
+*/
+const char *known_extensions[]= {
+ ".tab",
+ NullS
+};
+
/*
Recursively scan zoneinfo directory and print all found time zone
@@ -2479,6 +2491,8 @@ char *root_name_end;
SYNOPSIS
scan_tz_dir()
name_end - pointer to end of path to directory to be searched.
+ symlink_recursion_level How many symlink directory levels are used
+ verbose >0 if we should print warnings
DESCRIPTION
This auxiliary recursive function also uses several global
@@ -2494,7 +2508,7 @@ char *root_name_end;
*/
my_bool
-scan_tz_dir(char * name_end, uint symlink_recursion_level)
+scan_tz_dir(char * name_end, uint symlink_recursion_level, uint verbose)
{
MY_DIR *cur_dir;
char *name_end_tmp;
@@ -2534,12 +2548,21 @@ scan_tz_dir(char * name_end, uint symlink_recursion_level)
following such symlinks infinitely:
/usr/share/zoneinfo/posix/posix/posix/.../posix/
*/
- fflush(stdout);
- fprintf(stderr, "Warning: Skipping directory '%s': "
- "to avoid infinite symlink recursion.\n", fullname);
+
+ /*
+ This is a normal case and not critical. only print warning if
+ verbose mode is choosen.
+ */
+ if (verbose > 0)
+ {
+ fflush(stdout);
+ fprintf(stderr, "Warning: Skipping directory '%s': "
+ "to avoid infinite symlink recursion.\n", fullname);
+ }
continue;
}
- if (scan_tz_dir(name_end_tmp, symlink_recursion_level + is_symlink))
+ if (scan_tz_dir(name_end_tmp, symlink_recursion_level + is_symlink,
+ verbose))
{
my_dirend(cur_dir);
return 1;
@@ -2552,10 +2575,28 @@ scan_tz_dir(char * name_end, uint symlink_recursion_level)
print_tz_as_sql(root_name_end + 1, &tz_info);
else
{
- fflush(stdout);
- fprintf(stderr,
- "Warning: Unable to load '%s' as time zone. Skipping it.\n",
- fullname);
+ /*
+ Some systems (like debian, opensuse etc) have description
+ files (.tab). We skip these silently if verbose is > 0
+ */
+ const char *current_ext= fn_ext(fullname);
+ my_bool known_ext= 0;
+
+ for (const char **ext= known_extensions ; *ext ; ext++)
+ {
+ if (!strcmp(*ext, current_ext))
+ {
+ known_ext= 1;
+ break;
+ }
+ }
+ if (verbose > 0 || !known_ext)
+ {
+ fflush(stdout);
+ fprintf(stderr,
+ "Warning: Unable to load '%s' as time zone. Skipping it.\n",
+ fullname);
+ }
}
free_root(&tz_storage, MYF(0));
}
@@ -2574,37 +2615,118 @@ scan_tz_dir(char * name_end, uint symlink_recursion_level)
}
+my_bool opt_leap, opt_verbose;
+
+static const char *load_default_groups[]=
+{ "mysql_tzinfo_to_sql", 0};
+
+static struct my_option my_long_options[] =
+{
+ {"help", '?', "Display this help and exit.", 0, 0, 0, GET_NO_ARG, NO_ARG,
+ 0, 0, 0, 0, 0, 0},
+#ifdef DBUG_OFF
+ {"debug", '#', "This is a non-debug version. Catch this and exit",
+ 0,0, 0, GET_DISABLED, OPT_ARG, 0, 0, 0, 0, 0, 0},
+#else
+ {"debug", '#', "Output debug log. Often this is 'd:t:o,filename'.",
+ 0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+#endif
+ {"leap", 'l', "Print the leap second information from the given time zone file. By convention, when --leap is used the next argument is the timezonefile",
+ &opt_leap, &opt_leap, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
+ {"verbose", 'v', "Write non critical warnings",
+ &opt_verbose, &opt_verbose, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
+ {"version", 'V', "Output version information and exit.",
+ 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
+ { 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
+};
+
+
+C_MODE_START
+static my_bool get_one_option(int optid, const struct my_option *,
+ char *argument);
+C_MODE_END
+
+static void print_version(void)
+{
+ printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname, PROGRAM_VERSION,
+ MYSQL_SERVER_VERSION,SYSTEM_TYPE,MACHINE_TYPE);
+}
+
+static void print_usage(void)
+{
+ fprintf(stderr, "Usage:\n");
+ fprintf(stderr, " %s [options] timezonedir\n", my_progname);
+ fprintf(stderr, " %s [options] timezonefile timezonename\n", my_progname);
+ print_defaults("my",load_default_groups);
+ puts("");
+ my_print_help(my_long_options);
+ my_print_variables(my_long_options);
+}
+
+
+static my_bool
+get_one_option(int optid, const struct my_option *opt, char *argument)
+{
+ switch(optid) {
+ case '#':
+#ifndef DBUG_OFF
+ DBUG_PUSH(argument ? argument : "d:t:S:i:O,/tmp/mysq_tzinfo_to_sql.trace");
+#endif
+ break;
+ case '?':
+ print_version();
+ puts("");
+ print_usage();
+ exit(0);
+ case 'V':
+ print_version();
+ exit(0);
+ }
+ return 0;
+}
+
+
int
main(int argc, char **argv)
{
+ char **default_argv;
MY_INIT(argv[0]);
- if (argc != 2 && argc != 3)
+ if (load_defaults("my",load_default_groups,&argc,&argv))
+ exit(1);
+
+ default_argv= argv;
+
+ if ((handle_options(&argc, &argv, my_long_options, get_one_option)))
+ exit(1);
+
+ if ((argc != 1 && argc != 2) || (opt_leap && argc != 1))
{
- fprintf(stderr, "Usage:\n");
- fprintf(stderr, " %s timezonedir\n", argv[0]);
- fprintf(stderr, " %s timezonefile timezonename\n", argv[0]);
- fprintf(stderr, " %s --leap timezonefile\n", argv[0]);
+ print_usage();
+ free_defaults(default_argv);
return 1;
}
// Replicate MyISAM DDL for this session, cf. lp:1161432
printf("SET SESSION wsrep_replicate_myisam=ON;\n");
- if (argc == 2)
+ if (argc == 1 && !opt_leap)
{
- root_name_end= strmake_buf(fullname, argv[1]);
+ /* Argument is timezonedir */
+
+ root_name_end= strmake_buf(fullname, argv[0]);
printf("TRUNCATE TABLE time_zone;\n");
printf("TRUNCATE TABLE time_zone_name;\n");
printf("TRUNCATE TABLE time_zone_transition;\n");
printf("TRUNCATE TABLE time_zone_transition_type;\n");
- if (scan_tz_dir(root_name_end, 0))
+ if (scan_tz_dir(root_name_end, 0, opt_verbose))
{
fflush(stdout);
- fprintf(stderr, "There were fatal errors during processing "
- "of zoneinfo directory\n");
+ fprintf(stderr,
+ "There were fatal errors during processing "
+ "of zoneinfo directory '%s'\n", fullname);
return 1;
}
@@ -2615,32 +2737,27 @@ main(int argc, char **argv)
}
else
{
+ /*
+ First argument is timezonefile.
+ The second is timezonename if opt_leap is not given
+ */
init_alloc_root(&tz_storage, 32768, 0);
- if (strcmp(argv[1], "--leap") == 0)
+ if (tz_load(argv[0], &tz_info, &tz_storage))
{
- if (tz_load(argv[2], &tz_info, &tz_storage))
- {
- fflush(stdout);
- fprintf(stderr, "Problems with zoneinfo file '%s'\n", argv[2]);
- return 1;
- }
- print_tz_leaps_as_sql(&tz_info);
+ fflush(stdout);
+ fprintf(stderr, "Problems with zoneinfo file '%s'\n", argv[0]);
+ return 1;
}
+ if (opt_leap)
+ print_tz_leaps_as_sql(&tz_info);
else
- {
- if (tz_load(argv[1], &tz_info, &tz_storage))
- {
- fflush(stdout);
- fprintf(stderr, "Problems with zoneinfo file '%s'\n", argv[2]);
- return 1;
- }
- print_tz_as_sql(argv[2], &tz_info);
- }
+ print_tz_as_sql(argv[1], &tz_info);
free_root(&tz_storage, MYF(0));
}
+ free_defaults(default_argv);
my_end(0);
return 0;
}
diff --git a/storage/innobase/btr/btr0cur.c b/storage/innobase/btr/btr0cur.c
index 81a482e2854..7762907b6aa 100644
--- a/storage/innobase/btr/btr0cur.c
+++ b/storage/innobase/btr/btr0cur.c
@@ -61,6 +61,7 @@ Created 10/16/1994 Heikki Tuuri
#include "row0upd.h"
#include "trx0rec.h"
#include "trx0roll.h" /* trx_is_recv() */
+#include "trx0undo.h"
#include "que0que.h"
#include "row0row.h"
#include "srv0srv.h"
@@ -1631,7 +1632,7 @@ btr_cur_upd_lock_and_undo(
/***********************************************************//**
Writes a redo log record of updating a record in-place. */
-UNIV_INLINE
+UNIV_INTERN
void
btr_cur_update_in_place_log(
/*========================*/
@@ -1659,18 +1660,30 @@ 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, roll_ptr, log_ptr,
- mtr);
+ if (dict_index_is_clust(index)) {
+ log_ptr = row_upd_write_sys_vals_to_log(
+ index, trx, 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.c b/storage/innobase/btr/btr0pcur.c
index 0cfdf138bad..09b3715e096 100644
--- a/storage/innobase/btr/btr0pcur.c
+++ b/storage/innobase/btr/btr0pcur.c
@@ -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
@@ -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 (UNIV_UNLIKELY(page_get_n_recs(page) == 0)) {
/* It must be an empty index tree; NOTE that in this case
@@ -235,21 +234,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)) {
@@ -273,14 +263,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),
@@ -292,9 +282,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);
@@ -312,7 +299,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);
}
}
@@ -414,7 +407,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));
@@ -469,7 +462,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/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c
index 141a92cfc32..cd7e22ac64f 100644
--- a/storage/innobase/dict/dict0dict.c
+++ b/storage/innobase/dict/dict0dict.c
@@ -36,6 +36,11 @@ UNIV_INTERN dict_index_t* dict_ind_redundant;
/** dummy index for ROW_FORMAT=COMPACT supremum and infimum records */
UNIV_INTERN dict_index_t* dict_ind_compact;
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+UNIV_INTERN uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#ifndef UNIV_HOTBACKUP
#include "buf0buf.h"
#include "data0type.h"
@@ -4499,6 +4504,8 @@ dict_update_statistics(
dict_index_t* index;
ulint sum_of_index_sizes = 0;
+ DBUG_EXECUTE_IF("skip_innodb_statistics", return;);
+
if (table->ibd_file_missing) {
ut_print_timestamp(stderr);
fprintf(stderr,
@@ -4539,6 +4546,12 @@ dict_update_statistics(
continue;
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug && !dict_index_is_clust(index)) {
+ goto fake_statistics;
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
if (UNIV_LIKELY
(srv_force_recovery < SRV_FORCE_NO_IBUF_MERGE
|| (srv_force_recovery < SRV_FORCE_NO_LOG_REDO
diff --git a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c
index 3a19a730126..700d1404193 100644
--- a/storage/innobase/fil/fil0fil.c
+++ b/storage/innobase/fil/fil0fil.c
@@ -3531,7 +3531,7 @@ fil_load_single_table_tablespace(
if (check_msg) {
fprintf(stderr,
- "InnoDB: Error: %s in file %s",
+ "InnoDB: Error: %s in file %s\n",
check_msg, filepath);
goto func_exit;
}
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 83f559e5161..152883a3e4c 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -53,6 +53,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <innodb_priv.h>
#include <mysql/psi/psi.h>
#include <my_sys.h>
+#include <my_check_opt.h>
#ifdef _WIN32
#include <io.h>
@@ -8871,6 +8872,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 (prebuilt->table->ibd_file_missing) {
+ n_rows = HA_POS_ERROR;
+ goto func_exit;
+ }
if (UNIV_UNLIKELY(!index)) {
n_rows = HA_POS_ERROR;
goto func_exit;
@@ -9599,8 +9604,7 @@ 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;
@@ -9657,11 +9661,6 @@ ha_innobase::check(
do additional check */
prebuilt->table->corrupted = FALSE;
- /* Enlarge the fatal lock wait timeout during CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold += SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
for (index = dict_table_get_first_index(prebuilt->table);
index != NULL;
index = dict_table_get_next_index(index)) {
@@ -9674,20 +9673,41 @@ ha_innobase::check(
/* If this is an index being created, break */
if (*index->name == TEMP_INDEX_PREFIX) {
- break;
- } else if (!btr_validate_index(index, prebuilt->trx)) {
- is_ok = FALSE;
+ continue;
+ }
+ if (!(check_opt->flags & T_QUICK)) {
+ /* Enlarge the fatal lock wait timeout during
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold +=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ ibool valid = TRUE;
+ valid = btr_validate_index(index, prebuilt->trx);
+
+ /* Restore the fatal lock wait timeout after
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold -=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ if (!valid) {
+ is_ok = FALSE;
- innobase_format_name(
- index_name, sizeof index_name,
- prebuilt->index->name, TRUE);
+ innobase_format_name(
+ index_name, sizeof index_name,
+ index->name, TRUE);
+ push_warning_printf(thd,
+ MYSQL_ERROR::WARN_LEVEL_WARN,
+ ER_NOT_KEYFILE,
+ "InnoDB: The B-tree of"
+ " index %s is corrupted.",
+ index_name);
- push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- ER_NOT_KEYFILE,
- "InnoDB: The B-tree of"
- " index %s is corrupted.",
- index_name);
- continue;
+ continue;
+ }
}
/* Instead of invoking change_active_index(), set up
@@ -9791,21 +9811,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 */
+#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
+ /* 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 (!(check_opt->flags & T_QUICK) && !btr_search_validate()) {
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
ER_NOT_KEYFILE,
"InnoDB: The adaptive hash index is corrupted.");
is_ok = FALSE;
}
-
- /* Restore the fatal lock wait timeout after CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold -= SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
+#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
prebuilt->trx->op_info = "";
if (thd_kill_level(user_thd)) {
my_error(ER_QUERY_INTERRUPTED, MYF(0));
@@ -10666,7 +10682,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);
@@ -10731,13 +10747,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);
}
/************************************************************************//**
diff --git a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c
index 306cdefc304..d22fc8b9962 100644
--- a/storage/innobase/ibuf/ibuf0ibuf.c
+++ b/storage/innobase/ibuf/ibuf0ibuf.c
@@ -193,11 +193,6 @@ access order rules. */
/** Operations that can currently be buffered. */
UNIV_INTERN ibuf_use_t ibuf_use = IBUF_USE_ALL;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-UNIV_INTERN uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
UNIV_INTERN ibuf_t* ibuf = NULL;
@@ -2649,6 +2644,12 @@ ibuf_contract_ext(
return(0);
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug) {
+ return(0);
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
ibuf_mtr_start(&mtr);
/* Open a cursor to a randomly chosen leaf of the tree, at a random
@@ -4016,6 +4017,24 @@ updated_in_place:
to btr_cur_update_in_place(). */
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,
+ NULL, 0, mtr);
+ DBUG_EXECUTE_IF(
+ "crash_after_log_ibuf_upd_inplace",
+ log_buffer_flush_to_disk();
+ fprintf(stderr,
+ "InnoDB: Wrote log record for ibuf "
+ "update in place operation\n");
+ DBUG_SUICIDE();
+ );
+
+
goto updated_in_place;
}
diff --git a/storage/innobase/include/btr0cur.h b/storage/innobase/include/btr0cur.h
index 283a6eec852..78637ea7295 100644
--- a/storage/innobase/include/btr0cur.h
+++ b/storage/innobase/include/btr0cur.h
@@ -636,6 +636,21 @@ btr_cur_set_deleted_flag_for_ibuf(
uncompressed */
ibool val, /*!< in: value to set */
mtr_t* mtr); /*!< in/out: mini-transaction */
+
+/***********************************************************//**
+Writes a redo log record of updating a record in-place. */
+UNIV_INTERN
+void
+btr_cur_update_in_place_log(
+/*========================*/
+ ulint flags, /*!< in: flags */
+ rec_t* rec, /*!< in: record */
+ dict_index_t* index, /*!< in: index where cursor positioned */
+ const upd_t* update, /*!< in: update vector */
+ trx_t* trx, /*!< in: transaction */
+ roll_ptr_t roll_ptr, /*!< in: roll ptr */
+ mtr_t* mtr); /*!< in: mtr */
+
/*######################################################################*/
/** In the pessimistic delete, if the page data size drops below this
diff --git a/storage/innobase/include/btr0pcur.h b/storage/innobase/include/btr0pcur.h
index 4312f73ca4a..d9ce02283d7 100644
--- a/storage/innobase/include/btr0pcur.h
+++ b/storage/innobase/include/btr0pcur.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, 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
@@ -447,6 +447,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. */
@@ -480,10 +501,8 @@ struct btr_pcur_struct{
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;
@@ -499,21 +518,6 @@ struct btr_pcur_struct{
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 696dfc728dc..647e8d0cde9 100644
--- a/storage/innobase/include/btr0pcur.ic
+++ b/storage/innobase/include/btr0pcur.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, 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 0ee68101ee7..081dc88435e 100644
--- a/storage/innobase/include/btr0sea.h
+++ b/storage/innobase/include/btr0sea.h
@@ -188,8 +188,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/dict0types.h b/storage/innobase/include/dict0types.h
index 330e6a25114..22407e2408e 100644
--- a/storage/innobase/include/dict0types.h
+++ b/storage/innobase/include/dict0types.h
@@ -63,4 +63,9 @@ typedef enum dict_err_ignore dict_err_ignore_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/ibuf0ibuf.h b/storage/innobase/include/ibuf0ibuf.h
index 7fa077d5c8f..b34d06ffde3 100644
--- a/storage/innobase/include/ibuf0ibuf.h
+++ b/storage/innobase/include/ibuf0ibuf.h
@@ -63,11 +63,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 5524272d811..b0e5e9bda3b 100644
--- a/storage/innobase/include/log0log.h
+++ b/storage/innobase/include/log0log.h
@@ -809,6 +809,8 @@ struct log_struct{
later; this is advanced when a flush
operation is completed to all the log
groups */
+ volatile ibool is_extending; /*!< this is set to true during extend
+ the log buffer size */
ib_uint64_t written_to_some_lsn;
/*!< first log sequence number not yet
written to any log group; for this to
diff --git a/storage/innobase/log/log0log.c b/storage/innobase/log/log0log.c
index 8bae95f0a5d..eacee12a2d4 100644
--- a/storage/innobase/log/log0log.c
+++ b/storage/innobase/log/log0log.c
@@ -213,6 +213,85 @@ 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 = mem_alloc(LOG_BUFFER_SIZE + OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf_size = LOG_BUFFER_SIZE;
+ memset(log_sys->buf, '\0', 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));
+
+ fprintf(stderr,
+ "InnoDB: innodb_log_buffer_size was extended to %lu.\n",
+ LOG_BUFFER_SIZE);
+}
+
/************************************************************//**
Opens the log for log_write_low. The log must be closed with log_close and
released with log_release.
@@ -233,11 +312,39 @@ 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. */
+ ut_print_timestamp(stderr);
+ fprintf(stderr,
+ " InnoDB: Warning: "
+ "The transaction log size is too large"
+ " for innodb_log_buffer_size (%lu >= %lu / 2). "
+ "Trying to extend it.\n",
+ 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 */
@@ -788,6 +895,7 @@ log_init(void)
log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->is_extending = FALSE;
memset(log_sys->buf, '\0', LOG_BUFFER_SIZE);
diff --git a/storage/innobase/mysql-test/storage_engine/trx/cons_snapshot_serializable.rdiff b/storage/innobase/mysql-test/storage_engine/trx/cons_snapshot_serializable.rdiff
new file mode 100644
index 00000000000..e6149be58dc
--- /dev/null
+++ b/storage/innobase/mysql-test/storage_engine/trx/cons_snapshot_serializable.rdiff
@@ -0,0 +1,18 @@
+--- suite/storage_engine/trx/cons_snapshot_serializable.result 2013-11-27 18:46:36.000000000 +0400
++++ suite/storage_engine/trx/cons_snapshot_serializable.reject 2013-11-28 19:17:02.000000000 +0400
+@@ -5,12 +5,15 @@
+ CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
+ SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
+ START TRANSACTION WITH CONSISTENT SNAPSHOT;
++Warnings:
++Warning 138 InnoDB: WITH CONSISTENT SNAPSHOT was ignored because this phrase can only be used with REPEATABLE READ isolation level.
+ connection con2;
+ INSERT INTO t1 (a) VALUES (1);
+ connection con1;
+ # If consistent read works on this isolation level (SERIALIZABLE), the following SELECT should not return the value we inserted (1)
+ SELECT a FROM t1;
+ a
++1
+ COMMIT;
+ connection default;
+ disconnect con1;
diff --git a/storage/innobase/mysql-test/storage_engine/trx/disabled.def b/storage/innobase/mysql-test/storage_engine/trx/disabled.def
deleted file mode 100644
index 7b8a16d0b7a..00000000000
--- a/storage/innobase/mysql-test/storage_engine/trx/disabled.def
+++ /dev/null
@@ -1,2 +0,0 @@
-cons_snapshot_serializable : MySQL:65146 (CONSISTENT SNAPSHOT does not work with SERIALIZABLE)
-
diff --git a/storage/innobase/mysql-test/storage_engine/trx/level_read_committed.rdiff b/storage/innobase/mysql-test/storage_engine/trx/level_read_committed.rdiff
new file mode 100644
index 00000000000..cb64d32138b
--- /dev/null
+++ b/storage/innobase/mysql-test/storage_engine/trx/level_read_committed.rdiff
@@ -0,0 +1,11 @@
+--- suite/storage_engine/trx/level_read_committed.result 2013-11-28 19:18:48.000000000 +0400
++++ suite/storage_engine/trx/level_read_committed.reject 2013-11-28 19:18:59.000000000 +0400
+@@ -77,6 +77,8 @@
+ CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
+ SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
+ START TRANSACTION WITH CONSISTENT SNAPSHOT;
++Warnings:
++Warning 138 InnoDB: WITH CONSISTENT SNAPSHOT was ignored because this phrase can only be used with REPEATABLE READ isolation level.
+ connection con2;
+ INSERT INTO t1 (a) VALUES (1);
+ connection con1;
diff --git a/storage/innobase/mysql-test/storage_engine/trx/level_read_uncommitted.rdiff b/storage/innobase/mysql-test/storage_engine/trx/level_read_uncommitted.rdiff
new file mode 100644
index 00000000000..6a79abe3ca5
--- /dev/null
+++ b/storage/innobase/mysql-test/storage_engine/trx/level_read_uncommitted.rdiff
@@ -0,0 +1,11 @@
+--- suite/storage_engine/trx/level_read_uncommitted.result 2013-11-28 19:18:48.000000000 +0400
++++ suite/storage_engine/trx/level_read_uncommitted.reject 2013-11-28 19:19:50.000000000 +0400
+@@ -102,6 +102,8 @@
+ CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
+ SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
+ START TRANSACTION WITH CONSISTENT SNAPSHOT;
++Warnings:
++Warning 138 InnoDB: WITH CONSISTENT SNAPSHOT was ignored because this phrase can only be used with REPEATABLE READ isolation level.
+ connection con2;
+ INSERT INTO t1 (a) VALUES (1);
+ connection con1;
diff --git a/storage/innobase/row/row0sel.c b/storage/innobase/row/row0sel.c
index 518eba975ab..b8336f88532 100644
--- a/storage/innobase/row/row0sel.c
+++ b/storage/innobase/row/row0sel.c
@@ -3095,48 +3095,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);
}
@@ -4120,6 +4150,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;
/* ut_print_name(stderr, index->name);
fputs(" record not found 3\n", stderr); */
@@ -4159,6 +4197,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;
/* ut_print_name(stderr, index->name);
fputs(" record not found 4\n", stderr); */
@@ -4736,6 +4782,7 @@ normal_return:
if (prebuilt->n_fetch_cached > 0) {
row_sel_pop_cached_row_for_mysql(buf, prebuilt);
+ DEBUG_SYNC_C("row_search_cached_row");
err = DB_SUCCESS;
}
diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc
index 53076e7be45..26ab75cbdc0 100644
--- a/storage/maria/ha_maria.cc
+++ b/storage/maria/ha_maria.cc
@@ -1,5 +1,6 @@
/* Copyright (C) 2004-2008 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
Copyright (C) 2008-2009 Sun Microsystems, Inc.
+ 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
@@ -1546,7 +1547,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
{
int error= 0;
ulonglong local_testflag= param->testflag;
- bool optimize_done= !do_optimize, statistics_done= 0;
+ bool optimize_done= !do_optimize, statistics_done= 0, full_repair_done= 0;
const char *old_proc_info= thd->proc_info;
char fixed_name[FN_REFLEN];
MARIA_SHARE *share= file->s;
@@ -1580,7 +1581,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
param->db_name= table->s->db.str;
param->table_name= table->alias.c_ptr();
- param->tmpfile_createflag= O_RDWR | O_TRUNC;
+ param->tmpfile_createflag= O_RDWR | O_TRUNC | O_EXCL;
param->using_global_keycache= 1;
param->thd= thd;
param->tmpdir= &mysql_tmpdir_list;
@@ -1645,6 +1646,11 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
}
param->testflag= save_testflag | (param->testflag & T_RETRY_WITHOUT_QUICK);
optimize_done= 1;
+ /*
+ 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);
}
if (!error)
{
@@ -1668,7 +1674,8 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize)
}
}
thd_proc_info(thd, "Saving state");
- if (optimize_done && !error && !(param->testflag & T_NO_CREATE_RENAME_LSN))
+ if (full_repair_done && !error &&
+ !(param->testflag & T_NO_CREATE_RENAME_LSN))
{
/* Set trid (needed if the table was moved from another system) */
share->state.create_trid= trnman_get_min_safe_trid();
@@ -1961,6 +1968,7 @@ int ha_maria::enable_indexes(uint mode)
*/
param.testflag|= T_NO_CREATE_RENAME_LSN;
}
+
param.myf_rw &= ~MY_WAIT_IF_FULL;
param.sort_buffer_length= THDVAR(thd,sort_buffer_size);
param.stats_method= (enum_handler_stats_method)THDVAR(thd,stats_method);
diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c
index d63ac8be3cb..3be4465c71e 100644
--- a/storage/maria/ma_check.c
+++ b/storage/maria/ma_check.c
@@ -45,6 +45,7 @@
#include "ma_blockrec.h"
#include "trnman.h"
#include "ma_key_recover.h"
+#include <my_check_opt.h>
#include <stdarg.h>
#include <my_getopt.h>
@@ -1862,6 +1863,8 @@ static int check_block_record(HA_CHECK *param, MARIA_HA *info, int extend,
uint UNINIT_VAR(row_count), real_row_count, empty_space, page_type, bitmap_pattern;
uint bitmap_for_page;
+ LINT_INIT(empty_space);
+
if (_ma_killed_ptr(param))
{
_ma_scan_end_block_record(info);
diff --git a/storage/maria/ma_check_standalone.h b/storage/maria/ma_check_standalone.h
index 3ac8cdb5e38..241bc7c2739 100644
--- a/storage/maria/ma_check_standalone.h
+++ b/storage/maria/ma_check_standalone.h
@@ -13,6 +13,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#include <my_check_opt.h>
+
/* almost every standalone maria program will need it */
void _mi_report_crashed(void *file __attribute__((unused)),
const char *message __attribute__((unused)),
diff --git a/storage/maria/ma_recovery.c b/storage/maria/ma_recovery.c
index 0f3fb0f8a1e..5e42ebc8d5d 100644
--- a/storage/maria/ma_recovery.c
+++ b/storage/maria/ma_recovery.c
@@ -29,6 +29,7 @@
#include "ma_key_recover.h"
#include "ma_recovery_util.h"
#include "hash.h"
+#include <my_check_opt.h>
struct st_trn_for_recovery /* used only in the REDO phase */
{
diff --git a/storage/maria/ma_sort.c b/storage/maria/ma_sort.c
index e1e7b323683..95454d88308 100644
--- a/storage/maria/ma_sort.c
+++ b/storage/maria/ma_sort.c
@@ -19,6 +19,7 @@
*/
#include "ma_fulltext.h"
+#include <my_check_opt.h>
#if defined(MSDOS) || defined(__WIN__)
#include <fcntl.h>
#else
diff --git a/storage/maria/maria_chk.c b/storage/maria/maria_chk.c
index 05a5aefb4f4..57c958b4b6d 100644
--- a/storage/maria/maria_chk.c
+++ b/storage/maria/maria_chk.c
@@ -21,6 +21,7 @@
#include <m_ctype.h>
#include <stdarg.h>
#include <my_getopt.h>
+#include <my_check_opt.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
diff --git a/storage/maria/trnman.c b/storage/maria/trnman.c
index 2e27d8a4dc5..e5077adc9b7 100644
--- a/storage/maria/trnman.c
+++ b/storage/maria/trnman.c
@@ -383,8 +383,8 @@ TRN *trnman_new_trn(WT_THD *wt)
return 0;
}
- DBUG_PRINT("exit", ("trn: 0x%lx trid: 0x%lu",
- (ulong) trn, (ulong) trn->trid));
+ DBUG_PRINT("exit", ("trn: %p trid: 0x%lu min_read_from: 0x%lu",
+ trn, (ulong) trn->trid, (ulong) trn->min_read_from));
DBUG_RETURN(trn);
}
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 893f3d92caf..35353dfc9a3 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -1,5 +1,6 @@
/*
Copyright (c) 2000, 2012, 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
@@ -762,7 +763,7 @@ int ha_myisam::open(const char *name, int mode, uint test_if_locked)
true, table))
{
/* purecov: begin inspected */
- my_errno= HA_ERR_CRASHED;
+ my_errno= HA_ERR_INCOMPATIBLE_DEFINITION;
goto err;
/* purecov: end */
}
@@ -1071,7 +1072,7 @@ int ha_myisam::repair(THD *thd, HA_CHECK &param, bool do_optimize)
param.db_name= table->s->db.str;
param.table_name= table->alias.c_ptr();
- param.tmpfile_createflag = O_RDWR | O_TRUNC;
+ param.tmpfile_createflag= O_RDWR | O_TRUNC | O_EXCL;
param.using_global_keycache = 1;
param.thd= thd;
param.tmpdir= &mysql_tmpdir_list;
diff --git a/storage/myisam/mi_keycache.c b/storage/myisam/mi_keycache.c
index b45f0efa2f7..59a1ca27614 100644
--- a/storage/myisam/mi_keycache.c
+++ b/storage/myisam/mi_keycache.c
@@ -49,19 +49,20 @@
int mi_assign_to_key_cache(MI_INFO *info,
ulonglong key_map __attribute__((unused)),
- KEY_CACHE *key_cache)
+ KEY_CACHE *new_key_cache)
{
int error= 0;
MYISAM_SHARE* share= info->s;
+ KEY_CACHE *old_key_cache= share->key_cache;
DBUG_ENTER("mi_assign_to_key_cache");
- DBUG_PRINT("enter",("old_key_cache_handle: 0x%lx new_key_cache_handle: 0x%lx",
- (long) share->key_cache, (long) key_cache));
+ DBUG_PRINT("enter",("old_key_cache_handle: %p new_key_cache_handle: %p",
+ old_key_cache, new_key_cache));
/*
Skip operation if we didn't change key cache. This can happen if we
call this for all open instances of the same table
*/
- if (share->key_cache == key_cache)
+ if (old_key_cache == new_key_cache)
DBUG_RETURN(0);
/*
@@ -76,15 +77,17 @@ int mi_assign_to_key_cache(MI_INFO *info,
in the old key cache.
*/
- pthread_mutex_lock(&share->key_cache->op_lock);
- if (flush_key_blocks(share->key_cache, share->kfile, &share->dirty_part_map,
+ pthread_mutex_lock(&old_key_cache->op_lock);
+ DEBUG_SYNC_C("assign_key_cache_op_lock");
+ if (flush_key_blocks(old_key_cache, share->kfile, &share->dirty_part_map,
FLUSH_RELEASE))
{
error= my_errno;
mi_print_error(info->s, HA_ERR_CRASHED);
mi_mark_crashed(info); /* Mark that table must be checked */
}
- pthread_mutex_unlock(&share->key_cache->op_lock);
+ pthread_mutex_unlock(&old_key_cache->op_lock);
+ DEBUG_SYNC_C("assign_key_cache_op_unlock");
/*
Flush the new key cache for this file. This is needed to ensure
@@ -94,7 +97,7 @@ int mi_assign_to_key_cache(MI_INFO *info,
(This can never fail as there is never any not written data in the
new key cache)
*/
- (void) flush_key_blocks(key_cache, share->kfile, &share->dirty_part_map,
+ (void) flush_key_blocks(new_key_cache, share->kfile, &share->dirty_part_map,
FLUSH_RELEASE);
/*
@@ -106,13 +109,13 @@ int mi_assign_to_key_cache(MI_INFO *info,
Tell all threads to use the new key cache
This should be seen at the lastes for the next call to an myisam function.
*/
- share->key_cache= key_cache;
+ share->key_cache= new_key_cache;
share->dirty_part_map= 0;
/* store the key cache in the global hash structure for future opens */
if (multi_key_cache_set((uchar*) share->unique_file_name,
share->unique_name_length,
- share->key_cache))
+ new_key_cache))
error= my_errno;
mysql_mutex_unlock(&share->intern_lock);
DBUG_RETURN(error);
diff --git a/storage/myisammrg/ha_myisammrg.cc b/storage/myisammrg/ha_myisammrg.cc
index 2b571675aef..1ee974c1b23 100644
--- a/storage/myisammrg/ha_myisammrg.cc
+++ b/storage/myisammrg/ha_myisammrg.cc
@@ -1491,31 +1491,36 @@ void ha_myisammrg::update_create_info(HA_CREATE_INFO *create_info)
if (!(create_info->used_fields & HA_CREATE_USED_UNION))
{
- MYRG_TABLE *open_table;
+ TABLE_LIST *child_table;
THD *thd=current_thd;
create_info->merge_list.next= &create_info->merge_list.first;
create_info->merge_list.elements=0;
- for (open_table=file->open_tables ;
- open_table != file->end_table ;
- open_table++)
+ if (children_l != NULL)
{
- TABLE_LIST *ptr;
- LEX_STRING db, name;
- LINT_INIT(db.str);
-
- if (!(ptr = (TABLE_LIST *) thd->calloc(sizeof(TABLE_LIST))))
- goto err;
- split_file_name(open_table->table->filename, &db, &name);
- if (!(ptr->table_name= thd->strmake(name.str, name.length)))
- goto err;
- if (db.length && !(ptr->db= thd->strmake(db.str, db.length)))
- goto err;
-
- create_info->merge_list.elements++;
- (*create_info->merge_list.next) = ptr;
- create_info->merge_list.next= &ptr->next_local;
+ for (child_table= children_l;;
+ child_table= child_table->next_global)
+ {
+ TABLE_LIST *ptr;
+
+ if (!(ptr= (TABLE_LIST *) thd->calloc(sizeof(TABLE_LIST))))
+ goto err;
+
+ if (!(ptr->table_name= thd->strmake(child_table->table_name,
+ child_table->table_name_length)))
+ goto err;
+ if (child_table->db && !(ptr->db= thd->strmake(child_table->db,
+ child_table->db_length)))
+ goto err;
+
+ create_info->merge_list.elements++;
+ (*create_info->merge_list.next)= ptr;
+ create_info->merge_list.next= &ptr->next_local;
+
+ if (&child_table->next_global == children_last_l)
+ break;
+ }
}
*create_info->merge_list.next=0;
}
diff --git a/storage/myisammrg/mysql-test/storage_engine/disabled.def b/storage/myisammrg/mysql-test/storage_engine/disabled.def
index 9f7569a2d24..86b96c2ba2b 100644
--- a/storage/myisammrg/mysql-test/storage_engine/disabled.def
+++ b/storage/myisammrg/mysql-test/storage_engine/disabled.def
@@ -1,2 +1,2 @@
-alter_table_online : MySQL:57657 (Temporary MERGE table with temporary underlying is broken by ALTER)
+alter_table_online : MDEV-5266 (Temporary MERGE table with temporary underlying is broken by ALTER)
diff --git a/storage/oqgraph/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt
index 593fced6235..7b110b7de5a 100644
--- a/storage/oqgraph/CMakeLists.txt
+++ b/storage/oqgraph/CMakeLists.txt
@@ -11,26 +11,44 @@ IF(MSVC)
SET(BOOST_OK 0)
ELSE()
SET(BOOST_OK 1)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
ENDIF()
ELSE()
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -fno-strict-aliasing")
+ STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
+ STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# See if that works. On old gcc it'll fail because of -fno-rtti
CHECK_CXX_SOURCE_COMPILES(
"
#include <boost/config.hpp>
#include <boost/property_map/property_map.hpp>
-int main() { return 0; }
+#include <boost/graph/adjacency_list.hpp>
+
+using namespace boost;
+struct VertexInfo { int id; };
+
+namespace boost
+{
+ namespace graph
+ {
+ template<> struct internal_vertex_name<VertexInfo>
+ { typedef multi_index::member<VertexInfo, int , &VertexInfo::id> type; };
+ }
+}
+
+typedef adjacency_list<vecS, vecS, bidirectionalS, VertexInfo> Graph;
+int main()
+{
+ graph_traits<Graph>::vertex_descriptor *orig;
+ Graph *g;
+ remove_vertex(*orig, *g);
+ return 0;
+}
" BOOST_OK)
ENDIF()
IF(BOOST_OK)
ADD_DEFINITIONS(-DHAVE_OQGRAPH)
- IF(MSVC)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
- ELSE(MSVC)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -fno-strict-aliasing")
- STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
- STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
- ENDIF(MSVC)
MYSQL_ADD_PLUGIN(oqgraph ha_oqgraph.cc graphcore.cc STORAGE_ENGINE
MODULE_ONLY)
diff --git a/storage/tokudb/CMakeLists.txt b/storage/tokudb/CMakeLists.txt
index fc65e489dbd..48aaf88c41b 100644
--- a/storage/tokudb/CMakeLists.txt
+++ b/storage/tokudb/CMakeLists.txt
@@ -15,7 +15,7 @@ IF(NOT TOKUDB_OK)
ENDIF()
############################################
-SET(ENV{TOKUDB_VERSION} "7.0.4")
+SET(ENV{TOKUDB_VERSION} "7.1.0")
SET(TOKUDB_DEB_FILES "usr/lib/mysql/plugin/ha_tokudb.so\netc/mysql/conf.d/tokudb.cnf\nusr/bin/tokuftdump\nusr/share/doc/mariadb-galera-server-5.5/README-TOKUDB\nusr/share/doc/mariadb-galera-server-5.5/README.md" PARENT_SCOPE)
SET(USE_BDB OFF CACHE BOOL "")
SET(USE_VALGRIND OFF CACHE BOOL "")
diff --git a/storage/tokudb/ft-index/CMakeLists.txt b/storage/tokudb/ft-index/CMakeLists.txt
index 87c04be75e5..22249b66522 100644
--- a/storage/tokudb/ft-index/CMakeLists.txt
+++ b/storage/tokudb/ft-index/CMakeLists.txt
@@ -1,4 +1,3 @@
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules")
project(TokuDB)
diff --git a/storage/tokudb/mysql-test/rpl/suite.pm b/storage/tokudb/mysql-test/rpl/suite.pm
index e001340cd14..ba9809a9930 100644
--- a/storage/tokudb/mysql-test/rpl/suite.pm
+++ b/storage/tokudb/mysql-test/rpl/suite.pm
@@ -7,5 +7,6 @@ $ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
+
bless { };
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result
index 6e6874f6d8b..398e50ea7a7 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
delete from s where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result
index 3ab09c07935..c992937afd8 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create clustering index i_a on s(a);
delete from s where a=10000;
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 ecb2d225181..a7be06f34ee 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
create index i_a on s(a);
delete from s where a=10000;
show create table s;
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 e1e298eb29f..a2c90f0ce6b 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
delete from s where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result
index 78515053ff6..d6734e0df73 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
insert into s values (1000000000,10000);
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result
index 3306f55147c..4d2e5ed6b76 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a) clustering=yes;
insert into s values (1000000000,10000);
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result
index 8ec9af009bb..85838eefb5d 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
update s set a=20000+10000 where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result
index e94bba339ef..7561c61f10b 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a) clustering=yes;
update s set a=20000+10000 where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/suite.pm b/storage/tokudb/mysql-test/tokudb/suite.pm
index e001340cd14..6c52d0110fe 100644
--- a/storage/tokudb/mysql-test/tokudb/suite.pm
+++ b/storage/tokudb/mysql-test/tokudb/suite.pm
@@ -7,5 +7,8 @@ $ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
+
+sub is_default { not $::opt_embedded_server }
+
bless { };
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 5728f6f2129..9ac4f525533 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,5 +1,6 @@
# generated from change_column_all.py
# test random column change on wide tables
+--source include/big_test.inc
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
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 08cdb31ca1a..171502afcd0 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,5 +1,6 @@
# generated from change_all.py
# test random column change on wide tables
+--source include/big_test.inc
--disable_warnings
DROP TABLE IF EXISTS t, ti;
--enable_warnings
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 1af79715daa..baa770931eb 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-0.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a);
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 fc8107d2bc0..36afbb30ba6 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-1.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a) clustering=yes;
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 50256802328..78b179f9e5a 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-fast.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
# set tokudb_create_index_online=1;
send create index i_a on s(a);
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 2b267932907..0f83f456b0b 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-del-slow.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a);
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 30eeedcff9c..43fd188dcf5 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-0.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a);
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 b697a9977f9..e55b4aca2a9 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-1.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a) clustering=yes;
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 0c05c685660..5b6c3af3a56 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-2.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on with replace into optimization
# test is checking #3406
@@ -16,11 +18,13 @@ create table s (a int auto_increment, b int, c int, primary key (a));
--echo # populate table s
--disable_query_log
+begin;
let $a = 10000;
while ($a) {
eval insert into s (b,c) values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
--enable_query_log
--echo # done inserting elements
diff --git a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.opt b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.opt
new file mode 100644
index 00000000000..d76fda471ca
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.opt
@@ -0,0 +1 @@
+--loose-tokudb-max-lock-memory=320M
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 9c9b278f92c..632b1693fd0 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-insert-bigchar.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -16,11 +18,13 @@ create table s (a int, b varchar(2000));
--disable_query_log
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,repeat('a', 2000)),($a,repeat('b', 2000)),($a,repeat('c', 2000)),($a,repeat('d', 2000)),($a,repeat('e', 2000)),($a,repeat('f', 2000)),($a,repeat('g', 2000)),($a,repeat('h', 2000)),($a,repeat('i', 2000)),($a,repeat('j', 2000));
dec $a;
}
+commit;
--enable_query_log
set tokudb_create_index_online=1;
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 b32a6f9ffd2..cd84459dcd7 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-update-0.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a);
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 686f6931bb8..1038a633b52 100644
--- a/storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test
+++ b/storage/tokudb/mysql-test/tokudb/t/hotindex-update-1.test
@@ -1,3 +1,5 @@
+# This test takes rather long time so let us run it only in --big-test mode
+--source include/big_test.inc
# test that deletes work when hot indexing is on
SET DEFAULT_STORAGE_ENGINE='tokudb';
@@ -14,11 +16,13 @@ drop table if exists s;
create table s (a int, b int);
# populate table s
+begin;
let $a = 10000;
while ($a) {
eval insert into s values ($a,0),($a,1),($a,2),($a,3),($a,4),($a,5),($a,6),($a,7),($a,8),($a,9);
dec $a;
}
+commit;
set tokudb_create_index_online=1;
send create index i_a on s(a) clustering=yes;
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 1becf71a80a..b42c2dd9175 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
@@ -1,4 +1,8 @@
# verify that information_schema.tokudb_locks gets populated with locks, information_schema.tokudb_lock_waits gets
+if (`select @@tokudb_version <= "7.1.0"`)
+{
+ --skip Not fixed in TokuDB 7.1.0 or earlier
+}
# populated with 1 lock_wait and all transactions are present in information_schema.tokudb_trx for 2 clients
source include/have_tokudb.inc;
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 87656f29395..8d21e601380 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
@@ -1,3 +1,7 @@
+if (`select @@tokudb_version <= "7.1.0"`)
+{
+ --skip Not fixed in TokuDB 7.1.0 or earlier
+}
# verify that tokudb_locks and tokudb_lock_waits contents for 2 conflicting transactions with a lock timeout
source include/have_tokudb.inc;
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 52c09c1c049..6a1b96c53a2 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
@@ -1,3 +1,7 @@
+if (`select @@tokudb_version <= "7.1.0"`)
+{
+ --skip Not fixed in TokuDB 7.1.0 or earlier
+}
# verify that information_schema.tokudb_locks gets populated with locks for 2 clients
source include/have_tokudb.inc;
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/suite.pm b/storage/tokudb/mysql-test/tokudb_add_index/suite.pm
index 5fe44252ad6..ee1d1bde06b 100644
--- a/storage/tokudb/mysql-test/tokudb_add_index/suite.pm
+++ b/storage/tokudb/mysql-test/tokudb_add_index/suite.pm
@@ -2,7 +2,13 @@ package My::Suite::TokuDB_add_index;
use File::Basename;
@ISA = qw(My::Suite);
+# Ensure we can run the TokuDB tests even if hugepages are enabled
+$ENV{TOKU_HUGE_PAGES_OK}=1;
+
#return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
+
+sub is_default { not $::opt_embedded_server }
+
bless { };
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 14b6079acc9..8fa44de9cae 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,3 +1,8 @@
+if (`select @@tokudb_version <= "7.1.0"`)
+{
+ --skip Not fixed in TokuDB 7.1.0 or earlier
+}
+
#--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE='tokudb';
#
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_add3.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_add3.result
index 6d658a1ce98..c4cb63b6799 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_add3.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_add3.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -69,6 +70,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -78,6 +80,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -143,6 +146,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -152,6 +156,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -217,6 +222,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -226,6 +232,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -291,6 +298,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -300,6 +308,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -365,6 +374,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -374,6 +384,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -439,6 +450,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -448,6 +460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -513,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -522,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -587,6 +602,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -596,6 +612,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -661,6 +678,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -670,6 +688,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -735,6 +754,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -744,6 +764,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -809,6 +830,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -818,6 +840,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -883,6 +906,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -892,6 +916,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +982,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -966,6 +992,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1031,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1040,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1105,6 +1134,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -1114,6 +1144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1179,6 +1210,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -1188,6 +1220,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1253,6 +1286,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after bbb;
alter table bar add column added_1 bigint default NULL after bbb;
@@ -1262,6 +1296,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1327,6 +1362,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after bbb;
alter table bar add column added_2 bigint default -1 after bbb;
@@ -1336,6 +1372,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1401,6 +1438,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1410,6 +1448,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1475,6 +1514,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1484,6 +1524,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1549,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1558,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1666,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1632,6 +1676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1697,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after bbb;
alter table bar add column added_7 text default NULL after bbb;
@@ -1706,6 +1752,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1771,6 +1818,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after bbb;
alter table bar add column added_8 mediumtext default NULL after bbb;
@@ -1780,6 +1828,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1845,6 +1894,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1854,6 +1904,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +1970,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1928,6 +1980,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1993,6 +2046,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2002,6 +2056,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2067,6 +2122,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2076,6 +2132,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2141,6 +2198,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2150,6 +2208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2215,6 +2274,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2224,6 +2284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2289,6 +2350,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2298,6 +2360,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2363,6 +2426,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2372,6 +2436,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2437,6 +2502,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2446,6 +2512,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2511,6 +2578,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2520,6 +2588,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2585,6 +2654,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2594,6 +2664,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2659,6 +2730,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2668,6 +2740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2733,6 +2806,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2742,6 +2816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2807,6 +2882,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2816,6 +2892,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +2958,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2890,6 +2968,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2955,6 +3034,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2964,6 +3044,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3029,6 +3110,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3038,6 +3120,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3103,6 +3186,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3112,6 +3196,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3177,6 +3262,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3186,6 +3272,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3251,6 +3338,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3260,6 +3348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3325,6 +3414,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3334,6 +3424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3399,6 +3490,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3408,6 +3500,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3473,6 +3566,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3482,6 +3576,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3547,6 +3642,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3556,6 +3652,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3718,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3630,6 +3728,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3695,6 +3794,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3704,6 +3804,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3769,6 +3870,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3778,6 +3880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +3946,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3852,6 +3956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3917,6 +4022,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3926,6 +4032,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3991,6 +4098,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -4000,6 +4108,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4065,6 +4174,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4074,6 +4184,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4139,6 +4250,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4148,6 +4260,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4213,6 +4326,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4222,6 +4336,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4287,6 +4402,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4296,6 +4412,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4361,6 +4478,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4370,6 +4488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4435,6 +4554,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4444,6 +4564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4509,6 +4630,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -4518,6 +4640,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4583,6 +4706,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -4592,6 +4716,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4657,6 +4782,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4666,6 +4792,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4731,6 +4858,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4740,6 +4868,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +4934,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4814,6 +4944,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4879,6 +5010,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4888,6 +5020,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4953,6 +5086,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4962,6 +5096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5027,6 +5162,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5036,6 +5172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5101,6 +5238,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -5110,6 +5248,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5175,6 +5314,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -5184,6 +5324,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5249,6 +5390,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5258,6 +5400,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5323,6 +5466,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5332,6 +5476,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5397,6 +5542,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5406,6 +5552,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5471,6 +5618,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5480,6 +5628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5545,6 +5694,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5554,6 +5704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +5770,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5628,6 +5780,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5693,6 +5846,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -5702,6 +5856,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5767,6 +5922,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -5776,6 +5932,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5841,6 +5998,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5850,6 +6008,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5915,6 +6074,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5924,6 +6084,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5989,6 +6150,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5998,6 +6160,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6063,6 +6226,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6072,6 +6236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6137,6 +6302,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6146,6 +6312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6211,6 +6378,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6220,6 +6388,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6285,6 +6454,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -6294,6 +6464,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6359,6 +6530,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -6368,6 +6540,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6433,6 +6606,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6442,6 +6616,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6507,6 +6682,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6516,6 +6692,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6581,6 +6758,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6590,6 +6768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6655,6 +6834,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6664,6 +6844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6729,6 +6910,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6738,6 +6920,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6803,6 +6986,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -6812,6 +6996,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6877,6 +7062,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -6886,6 +7072,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6951,6 +7138,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -6960,6 +7148,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7025,6 +7214,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7034,6 +7224,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7099,6 +7290,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7108,6 +7300,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7173,6 +7366,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7182,6 +7376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7247,6 +7442,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7256,6 +7452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7321,6 +7518,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7330,6 +7528,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7395,6 +7594,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7404,6 +7604,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7469,6 +7670,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -7478,6 +7680,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7543,6 +7746,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -7552,6 +7756,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7617,6 +7822,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7626,6 +7832,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7691,6 +7898,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7700,6 +7908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7765,6 +7974,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7774,6 +7984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7839,6 +8050,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7848,6 +8060,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7913,6 +8126,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7922,6 +8136,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7987,6 +8202,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -7996,6 +8212,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8061,6 +8278,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -8070,6 +8288,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8135,6 +8354,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -8144,6 +8364,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8209,6 +8430,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8218,6 +8440,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8283,6 +8506,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8292,6 +8516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8357,6 +8582,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8366,6 +8592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8431,6 +8658,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8440,6 +8668,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8505,6 +8734,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8514,6 +8744,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8579,6 +8810,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8588,6 +8820,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8653,6 +8886,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -8662,6 +8896,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8727,6 +8962,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -8736,6 +8972,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8801,6 +9038,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8810,6 +9048,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8875,6 +9114,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8884,6 +9124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8949,6 +9190,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -8958,6 +9200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9023,6 +9266,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9032,6 +9276,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9097,6 +9342,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9106,6 +9352,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9171,6 +9418,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9180,6 +9428,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9245,6 +9494,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -9254,6 +9504,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9319,6 +9570,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -9328,6 +9580,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9393,6 +9646,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9402,6 +9656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9467,6 +9722,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9476,6 +9732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9541,6 +9798,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9550,6 +9808,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9615,6 +9874,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9624,6 +9884,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9689,6 +9950,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9698,6 +9960,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9763,6 +10026,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9772,6 +10036,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9837,6 +10102,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -9846,6 +10112,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9911,6 +10178,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -9920,6 +10188,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9985,6 +10254,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -9994,6 +10264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10059,6 +10330,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10068,6 +10340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10133,6 +10406,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10142,6 +10416,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10207,6 +10482,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10216,6 +10492,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10281,6 +10558,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10290,6 +10568,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10355,6 +10634,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10364,6 +10644,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10429,6 +10710,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -10438,6 +10720,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10503,6 +10786,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -10512,6 +10796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10577,6 +10862,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10586,6 +10872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10651,6 +10938,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10660,6 +10948,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10725,6 +11014,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10734,6 +11024,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10799,6 +11090,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10808,6 +11100,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10873,6 +11166,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10882,6 +11176,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10947,6 +11242,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -10956,6 +11252,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11021,6 +11318,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -11030,6 +11328,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11095,6 +11394,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -11104,6 +11404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11169,6 +11470,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11178,6 +11480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11243,6 +11546,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11252,6 +11556,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11317,6 +11622,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11326,6 +11632,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11391,6 +11698,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11400,6 +11708,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11465,6 +11774,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11474,6 +11784,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11539,6 +11850,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11548,6 +11860,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11613,6 +11926,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11622,6 +11936,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11687,6 +12002,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11696,6 +12012,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11761,6 +12078,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11770,6 +12088,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11835,6 +12154,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11844,6 +12164,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11909,6 +12230,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11918,6 +12240,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11983,6 +12306,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11992,6 +12316,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12057,6 +12382,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12066,6 +12392,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12131,6 +12458,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12140,6 +12468,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12205,6 +12534,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12214,6 +12544,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12279,6 +12610,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12288,6 +12620,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12353,6 +12686,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12362,6 +12696,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12427,6 +12762,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12436,6 +12772,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12501,6 +12838,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12510,6 +12848,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12575,6 +12914,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12584,6 +12924,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12649,6 +12990,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12658,6 +13000,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12723,6 +13066,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12732,6 +13076,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12797,6 +13142,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12806,6 +13152,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12871,6 +13218,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12880,6 +13228,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12945,6 +13294,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -12954,6 +13304,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13019,6 +13370,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13028,6 +13380,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13093,6 +13446,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13102,6 +13456,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13167,6 +13522,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13176,6 +13532,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13241,6 +13598,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13250,6 +13608,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13315,6 +13674,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13324,6 +13684,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13389,6 +13750,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13398,6 +13760,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13463,6 +13826,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13472,6 +13836,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13537,6 +13902,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13546,6 +13912,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13611,6 +13978,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13620,6 +13988,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13685,6 +14054,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13694,6 +14064,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13759,6 +14130,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13768,6 +14140,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13833,6 +14206,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13842,6 +14216,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13907,6 +14282,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13916,6 +14292,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13981,6 +14358,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -13990,6 +14368,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14055,6 +14434,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14064,6 +14444,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14129,6 +14510,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14138,6 +14520,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14203,6 +14586,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14212,6 +14596,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14277,6 +14662,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14286,6 +14672,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14351,6 +14738,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14360,6 +14748,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14425,6 +14814,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14434,6 +14824,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14499,6 +14890,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14508,6 +14900,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14573,6 +14966,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14582,6 +14976,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14647,6 +15042,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14656,6 +15052,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14721,6 +15118,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14730,6 +15128,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14795,6 +15194,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14804,6 +15204,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14869,6 +15270,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14878,6 +15280,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14943,6 +15346,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -14952,6 +15356,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15017,6 +15422,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15026,6 +15432,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15091,6 +15498,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15100,6 +15508,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15165,6 +15574,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15174,6 +15584,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15239,6 +15650,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15248,6 +15660,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15313,6 +15726,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15322,6 +15736,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15387,6 +15802,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15396,6 +15812,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15461,6 +15878,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15470,6 +15888,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15535,6 +15954,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15544,6 +15964,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15609,6 +16030,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15618,6 +16040,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15683,6 +16106,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15692,6 +16116,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15757,6 +16182,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15766,6 +16192,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15831,6 +16258,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15840,6 +16268,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15905,6 +16334,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15914,6 +16344,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15979,6 +16410,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -15988,6 +16420,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16053,6 +16486,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_add.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_add.result
index fe8545a7873..6fb9819438c 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_add.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_add.result
@@ -4,11 +4,13 @@ set session tokudb_disable_slow_alter=ON;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -18,11 +20,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -32,11 +36,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -46,11 +52,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -60,11 +68,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -74,11 +84,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -88,11 +100,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -102,11 +116,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -116,11 +132,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -130,11 +148,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -144,11 +164,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -158,11 +180,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -172,11 +196,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -186,11 +212,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -200,11 +228,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -214,11 +244,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -228,11 +260,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after bb;
alter table bar add column added_1 bigint default NULL after bb;
@@ -242,11 +276,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after bb;
alter table bar add column added_2 bigint default -1 after bb;
@@ -256,11 +292,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -270,11 +308,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -284,11 +324,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -298,11 +340,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -312,11 +356,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after bb;
alter table bar add column added_7 text default NULL after bb;
@@ -326,11 +372,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after bb;
alter table bar add column added_8 mediumtext default NULL after bb;
@@ -340,11 +388,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -354,11 +404,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,11 +420,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -382,11 +436,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -396,11 +452,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -410,11 +468,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -424,11 +484,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -438,11 +500,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -452,11 +516,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -466,11 +532,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -480,11 +548,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -494,11 +564,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -508,11 +580,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -522,11 +596,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -536,11 +612,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,11 +628,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -564,11 +644,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -578,11 +660,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -592,11 +676,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -606,11 +692,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -620,11 +708,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -634,11 +724,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -648,11 +740,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -662,11 +756,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -676,11 +772,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -690,11 +788,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -704,11 +804,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -718,11 +820,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,11 +836,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -746,11 +852,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -760,11 +868,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -774,11 +884,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -788,11 +900,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -802,11 +916,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -816,11 +932,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -830,11 +948,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -844,11 +964,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -858,11 +980,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -872,11 +996,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -886,11 +1012,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -900,11 +1028,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,11 +1044,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -928,11 +1060,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -942,11 +1076,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -956,11 +1092,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -970,11 +1108,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -984,11 +1124,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -998,11 +1140,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1012,11 +1156,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1026,11 +1172,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1040,11 +1188,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1054,11 +1204,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1068,11 +1220,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1082,11 +1236,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1096,11 +1252,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1110,11 +1268,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1124,11 +1284,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1138,11 +1300,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1152,11 +1316,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1166,11 +1332,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1180,11 +1348,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1194,11 +1364,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1208,11 +1380,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1222,11 +1396,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1236,11 +1412,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1250,11 +1428,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1264,11 +1444,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,11 +1460,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1292,11 +1476,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1306,11 +1492,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1320,11 +1508,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1334,11 +1524,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1348,11 +1540,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1362,11 +1556,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1376,11 +1572,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1390,11 +1588,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1404,11 +1604,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1418,11 +1620,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1432,11 +1636,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1446,11 +1652,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,11 +1668,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1474,11 +1684,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1488,11 +1700,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1502,11 +1716,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1516,11 +1732,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1530,11 +1748,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1544,11 +1764,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1558,11 +1780,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1572,11 +1796,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1586,11 +1812,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1600,11 +1828,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1614,11 +1844,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1628,11 +1860,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1642,11 +1876,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1656,11 +1892,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1670,11 +1908,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1684,11 +1924,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1698,11 +1940,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1712,11 +1956,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1726,11 +1972,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1740,11 +1988,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1754,11 +2004,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1768,11 +2020,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1782,11 +2036,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1796,11 +2052,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1810,11 +2068,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1824,11 +2084,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1838,11 +2100,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1852,11 +2116,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1866,11 +2132,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1880,11 +2148,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1894,11 +2164,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1908,11 +2180,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1922,11 +2196,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1936,11 +2212,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1950,11 +2228,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1964,11 +2244,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1978,11 +2260,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1992,11 +2276,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2006,11 +2292,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2020,11 +2308,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2034,11 +2324,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2048,11 +2340,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2062,11 +2356,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2076,11 +2372,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2090,11 +2388,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2104,11 +2404,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2118,11 +2420,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2132,11 +2436,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2146,11 +2452,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2160,11 +2468,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2174,11 +2484,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,11 +2500,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2202,11 +2516,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2216,11 +2532,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2230,11 +2548,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2244,11 +2564,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2258,11 +2580,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2272,11 +2596,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2286,11 +2612,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2300,11 +2628,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2314,11 +2644,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2328,11 +2660,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2342,11 +2676,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2356,11 +2692,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,11 +2708,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2384,11 +2724,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2398,11 +2740,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2412,11 +2756,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2426,11 +2772,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2440,11 +2788,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2454,11 +2804,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2468,11 +2820,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2482,11 +2836,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2496,11 +2852,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2510,11 +2868,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2524,11 +2884,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2538,11 +2900,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,11 +2916,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2566,11 +2932,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2580,11 +2948,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2594,11 +2964,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2608,11 +2980,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2622,11 +2996,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2636,11 +3012,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2650,11 +3028,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2664,11 +3044,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2678,11 +3060,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2692,11 +3076,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2706,11 +3092,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2720,11 +3108,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,11 +3124,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2748,11 +3140,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2762,11 +3156,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2776,11 +3172,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2790,11 +3188,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2804,11 +3204,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2818,11 +3220,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2832,11 +3236,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2846,11 +3252,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2860,11 +3268,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2874,11 +3284,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2888,11 +3300,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2902,11 +3316,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,11 +3332,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2930,11 +3348,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2944,11 +3364,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2958,11 +3380,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2972,11 +3396,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2986,11 +3412,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3000,11 +3428,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3014,11 +3444,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3028,11 +3460,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_drop.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_drop.result
index 8408267c12a..66ad044d297 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_drop.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_blob_drop.result
@@ -4,11 +4,13 @@ set session tokudb_disable_slow_alter=ON;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa;
alter table bar drop column aa;
@@ -18,11 +20,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb;
alter table bar drop column bb;
@@ -32,11 +36,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc;
alter table bar drop column cc;
@@ -46,11 +52,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd;
alter table bar drop column dd;
@@ -60,11 +68,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column bb;
alter table bar drop column aa, drop column bb;
@@ -74,11 +84,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column cc;
alter table bar drop column aa, drop column cc;
@@ -88,11 +100,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column dd;
alter table bar drop column aa, drop column dd;
@@ -102,11 +116,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column aa;
alter table bar drop column bb, drop column aa;
@@ -116,11 +132,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column cc;
alter table bar drop column bb, drop column cc;
@@ -130,11 +148,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column dd;
alter table bar drop column bb, drop column dd;
@@ -144,11 +164,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column aa;
alter table bar drop column cc, drop column aa;
@@ -158,11 +180,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column bb;
alter table bar drop column cc, drop column bb;
@@ -172,11 +196,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column dd;
alter table bar drop column cc, drop column dd;
@@ -186,11 +212,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column aa;
alter table bar drop column dd, drop column aa;
@@ -200,11 +228,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column bb;
alter table bar drop column dd, drop column bb;
@@ -214,11 +244,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column cc;
alter table bar drop column dd, drop column cc;
@@ -228,11 +260,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column bb, drop column cc;
alter table bar drop column aa, drop column bb, drop column cc;
@@ -242,11 +276,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column bb, drop column dd;
alter table bar drop column aa, drop column bb, drop column dd;
@@ -256,11 +292,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column cc, drop column dd;
alter table bar drop column aa, drop column cc, drop column dd;
@@ -270,11 +308,13 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column cc, drop column dd;
alter table bar drop column bb, drop column cc, drop column dd;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_drop.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_drop.result
index df48c3ac7c2..8899f5c73cf 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_drop.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_drop.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -69,6 +70,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a;
alter table bar drop column a;
@@ -78,6 +80,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -143,6 +146,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b;
alter table bar drop column b;
@@ -152,6 +156,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -217,6 +222,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c;
alter table bar drop column c;
@@ -226,6 +232,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -291,6 +298,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d;
alter table bar drop column d;
@@ -300,6 +308,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -365,6 +374,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa;
alter table bar drop column aa;
@@ -374,6 +384,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -439,6 +450,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb;
alter table bar drop column bb;
@@ -448,6 +460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -513,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc;
alter table bar drop column cc;
@@ -522,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -587,6 +602,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd;
alter table bar drop column dd;
@@ -596,6 +612,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -661,6 +678,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa;
alter table bar drop column aaa;
@@ -670,6 +688,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -735,6 +754,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb;
alter table bar drop column bbb;
@@ -744,6 +764,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -809,6 +830,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc;
alter table bar drop column ccc;
@@ -818,6 +840,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -883,6 +906,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd;
alter table bar drop column ddd;
@@ -892,6 +916,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +982,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b;
alter table bar drop column a, drop column b;
@@ -966,6 +992,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1031,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column c;
alter table bar drop column a, drop column c;
@@ -1040,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1105,6 +1134,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column d;
alter table bar drop column a, drop column d;
@@ -1114,6 +1144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1179,6 +1210,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column aa;
alter table bar drop column a, drop column aa;
@@ -1188,6 +1220,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1253,6 +1286,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column bb;
alter table bar drop column a, drop column bb;
@@ -1262,6 +1296,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1327,6 +1362,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column cc;
alter table bar drop column a, drop column cc;
@@ -1336,6 +1372,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1401,6 +1438,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column dd;
alter table bar drop column a, drop column dd;
@@ -1410,6 +1448,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1475,6 +1514,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column aaa;
alter table bar drop column a, drop column aaa;
@@ -1484,6 +1524,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1549,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column bbb;
alter table bar drop column a, drop column bbb;
@@ -1558,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1666,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column ccc;
alter table bar drop column a, drop column ccc;
@@ -1632,6 +1676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1697,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column ddd;
alter table bar drop column a, drop column ddd;
@@ -1706,6 +1752,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1771,6 +1818,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column a;
alter table bar drop column b, drop column a;
@@ -1780,6 +1828,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1845,6 +1894,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column c;
alter table bar drop column b, drop column c;
@@ -1854,6 +1904,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +1970,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column d;
alter table bar drop column b, drop column d;
@@ -1928,6 +1980,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1993,6 +2046,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column aa;
alter table bar drop column b, drop column aa;
@@ -2002,6 +2056,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2067,6 +2122,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column bb;
alter table bar drop column b, drop column bb;
@@ -2076,6 +2132,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2141,6 +2198,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column cc;
alter table bar drop column b, drop column cc;
@@ -2150,6 +2208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2215,6 +2274,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column dd;
alter table bar drop column b, drop column dd;
@@ -2224,6 +2284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2289,6 +2350,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column aaa;
alter table bar drop column b, drop column aaa;
@@ -2298,6 +2360,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2363,6 +2426,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column bbb;
alter table bar drop column b, drop column bbb;
@@ -2372,6 +2436,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2437,6 +2502,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column ccc;
alter table bar drop column b, drop column ccc;
@@ -2446,6 +2512,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2511,6 +2578,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column ddd;
alter table bar drop column b, drop column ddd;
@@ -2520,6 +2588,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2585,6 +2654,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column a;
alter table bar drop column c, drop column a;
@@ -2594,6 +2664,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2659,6 +2730,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column b;
alter table bar drop column c, drop column b;
@@ -2668,6 +2740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2733,6 +2806,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column d;
alter table bar drop column c, drop column d;
@@ -2742,6 +2816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2807,6 +2882,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column aa;
alter table bar drop column c, drop column aa;
@@ -2816,6 +2892,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +2958,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column bb;
alter table bar drop column c, drop column bb;
@@ -2890,6 +2968,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2955,6 +3034,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column cc;
alter table bar drop column c, drop column cc;
@@ -2964,6 +3044,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3029,6 +3110,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column dd;
alter table bar drop column c, drop column dd;
@@ -3038,6 +3120,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3103,6 +3186,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column aaa;
alter table bar drop column c, drop column aaa;
@@ -3112,6 +3196,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3177,6 +3262,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column bbb;
alter table bar drop column c, drop column bbb;
@@ -3186,6 +3272,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3251,6 +3338,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column ccc;
alter table bar drop column c, drop column ccc;
@@ -3260,6 +3348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3325,6 +3414,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column ddd;
alter table bar drop column c, drop column ddd;
@@ -3334,6 +3424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3399,6 +3490,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column a;
alter table bar drop column d, drop column a;
@@ -3408,6 +3500,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3473,6 +3566,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column b;
alter table bar drop column d, drop column b;
@@ -3482,6 +3576,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3547,6 +3642,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column c;
alter table bar drop column d, drop column c;
@@ -3556,6 +3652,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3718,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column aa;
alter table bar drop column d, drop column aa;
@@ -3630,6 +3728,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3695,6 +3794,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column bb;
alter table bar drop column d, drop column bb;
@@ -3704,6 +3804,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3769,6 +3870,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column cc;
alter table bar drop column d, drop column cc;
@@ -3778,6 +3880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +3946,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column dd;
alter table bar drop column d, drop column dd;
@@ -3852,6 +3956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3917,6 +4022,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column aaa;
alter table bar drop column d, drop column aaa;
@@ -3926,6 +4032,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3991,6 +4098,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column bbb;
alter table bar drop column d, drop column bbb;
@@ -4000,6 +4108,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4065,6 +4174,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column ccc;
alter table bar drop column d, drop column ccc;
@@ -4074,6 +4184,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4139,6 +4250,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column ddd;
alter table bar drop column d, drop column ddd;
@@ -4148,6 +4260,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4213,6 +4326,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column a;
alter table bar drop column aa, drop column a;
@@ -4222,6 +4336,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4287,6 +4402,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column b;
alter table bar drop column aa, drop column b;
@@ -4296,6 +4412,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4361,6 +4478,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column c;
alter table bar drop column aa, drop column c;
@@ -4370,6 +4488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4435,6 +4554,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column d;
alter table bar drop column aa, drop column d;
@@ -4444,6 +4564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4509,6 +4630,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column bb;
alter table bar drop column aa, drop column bb;
@@ -4518,6 +4640,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4583,6 +4706,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column cc;
alter table bar drop column aa, drop column cc;
@@ -4592,6 +4716,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4657,6 +4782,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column dd;
alter table bar drop column aa, drop column dd;
@@ -4666,6 +4792,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4731,6 +4858,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column aaa;
alter table bar drop column aa, drop column aaa;
@@ -4740,6 +4868,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +4934,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column bbb;
alter table bar drop column aa, drop column bbb;
@@ -4814,6 +4944,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4879,6 +5010,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column ccc;
alter table bar drop column aa, drop column ccc;
@@ -4888,6 +5020,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4953,6 +5086,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column ddd;
alter table bar drop column aa, drop column ddd;
@@ -4962,6 +5096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5027,6 +5162,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column a;
alter table bar drop column bb, drop column a;
@@ -5036,6 +5172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5101,6 +5238,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column b;
alter table bar drop column bb, drop column b;
@@ -5110,6 +5248,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5175,6 +5314,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column c;
alter table bar drop column bb, drop column c;
@@ -5184,6 +5324,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5249,6 +5390,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column d;
alter table bar drop column bb, drop column d;
@@ -5258,6 +5400,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5323,6 +5466,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column aa;
alter table bar drop column bb, drop column aa;
@@ -5332,6 +5476,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5397,6 +5542,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column cc;
alter table bar drop column bb, drop column cc;
@@ -5406,6 +5552,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5471,6 +5618,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column dd;
alter table bar drop column bb, drop column dd;
@@ -5480,6 +5628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5545,6 +5694,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column aaa;
alter table bar drop column bb, drop column aaa;
@@ -5554,6 +5704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +5770,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column bbb;
alter table bar drop column bb, drop column bbb;
@@ -5628,6 +5780,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5693,6 +5846,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column ccc;
alter table bar drop column bb, drop column ccc;
@@ -5702,6 +5856,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5767,6 +5922,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bb, drop column ddd;
alter table bar drop column bb, drop column ddd;
@@ -5776,6 +5932,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5841,6 +5998,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column a;
alter table bar drop column cc, drop column a;
@@ -5850,6 +6008,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5915,6 +6074,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column b;
alter table bar drop column cc, drop column b;
@@ -5924,6 +6084,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5989,6 +6150,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column c;
alter table bar drop column cc, drop column c;
@@ -5998,6 +6160,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6063,6 +6226,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column d;
alter table bar drop column cc, drop column d;
@@ -6072,6 +6236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6137,6 +6302,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column aa;
alter table bar drop column cc, drop column aa;
@@ -6146,6 +6312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6211,6 +6378,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column bb;
alter table bar drop column cc, drop column bb;
@@ -6220,6 +6388,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6285,6 +6454,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column dd;
alter table bar drop column cc, drop column dd;
@@ -6294,6 +6464,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6359,6 +6530,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column aaa;
alter table bar drop column cc, drop column aaa;
@@ -6368,6 +6540,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6433,6 +6606,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column bbb;
alter table bar drop column cc, drop column bbb;
@@ -6442,6 +6616,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6507,6 +6682,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column ccc;
alter table bar drop column cc, drop column ccc;
@@ -6516,6 +6692,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6581,6 +6758,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column cc, drop column ddd;
alter table bar drop column cc, drop column ddd;
@@ -6590,6 +6768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6655,6 +6834,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column a;
alter table bar drop column dd, drop column a;
@@ -6664,6 +6844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6729,6 +6910,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column b;
alter table bar drop column dd, drop column b;
@@ -6738,6 +6920,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6803,6 +6986,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column c;
alter table bar drop column dd, drop column c;
@@ -6812,6 +6996,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6877,6 +7062,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column d;
alter table bar drop column dd, drop column d;
@@ -6886,6 +7072,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6951,6 +7138,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column aa;
alter table bar drop column dd, drop column aa;
@@ -6960,6 +7148,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7025,6 +7214,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column bb;
alter table bar drop column dd, drop column bb;
@@ -7034,6 +7224,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7099,6 +7290,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column cc;
alter table bar drop column dd, drop column cc;
@@ -7108,6 +7300,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7173,6 +7366,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column aaa;
alter table bar drop column dd, drop column aaa;
@@ -7182,6 +7376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7247,6 +7442,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column bbb;
alter table bar drop column dd, drop column bbb;
@@ -7256,6 +7452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7321,6 +7518,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column ccc;
alter table bar drop column dd, drop column ccc;
@@ -7330,6 +7528,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7395,6 +7594,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column dd, drop column ddd;
alter table bar drop column dd, drop column ddd;
@@ -7404,6 +7604,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7469,6 +7670,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column a;
alter table bar drop column aaa, drop column a;
@@ -7478,6 +7680,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7543,6 +7746,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column b;
alter table bar drop column aaa, drop column b;
@@ -7552,6 +7756,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7617,6 +7822,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column c;
alter table bar drop column aaa, drop column c;
@@ -7626,6 +7832,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7691,6 +7898,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column d;
alter table bar drop column aaa, drop column d;
@@ -7700,6 +7908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7765,6 +7974,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column aa;
alter table bar drop column aaa, drop column aa;
@@ -7774,6 +7984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7839,6 +8050,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column bb;
alter table bar drop column aaa, drop column bb;
@@ -7848,6 +8060,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7913,6 +8126,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column cc;
alter table bar drop column aaa, drop column cc;
@@ -7922,6 +8136,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7987,6 +8202,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column dd;
alter table bar drop column aaa, drop column dd;
@@ -7996,6 +8212,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8061,6 +8278,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column bbb;
alter table bar drop column aaa, drop column bbb;
@@ -8070,6 +8288,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8135,6 +8354,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ccc;
alter table bar drop column aaa, drop column ccc;
@@ -8144,6 +8364,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8209,6 +8430,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ddd;
alter table bar drop column aaa, drop column ddd;
@@ -8218,6 +8440,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8283,6 +8506,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column a;
alter table bar drop column bbb, drop column a;
@@ -8292,6 +8516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8357,6 +8582,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column b;
alter table bar drop column bbb, drop column b;
@@ -8366,6 +8592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8431,6 +8658,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column c;
alter table bar drop column bbb, drop column c;
@@ -8440,6 +8668,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8505,6 +8734,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column d;
alter table bar drop column bbb, drop column d;
@@ -8514,6 +8744,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8579,6 +8810,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column aa;
alter table bar drop column bbb, drop column aa;
@@ -8588,6 +8820,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8653,6 +8886,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column bb;
alter table bar drop column bbb, drop column bb;
@@ -8662,6 +8896,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8727,6 +8962,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column cc;
alter table bar drop column bbb, drop column cc;
@@ -8736,6 +8972,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8801,6 +9038,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column dd;
alter table bar drop column bbb, drop column dd;
@@ -8810,6 +9048,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8875,6 +9114,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column aaa;
alter table bar drop column bbb, drop column aaa;
@@ -8884,6 +9124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8949,6 +9190,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ccc;
alter table bar drop column bbb, drop column ccc;
@@ -8958,6 +9200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9023,6 +9266,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ddd;
alter table bar drop column bbb, drop column ddd;
@@ -9032,6 +9276,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9097,6 +9342,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column a;
alter table bar drop column ccc, drop column a;
@@ -9106,6 +9352,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9171,6 +9418,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column b;
alter table bar drop column ccc, drop column b;
@@ -9180,6 +9428,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9245,6 +9494,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column c;
alter table bar drop column ccc, drop column c;
@@ -9254,6 +9504,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9319,6 +9570,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column d;
alter table bar drop column ccc, drop column d;
@@ -9328,6 +9580,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9393,6 +9646,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column aa;
alter table bar drop column ccc, drop column aa;
@@ -9402,6 +9656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9467,6 +9722,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column bb;
alter table bar drop column ccc, drop column bb;
@@ -9476,6 +9732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9541,6 +9798,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column cc;
alter table bar drop column ccc, drop column cc;
@@ -9550,6 +9808,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9615,6 +9874,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column dd;
alter table bar drop column ccc, drop column dd;
@@ -9624,6 +9884,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9689,6 +9950,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column aaa;
alter table bar drop column ccc, drop column aaa;
@@ -9698,6 +9960,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9763,6 +10026,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column bbb;
alter table bar drop column ccc, drop column bbb;
@@ -9772,6 +10036,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9837,6 +10102,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column ddd;
alter table bar drop column ccc, drop column ddd;
@@ -9846,6 +10112,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9911,6 +10178,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column a;
alter table bar drop column ddd, drop column a;
@@ -9920,6 +10188,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9985,6 +10254,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column b;
alter table bar drop column ddd, drop column b;
@@ -9994,6 +10264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10059,6 +10330,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column c;
alter table bar drop column ddd, drop column c;
@@ -10068,6 +10340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10133,6 +10406,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column d;
alter table bar drop column ddd, drop column d;
@@ -10142,6 +10416,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10207,6 +10482,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column aa;
alter table bar drop column ddd, drop column aa;
@@ -10216,6 +10492,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10281,6 +10558,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column bb;
alter table bar drop column ddd, drop column bb;
@@ -10290,6 +10568,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10355,6 +10634,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column cc;
alter table bar drop column ddd, drop column cc;
@@ -10364,6 +10644,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10429,6 +10710,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column dd;
alter table bar drop column ddd, drop column dd;
@@ -10438,6 +10720,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10503,6 +10786,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column aaa;
alter table bar drop column ddd, drop column aaa;
@@ -10512,6 +10796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10577,6 +10862,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column bbb;
alter table bar drop column ddd, drop column bbb;
@@ -10586,6 +10872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10651,6 +10938,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column ccc;
alter table bar drop column ddd, drop column ccc;
@@ -10660,6 +10948,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10725,6 +11014,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b, drop column c;
alter table bar drop column a, drop column b, drop column c;
@@ -10734,6 +11024,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10799,6 +11090,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b, drop column d;
alter table bar drop column a, drop column b, drop column d;
@@ -10808,6 +11100,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10873,6 +11166,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column c, drop column d;
alter table bar drop column a, drop column c, drop column d;
@@ -10882,6 +11176,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10947,6 +11242,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column c, drop column d;
alter table bar drop column b, drop column c, drop column d;
@@ -10956,6 +11252,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11021,6 +11318,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b, drop column c, drop column d;
alter table bar drop column a, drop column b, drop column c, drop column d;
@@ -11030,6 +11328,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11095,6 +11394,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aa, drop column bb, drop column cc, drop column dd;
alter table bar drop column aa, drop column bb, drop column cc, drop column dd;
@@ -11104,6 +11404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11169,6 +11470,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11178,6 +11480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11243,6 +11546,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11252,6 +11556,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11317,6 +11622,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -11326,6 +11632,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11391,6 +11698,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_fixed_add.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_fixed_add.result
index 77f9b976f67..45a785127d1 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_fixed_add.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_fixed_add.result
@@ -4,11 +4,13 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -18,11 +20,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -32,11 +36,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -46,11 +52,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -60,11 +68,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -74,11 +84,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -88,11 +100,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -102,11 +116,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -116,11 +132,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -130,11 +148,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -144,11 +164,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -158,11 +180,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -172,11 +196,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -186,11 +212,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -200,11 +228,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -214,11 +244,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -228,11 +260,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after b;
alter table bar add column added_1 bigint default NULL after b;
@@ -242,11 +276,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after b;
alter table bar add column added_2 bigint default -1 after b;
@@ -256,11 +292,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -270,11 +308,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -284,11 +324,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -298,11 +340,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -312,11 +356,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after b;
alter table bar add column added_7 text default NULL after b;
@@ -326,11 +372,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b;
@@ -340,11 +388,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -354,11 +404,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,11 +420,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -382,11 +436,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -396,11 +452,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -410,11 +468,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -424,11 +484,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -438,11 +500,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -452,11 +516,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -466,11 +532,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -480,11 +548,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -494,11 +564,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -508,11 +580,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -522,11 +596,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -536,11 +612,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,11 +628,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -564,11 +644,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -578,11 +660,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -592,11 +676,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -606,11 +692,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -620,11 +708,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -634,11 +724,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -648,11 +740,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -662,11 +756,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -676,11 +772,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -690,11 +788,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -704,11 +804,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -718,11 +820,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,11 +836,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -746,11 +852,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -760,11 +868,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -774,11 +884,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -788,11 +900,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -802,11 +916,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -816,11 +932,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -830,11 +948,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -844,11 +964,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -858,11 +980,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -872,11 +996,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -886,11 +1012,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -900,11 +1028,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,11 +1044,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -928,11 +1060,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -942,11 +1076,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -956,11 +1092,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -970,11 +1108,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -984,11 +1124,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -998,11 +1140,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1012,11 +1156,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1026,11 +1172,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1040,11 +1188,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1054,11 +1204,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1068,11 +1220,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1082,11 +1236,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1096,11 +1252,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1110,11 +1268,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1124,11 +1284,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1138,11 +1300,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1152,11 +1316,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1166,11 +1332,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1180,11 +1348,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1194,11 +1364,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1208,11 +1380,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1222,11 +1396,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1236,11 +1412,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1250,11 +1428,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1264,11 +1444,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,11 +1460,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1292,11 +1476,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1306,11 +1492,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1320,11 +1508,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1334,11 +1524,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1348,11 +1540,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1362,11 +1556,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1376,11 +1572,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1390,11 +1588,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1404,11 +1604,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1418,11 +1620,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1432,11 +1636,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1446,11 +1652,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,11 +1668,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1474,11 +1684,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1488,11 +1700,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1502,11 +1716,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1516,11 +1732,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1530,11 +1748,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1544,11 +1764,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1558,11 +1780,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1572,11 +1796,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1586,11 +1812,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1600,11 +1828,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1614,11 +1844,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1628,11 +1860,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1642,11 +1876,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1656,11 +1892,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1670,11 +1908,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1684,11 +1924,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1698,11 +1940,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1712,11 +1956,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1726,11 +1972,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1740,11 +1988,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1754,11 +2004,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1768,11 +2020,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1782,11 +2036,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1796,11 +2052,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1810,11 +2068,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1824,11 +2084,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1838,11 +2100,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1852,11 +2116,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1866,11 +2132,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1880,11 +2148,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1894,11 +2164,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1908,11 +2180,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1922,11 +2196,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1936,11 +2212,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1950,11 +2228,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1964,11 +2244,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1978,11 +2260,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1992,11 +2276,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2006,11 +2292,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2020,11 +2308,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2034,11 +2324,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2048,11 +2340,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2062,11 +2356,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2076,11 +2372,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2090,11 +2388,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2104,11 +2404,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2118,11 +2420,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2132,11 +2436,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2146,11 +2452,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2160,11 +2468,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2174,11 +2484,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,11 +2500,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2202,11 +2516,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2216,11 +2532,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2230,11 +2548,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2244,11 +2564,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2258,11 +2580,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2272,11 +2596,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2286,11 +2612,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2300,11 +2628,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2314,11 +2644,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2328,11 +2660,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2342,11 +2676,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2356,11 +2692,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,11 +2708,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2384,11 +2724,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2398,11 +2740,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2412,11 +2756,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2426,11 +2772,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2440,11 +2788,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2454,11 +2804,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2468,11 +2820,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2482,11 +2836,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2496,11 +2852,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2510,11 +2868,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2524,11 +2884,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2538,11 +2900,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,11 +2916,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2566,11 +2932,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2580,11 +2948,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2594,11 +2964,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2608,11 +2980,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2622,11 +2996,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2636,11 +3012,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2650,11 +3028,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2664,11 +3044,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2678,11 +3060,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2692,11 +3076,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2706,11 +3092,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2720,11 +3108,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,11 +3124,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2748,11 +3140,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2762,11 +3156,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2776,11 +3172,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2790,11 +3188,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2804,11 +3204,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2818,11 +3220,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2832,11 +3236,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2846,11 +3252,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2860,11 +3268,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2874,11 +3284,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2888,11 +3300,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2902,11 +3316,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,11 +3332,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2930,11 +3348,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2944,11 +3364,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2958,11 +3380,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2972,11 +3396,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2986,11 +3412,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3000,11 +3428,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3014,11 +3444,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3028,11 +3460,13 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (2,20,'1999-11-11',0);
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_var_drop.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_var_drop.result
index b43374d16f0..782f9cfe6d2 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_var_drop.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_all_var_drop.result
@@ -4,11 +4,13 @@ set session tokudb_disable_slow_alter=ON;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa;
alter table bar drop column aaa;
@@ -18,11 +20,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb;
alter table bar drop column bbb;
@@ -32,11 +36,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc;
alter table bar drop column ccc;
@@ -46,11 +52,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd;
alter table bar drop column ddd;
@@ -60,11 +68,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column bbb;
alter table bar drop column aaa, drop column bbb;
@@ -74,11 +84,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ccc;
alter table bar drop column aaa, drop column ccc;
@@ -88,11 +100,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ddd;
alter table bar drop column aaa, drop column ddd;
@@ -102,11 +116,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column aaa;
alter table bar drop column bbb, drop column aaa;
@@ -116,11 +132,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ccc;
alter table bar drop column bbb, drop column ccc;
@@ -130,11 +148,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ddd;
alter table bar drop column bbb, drop column ddd;
@@ -144,11 +164,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column aaa;
alter table bar drop column ccc, drop column aaa;
@@ -158,11 +180,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column bbb;
alter table bar drop column ccc, drop column bbb;
@@ -172,11 +196,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column ddd;
alter table bar drop column ccc, drop column ddd;
@@ -186,11 +212,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column aaa;
alter table bar drop column ddd, drop column aaa;
@@ -200,11 +228,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column bbb;
alter table bar drop column ddd, drop column bbb;
@@ -214,11 +244,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column ccc;
alter table bar drop column ddd, drop column ccc;
@@ -228,11 +260,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column bbb, drop column ccc;
alter table bar drop column aaa, drop column bbb, drop column ccc;
@@ -242,11 +276,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column bbb, drop column ddd;
alter table bar drop column aaa, drop column bbb, drop column ddd;
@@ -256,11 +292,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ccc, drop column ddd;
alter table bar drop column aaa, drop column ccc, drop column ddd;
@@ -270,11 +308,13 @@ drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ccc, drop column ddd;
alter table bar drop column bbb, drop column ccc, drop column ddd;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add.result
index 9c7deafff6a..6c7d61e4211 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -21,6 +22,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -30,6 +32,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -47,6 +50,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -56,6 +60,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -73,6 +78,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -82,6 +88,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -99,6 +106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -108,6 +116,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -125,6 +134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -134,6 +144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -151,6 +162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -160,6 +172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -177,6 +190,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -186,6 +200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -203,6 +218,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -212,6 +228,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -229,6 +246,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -238,6 +256,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -255,6 +274,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -264,6 +284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -281,6 +302,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -290,6 +312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -307,6 +330,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -316,6 +340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -333,6 +358,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -342,6 +368,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -359,6 +386,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,6 +396,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -385,6 +414,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -394,6 +424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -411,6 +442,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -420,6 +452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -437,6 +470,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after b;
alter table bar add column added_1 bigint default NULL after b;
@@ -446,6 +480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -463,6 +498,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after b;
alter table bar add column added_2 bigint default -1 after b;
@@ -472,6 +508,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -498,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -515,6 +554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -524,6 +564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -541,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,6 +592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -567,6 +610,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -576,6 +620,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -593,6 +638,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after b;
alter table bar add column added_7 text default NULL after b;
@@ -602,6 +648,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -619,6 +666,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b;
@@ -628,6 +676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -645,6 +694,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -654,6 +704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -671,6 +722,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -680,6 +732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -697,6 +750,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -706,6 +760,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -723,6 +778,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,6 +788,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -749,6 +806,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -758,6 +816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -775,6 +834,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -784,6 +844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -801,6 +862,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -810,6 +872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -827,6 +890,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -836,6 +900,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -853,6 +918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -862,6 +928,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -879,6 +946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -888,6 +956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -905,6 +974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,6 +984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -931,6 +1002,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -940,6 +1012,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +1030,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -966,6 +1040,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -983,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -992,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1009,6 +1086,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1018,6 +1096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1035,6 +1114,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1044,6 +1124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1061,6 +1142,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1070,6 +1152,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1087,6 +1170,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1096,6 +1180,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1113,6 +1198,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1122,6 +1208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1139,6 +1226,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1148,6 +1236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1165,6 +1254,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1174,6 +1264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1282,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1200,6 +1292,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1217,6 +1310,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1226,6 +1320,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1243,6 +1338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1252,6 +1348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1269,6 +1366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,6 +1376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1295,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1304,6 +1404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1321,6 +1422,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1330,6 +1432,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1347,6 +1450,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1356,6 +1460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1373,6 +1478,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1382,6 +1488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1399,6 +1506,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1408,6 +1516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1425,6 +1534,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1434,6 +1544,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1451,6 +1562,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,6 +1572,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1477,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1486,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1618,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1512,6 +1628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1529,6 +1646,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1538,6 +1656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1555,6 +1674,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1564,6 +1684,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1581,6 +1702,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1590,6 +1712,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1607,6 +1730,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1616,6 +1740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1633,6 +1758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1642,6 +1768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1659,6 +1786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1668,6 +1796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1685,6 +1814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1694,6 +1824,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1711,6 +1842,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1720,6 +1852,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1737,6 +1870,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1746,6 +1880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1763,6 +1898,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1772,6 +1908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1789,6 +1926,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1798,6 +1936,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1815,6 +1954,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1824,6 +1964,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1841,6 +1982,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1850,6 +1992,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1867,6 +2010,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1876,6 +2020,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2038,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1902,6 +2048,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +2066,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1928,6 +2076,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1945,6 +2094,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1954,6 +2104,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1971,6 +2122,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1980,6 +2132,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1997,6 +2150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2006,6 +2160,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2023,6 +2178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2032,6 +2188,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2049,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2058,6 +2216,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2075,6 +2234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2084,6 +2244,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2101,6 +2262,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2110,6 +2272,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2127,6 +2290,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2136,6 +2300,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2153,6 +2318,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2162,6 +2328,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2179,6 +2346,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,6 +2356,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2205,6 +2374,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2214,6 +2384,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2231,6 +2402,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2240,6 +2412,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2257,6 +2430,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2266,6 +2440,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2283,6 +2458,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2292,6 +2468,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2309,6 +2486,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2318,6 +2496,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2335,6 +2514,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2344,6 +2524,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2361,6 +2542,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,6 +2552,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2387,6 +2570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2396,6 +2580,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2413,6 +2598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2422,6 +2608,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2439,6 +2626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2448,6 +2636,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2465,6 +2654,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2474,6 +2664,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2491,6 +2682,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2500,6 +2692,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2517,6 +2710,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2526,6 +2720,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2543,6 +2738,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,6 +2748,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2569,6 +2766,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2578,6 +2776,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2794,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2604,6 +2804,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2621,6 +2822,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2630,6 +2832,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2647,6 +2850,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2656,6 +2860,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2673,6 +2878,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2682,6 +2888,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2699,6 +2906,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2708,6 +2916,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2725,6 +2934,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,6 +2944,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2751,6 +2962,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2760,6 +2972,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2777,6 +2990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2786,6 +3000,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2803,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2812,6 +3028,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2829,6 +3046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2838,6 +3056,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2855,6 +3074,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2864,6 +3084,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +3102,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2890,6 +3112,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2907,6 +3130,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,6 +3140,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2933,6 +3158,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2942,6 +3168,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2959,6 +3186,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2968,6 +3196,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2985,6 +3214,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2994,6 +3224,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3011,6 +3242,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3020,6 +3252,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3037,6 +3270,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3046,6 +3280,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3063,6 +3298,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3072,6 +3308,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3089,6 +3326,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3098,6 +3336,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3115,6 +3354,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3124,6 +3364,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3141,6 +3382,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3150,6 +3392,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3167,6 +3410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3176,6 +3420,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3193,6 +3438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3202,6 +3448,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3219,6 +3466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3228,6 +3476,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3245,6 +3494,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3254,6 +3504,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3271,6 +3522,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3280,6 +3532,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3550,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3306,6 +3560,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3323,6 +3578,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3332,6 +3588,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3349,6 +3606,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3358,6 +3616,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3375,6 +3634,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3384,6 +3644,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3401,6 +3662,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3410,6 +3672,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3427,6 +3690,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3436,6 +3700,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3718,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3462,6 +3728,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3479,6 +3746,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3488,6 +3756,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3505,6 +3774,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3514,6 +3784,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3531,6 +3802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3540,6 +3812,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3557,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3566,6 +3840,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3583,6 +3858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3592,6 +3868,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3609,6 +3886,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3618,6 +3896,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3635,6 +3914,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3644,6 +3924,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3661,6 +3942,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3670,6 +3952,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3687,6 +3970,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3696,6 +3980,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3713,6 +3998,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3722,6 +4008,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3739,6 +4026,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3748,6 +4036,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3765,6 +4054,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3774,6 +4064,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3791,6 +4082,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3800,6 +4092,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3817,6 +4110,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3826,6 +4120,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +4138,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3852,6 +4148,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3869,6 +4166,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3878,6 +4176,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3895,6 +4194,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3904,6 +4204,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3921,6 +4222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3930,6 +4232,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3947,6 +4250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3956,6 +4260,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3973,6 +4278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3982,6 +4288,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4306,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4008,6 +4316,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4025,6 +4334,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4034,6 +4344,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4051,6 +4362,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4060,6 +4372,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4077,6 +4390,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4086,6 +4400,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4103,6 +4418,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4112,6 +4428,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4129,6 +4446,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4138,6 +4456,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4155,6 +4474,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4164,6 +4484,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4181,6 +4502,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4190,6 +4512,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4207,6 +4530,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4216,6 +4540,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4233,6 +4558,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4242,6 +4568,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4259,6 +4586,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4268,6 +4596,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4285,6 +4614,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4294,6 +4624,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4311,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4320,6 +4652,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4337,6 +4670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4346,6 +4680,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4363,6 +4698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4372,6 +4708,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4389,6 +4726,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4398,6 +4736,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4415,6 +4754,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4424,6 +4764,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4441,6 +4782,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4450,6 +4792,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4467,6 +4810,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4476,6 +4820,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4493,6 +4838,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4502,6 +4848,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4519,6 +4866,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4528,6 +4876,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4545,6 +4894,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4554,6 +4904,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4571,6 +4922,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4580,6 +4932,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4597,6 +4950,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4606,6 +4960,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4623,6 +4978,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4632,6 +4988,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4649,6 +5006,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4658,6 +5016,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4675,6 +5034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4684,6 +5044,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4710,6 +5072,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4727,6 +5090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4736,6 +5100,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4753,6 +5118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4762,6 +5128,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4779,6 +5146,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4788,6 +5156,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +5174,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4814,6 +5184,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4831,6 +5202,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4840,6 +5212,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4857,6 +5230,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4866,6 +5240,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4883,6 +5258,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4892,6 +5268,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4909,6 +5286,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4918,6 +5296,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4935,6 +5314,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4944,6 +5324,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4961,6 +5342,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4970,6 +5352,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4987,6 +5370,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4996,6 +5380,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5013,6 +5398,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5022,6 +5408,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5039,6 +5426,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5048,6 +5436,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5065,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5074,6 +5464,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5091,6 +5482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5100,6 +5492,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5117,6 +5510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5126,6 +5520,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5143,6 +5538,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5152,6 +5548,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5169,6 +5566,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5178,6 +5576,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5195,6 +5594,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5204,6 +5604,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5221,6 +5622,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5230,6 +5632,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5247,6 +5650,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5256,6 +5660,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5273,6 +5678,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5282,6 +5688,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5299,6 +5706,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5308,6 +5716,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5325,6 +5734,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5334,6 +5744,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5351,6 +5762,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5360,6 +5772,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5377,6 +5790,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5386,6 +5800,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5818,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5412,6 +5828,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5429,6 +5846,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5438,6 +5856,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5455,6 +5874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5464,6 +5884,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5481,6 +5902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5490,6 +5912,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5507,6 +5930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5516,6 +5940,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5533,6 +5958,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5542,6 +5968,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5559,6 +5986,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5568,6 +5996,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5585,6 +6014,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5594,6 +6024,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5611,6 +6042,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5620,6 +6052,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5637,6 +6070,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add2.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add2.result
index a1988af2a19..c4300841813 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add2.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedblob_add2.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -21,6 +22,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -30,6 +32,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -47,6 +50,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -56,6 +60,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -73,6 +78,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -82,6 +88,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -99,6 +106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -108,6 +116,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -125,6 +134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -134,6 +144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -151,6 +162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -160,6 +172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -177,6 +190,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -186,6 +200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -203,6 +218,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -212,6 +228,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -229,6 +246,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -238,6 +256,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -255,6 +274,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -264,6 +284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -281,6 +302,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -290,6 +312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -307,6 +330,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -316,6 +340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -333,6 +358,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -342,6 +368,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -359,6 +386,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,6 +396,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -385,6 +414,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -394,6 +424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -411,6 +442,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -420,6 +452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -437,6 +470,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after bb;
alter table bar add column added_1 bigint default NULL after bb;
@@ -446,6 +480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -463,6 +498,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after bb;
alter table bar add column added_2 bigint default -1 after bb;
@@ -472,6 +508,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -498,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -515,6 +554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -524,6 +564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -541,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,6 +592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -567,6 +610,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -576,6 +620,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -593,6 +638,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after bb;
alter table bar add column added_7 text default NULL after bb;
@@ -602,6 +648,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -619,6 +666,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after bb;
alter table bar add column added_8 mediumtext default NULL after bb;
@@ -628,6 +676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -645,6 +694,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -654,6 +704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -671,6 +722,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -680,6 +732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -697,6 +750,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -706,6 +760,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -723,6 +778,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,6 +788,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -749,6 +806,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -758,6 +816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -775,6 +834,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -784,6 +844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -801,6 +862,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -810,6 +872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -827,6 +890,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -836,6 +900,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -853,6 +918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -862,6 +928,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -879,6 +946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -888,6 +956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -905,6 +974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,6 +984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -931,6 +1002,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -940,6 +1012,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +1030,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -966,6 +1040,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -983,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -992,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1009,6 +1086,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1018,6 +1096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1035,6 +1114,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1044,6 +1124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1061,6 +1142,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1070,6 +1152,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1087,6 +1170,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1096,6 +1180,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1113,6 +1198,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1122,6 +1208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1139,6 +1226,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1148,6 +1236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1165,6 +1254,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1174,6 +1264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1282,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1200,6 +1292,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1217,6 +1310,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1226,6 +1320,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1243,6 +1338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1252,6 +1348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1269,6 +1366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,6 +1376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1295,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1304,6 +1404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1321,6 +1422,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1330,6 +1432,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1347,6 +1450,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1356,6 +1460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1373,6 +1478,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1382,6 +1488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1399,6 +1506,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1408,6 +1516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1425,6 +1534,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1434,6 +1544,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1451,6 +1562,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,6 +1572,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1477,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1486,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1618,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1512,6 +1628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1529,6 +1646,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1538,6 +1656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1555,6 +1674,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1564,6 +1684,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1581,6 +1702,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1590,6 +1712,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1607,6 +1730,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1616,6 +1740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1633,6 +1758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1642,6 +1768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1659,6 +1786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1668,6 +1796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1685,6 +1814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1694,6 +1824,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1711,6 +1842,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1720,6 +1852,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1737,6 +1870,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1746,6 +1880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1763,6 +1898,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1772,6 +1908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1789,6 +1926,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1798,6 +1936,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1815,6 +1954,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1824,6 +1964,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1841,6 +1982,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1850,6 +1992,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1867,6 +2010,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1876,6 +2020,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2038,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1902,6 +2048,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +2066,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1928,6 +2076,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1945,6 +2094,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1954,6 +2104,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1971,6 +2122,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1980,6 +2132,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1997,6 +2150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2006,6 +2160,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2023,6 +2178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2032,6 +2188,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2049,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2058,6 +2216,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2075,6 +2234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2084,6 +2244,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2101,6 +2262,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2110,6 +2272,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2127,6 +2290,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2136,6 +2300,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2153,6 +2318,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2162,6 +2328,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2179,6 +2346,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,6 +2356,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2205,6 +2374,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2214,6 +2384,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2231,6 +2402,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2240,6 +2412,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2257,6 +2430,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2266,6 +2440,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2283,6 +2458,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2292,6 +2468,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2309,6 +2486,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2318,6 +2496,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2335,6 +2514,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2344,6 +2524,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2361,6 +2542,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,6 +2552,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2387,6 +2570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2396,6 +2580,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2413,6 +2598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2422,6 +2608,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2439,6 +2626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2448,6 +2636,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2465,6 +2654,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2474,6 +2664,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2491,6 +2682,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2500,6 +2692,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2517,6 +2710,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2526,6 +2720,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2543,6 +2738,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,6 +2748,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2569,6 +2766,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2578,6 +2776,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2794,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2604,6 +2804,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2621,6 +2822,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2630,6 +2832,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2647,6 +2850,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2656,6 +2860,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2673,6 +2878,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2682,6 +2888,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2699,6 +2906,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2708,6 +2916,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2725,6 +2934,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,6 +2944,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2751,6 +2962,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2760,6 +2972,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2777,6 +2990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2786,6 +3000,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2803,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2812,6 +3028,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2829,6 +3046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2838,6 +3056,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2855,6 +3074,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2864,6 +3084,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +3102,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2890,6 +3112,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2907,6 +3130,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,6 +3140,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2933,6 +3158,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2942,6 +3168,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2959,6 +3186,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2968,6 +3196,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2985,6 +3214,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2994,6 +3224,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3011,6 +3242,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3020,6 +3252,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3037,6 +3270,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3046,6 +3280,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3063,6 +3298,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3072,6 +3308,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3089,6 +3326,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3098,6 +3336,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3115,6 +3354,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3124,6 +3364,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3141,6 +3382,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3150,6 +3392,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3167,6 +3410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3176,6 +3420,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3193,6 +3438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3202,6 +3448,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3219,6 +3466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3228,6 +3476,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3245,6 +3494,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3254,6 +3504,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3271,6 +3522,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3280,6 +3532,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3550,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3306,6 +3560,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3323,6 +3578,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3332,6 +3588,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3349,6 +3606,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3358,6 +3616,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3375,6 +3634,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3384,6 +3644,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3401,6 +3662,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3410,6 +3672,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3427,6 +3690,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3436,6 +3700,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3718,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3462,6 +3728,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3479,6 +3746,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3488,6 +3756,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3505,6 +3774,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3514,6 +3784,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3531,6 +3802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3540,6 +3812,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3557,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3566,6 +3840,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3583,6 +3858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3592,6 +3868,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3609,6 +3886,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3618,6 +3896,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3635,6 +3914,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3644,6 +3924,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3661,6 +3942,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3670,6 +3952,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3687,6 +3970,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3696,6 +3980,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3713,6 +3998,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3722,6 +4008,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3739,6 +4026,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3748,6 +4036,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3765,6 +4054,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3774,6 +4064,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3791,6 +4082,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3800,6 +4092,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3817,6 +4110,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3826,6 +4120,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +4138,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3852,6 +4148,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3869,6 +4166,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3878,6 +4176,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3895,6 +4194,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3904,6 +4204,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3921,6 +4222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3930,6 +4232,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3947,6 +4250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3956,6 +4260,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3973,6 +4278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3982,6 +4288,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4306,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4008,6 +4316,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4025,6 +4334,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4034,6 +4344,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4051,6 +4362,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4060,6 +4372,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4077,6 +4390,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4086,6 +4400,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4103,6 +4418,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4112,6 +4428,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4129,6 +4446,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4138,6 +4456,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4155,6 +4474,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4164,6 +4484,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4181,6 +4502,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4190,6 +4512,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4207,6 +4530,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4216,6 +4540,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4233,6 +4558,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4242,6 +4568,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4259,6 +4586,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4268,6 +4596,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4285,6 +4614,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4294,6 +4624,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4311,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4320,6 +4652,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4337,6 +4670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4346,6 +4680,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4363,6 +4698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4372,6 +4708,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4389,6 +4726,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4398,6 +4736,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4415,6 +4754,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4424,6 +4764,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4441,6 +4782,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4450,6 +4792,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4467,6 +4810,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4476,6 +4820,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4493,6 +4838,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4502,6 +4848,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4519,6 +4866,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4528,6 +4876,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4545,6 +4894,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4554,6 +4904,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4571,6 +4922,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4580,6 +4932,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4597,6 +4950,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4606,6 +4960,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4623,6 +4978,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4632,6 +4988,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4649,6 +5006,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4658,6 +5016,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4675,6 +5034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4684,6 +5044,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4710,6 +5072,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4727,6 +5090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4736,6 +5100,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4753,6 +5118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4762,6 +5128,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4779,6 +5146,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4788,6 +5156,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +5174,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4814,6 +5184,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4831,6 +5202,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4840,6 +5212,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4857,6 +5230,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4866,6 +5240,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4883,6 +5258,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4892,6 +5268,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4909,6 +5286,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4918,6 +5296,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4935,6 +5314,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4944,6 +5324,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4961,6 +5342,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4970,6 +5352,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4987,6 +5370,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4996,6 +5380,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5013,6 +5398,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5022,6 +5408,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5039,6 +5426,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5048,6 +5436,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5065,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5074,6 +5464,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5091,6 +5482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5100,6 +5492,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5117,6 +5510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5126,6 +5520,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5143,6 +5538,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5152,6 +5548,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5169,6 +5566,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5178,6 +5576,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5195,6 +5594,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5204,6 +5604,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5221,6 +5622,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5230,6 +5632,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5247,6 +5650,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5256,6 +5660,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5273,6 +5678,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5282,6 +5688,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5299,6 +5706,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5308,6 +5716,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5325,6 +5734,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5334,6 +5744,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5351,6 +5762,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5360,6 +5772,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5377,6 +5790,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5386,6 +5800,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5818,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5412,6 +5828,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5429,6 +5846,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5438,6 +5856,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5455,6 +5874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5464,6 +5884,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5481,6 +5902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5490,6 +5912,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5507,6 +5930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5516,6 +5940,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5533,6 +5958,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5542,6 +5968,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5559,6 +5986,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5568,6 +5996,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5585,6 +6014,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5594,6 +6024,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5611,6 +6042,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5620,6 +6052,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5637,6 +6070,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add.result
index 73689474e2b..040a2026d5d 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -21,6 +22,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -30,6 +32,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -47,6 +50,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -56,6 +60,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -73,6 +78,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -82,6 +88,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -99,6 +106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -108,6 +116,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -125,6 +134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -134,6 +144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -151,6 +162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -160,6 +172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -177,6 +190,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -186,6 +200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -203,6 +218,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -212,6 +228,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -229,6 +246,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -238,6 +256,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -255,6 +274,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -264,6 +284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -281,6 +302,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -290,6 +312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -307,6 +330,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -316,6 +340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -333,6 +358,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -342,6 +368,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -359,6 +386,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,6 +396,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -385,6 +414,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -394,6 +424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -411,6 +442,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -420,6 +452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -437,6 +470,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after b;
alter table bar add column added_1 bigint default NULL after b;
@@ -446,6 +480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -463,6 +498,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after b;
alter table bar add column added_2 bigint default -1 after b;
@@ -472,6 +508,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -498,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -515,6 +554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -524,6 +564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -541,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,6 +592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -567,6 +610,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -576,6 +620,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -593,6 +638,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after b;
alter table bar add column added_7 text default NULL after b;
@@ -602,6 +648,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -619,6 +666,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b;
@@ -628,6 +676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -645,6 +694,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -654,6 +704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -671,6 +722,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -680,6 +732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -697,6 +750,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -706,6 +760,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -723,6 +778,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,6 +788,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -749,6 +806,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -758,6 +816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -775,6 +834,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -784,6 +844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -801,6 +862,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -810,6 +872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -827,6 +890,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -836,6 +900,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -853,6 +918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -862,6 +928,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -879,6 +946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -888,6 +956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -905,6 +974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,6 +984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -931,6 +1002,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -940,6 +1012,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +1030,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -966,6 +1040,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -983,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -992,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1009,6 +1086,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1018,6 +1096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1035,6 +1114,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1044,6 +1124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1061,6 +1142,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1070,6 +1152,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1087,6 +1170,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1096,6 +1180,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1113,6 +1198,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1122,6 +1208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1139,6 +1226,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1148,6 +1236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1165,6 +1254,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1174,6 +1264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1282,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1200,6 +1292,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1217,6 +1310,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1226,6 +1320,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1243,6 +1338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1252,6 +1348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1269,6 +1366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,6 +1376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1295,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1304,6 +1404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1321,6 +1422,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1330,6 +1432,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1347,6 +1450,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1356,6 +1460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1373,6 +1478,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1382,6 +1488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1399,6 +1506,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1408,6 +1516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1425,6 +1534,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1434,6 +1544,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1451,6 +1562,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,6 +1572,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1477,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1486,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1618,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1512,6 +1628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1529,6 +1646,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1538,6 +1656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1555,6 +1674,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1564,6 +1684,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1581,6 +1702,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1590,6 +1712,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1607,6 +1730,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1616,6 +1740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1633,6 +1758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1642,6 +1768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1659,6 +1786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1668,6 +1796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1685,6 +1814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1694,6 +1824,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1711,6 +1842,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1720,6 +1852,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1737,6 +1870,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1746,6 +1880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1763,6 +1898,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1772,6 +1908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1789,6 +1926,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1798,6 +1936,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1815,6 +1954,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1824,6 +1964,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1841,6 +1982,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1850,6 +1992,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1867,6 +2010,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1876,6 +2020,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2038,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1902,6 +2048,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +2066,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1928,6 +2076,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1945,6 +2094,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1954,6 +2104,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1971,6 +2122,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1980,6 +2132,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1997,6 +2150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2006,6 +2160,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2023,6 +2178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2032,6 +2188,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2049,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2058,6 +2216,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2075,6 +2234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2084,6 +2244,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2101,6 +2262,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2110,6 +2272,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2127,6 +2290,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2136,6 +2300,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2153,6 +2318,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2162,6 +2328,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2179,6 +2346,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,6 +2356,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2205,6 +2374,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2214,6 +2384,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2231,6 +2402,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2240,6 +2412,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2257,6 +2430,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2266,6 +2440,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2283,6 +2458,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2292,6 +2468,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2309,6 +2486,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2318,6 +2496,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2335,6 +2514,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2344,6 +2524,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2361,6 +2542,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,6 +2552,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2387,6 +2570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2396,6 +2580,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2413,6 +2598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2422,6 +2608,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2439,6 +2626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2448,6 +2636,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2465,6 +2654,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2474,6 +2664,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2491,6 +2682,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2500,6 +2692,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2517,6 +2710,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2526,6 +2720,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2543,6 +2738,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,6 +2748,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2569,6 +2766,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2578,6 +2776,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2794,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2604,6 +2804,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2621,6 +2822,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2630,6 +2832,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2647,6 +2850,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2656,6 +2860,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2673,6 +2878,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2682,6 +2888,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2699,6 +2906,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2708,6 +2916,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2725,6 +2934,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,6 +2944,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2751,6 +2962,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2760,6 +2972,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2777,6 +2990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2786,6 +3000,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2803,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2812,6 +3028,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2829,6 +3046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2838,6 +3056,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2855,6 +3074,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2864,6 +3084,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +3102,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2890,6 +3112,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2907,6 +3130,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,6 +3140,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2933,6 +3158,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2942,6 +3168,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2959,6 +3186,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2968,6 +3196,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2985,6 +3214,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2994,6 +3224,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3011,6 +3242,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3020,6 +3252,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3037,6 +3270,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3046,6 +3280,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3063,6 +3298,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3072,6 +3308,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3089,6 +3326,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3098,6 +3336,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3115,6 +3354,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3124,6 +3364,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3141,6 +3382,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3150,6 +3392,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3167,6 +3410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3176,6 +3420,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3193,6 +3438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3202,6 +3448,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3219,6 +3466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3228,6 +3476,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3245,6 +3494,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3254,6 +3504,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3271,6 +3522,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3280,6 +3532,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3550,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3306,6 +3560,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3323,6 +3578,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3332,6 +3588,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3349,6 +3606,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3358,6 +3616,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3375,6 +3634,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3384,6 +3644,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3401,6 +3662,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3410,6 +3672,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3427,6 +3690,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3436,6 +3700,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3718,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3462,6 +3728,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3479,6 +3746,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3488,6 +3756,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3505,6 +3774,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3514,6 +3784,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3531,6 +3802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3540,6 +3812,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3557,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3566,6 +3840,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3583,6 +3858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3592,6 +3868,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3609,6 +3886,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3618,6 +3896,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3635,6 +3914,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3644,6 +3924,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3661,6 +3942,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3670,6 +3952,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3687,6 +3970,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3696,6 +3980,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3713,6 +3998,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3722,6 +4008,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3739,6 +4026,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3748,6 +4036,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3765,6 +4054,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3774,6 +4064,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3791,6 +4082,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3800,6 +4092,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3817,6 +4110,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3826,6 +4120,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +4138,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3852,6 +4148,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3869,6 +4166,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3878,6 +4176,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3895,6 +4194,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3904,6 +4204,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3921,6 +4222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3930,6 +4232,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3947,6 +4250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3956,6 +4260,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3973,6 +4278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3982,6 +4288,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4306,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4008,6 +4316,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4025,6 +4334,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4034,6 +4344,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4051,6 +4362,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4060,6 +4372,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4077,6 +4390,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4086,6 +4400,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4103,6 +4418,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4112,6 +4428,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4129,6 +4446,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4138,6 +4456,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4155,6 +4474,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4164,6 +4484,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4181,6 +4502,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4190,6 +4512,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4207,6 +4530,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4216,6 +4540,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4233,6 +4558,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4242,6 +4568,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4259,6 +4586,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4268,6 +4596,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4285,6 +4614,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4294,6 +4624,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4311,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4320,6 +4652,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4337,6 +4670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4346,6 +4680,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4363,6 +4698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4372,6 +4708,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4389,6 +4726,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4398,6 +4736,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4415,6 +4754,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4424,6 +4764,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4441,6 +4782,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4450,6 +4792,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4467,6 +4810,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4476,6 +4820,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4493,6 +4838,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4502,6 +4848,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4519,6 +4866,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4528,6 +4876,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4545,6 +4894,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4554,6 +4904,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4571,6 +4922,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4580,6 +4932,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4597,6 +4950,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4606,6 +4960,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4623,6 +4978,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4632,6 +4988,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4649,6 +5006,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4658,6 +5016,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4675,6 +5034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4684,6 +5044,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4710,6 +5072,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4727,6 +5090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4736,6 +5100,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4753,6 +5118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4762,6 +5128,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4779,6 +5146,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4788,6 +5156,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +5174,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4814,6 +5184,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4831,6 +5202,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4840,6 +5212,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4857,6 +5230,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4866,6 +5240,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4883,6 +5258,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4892,6 +5268,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4909,6 +5286,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4918,6 +5296,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4935,6 +5314,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4944,6 +5324,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4961,6 +5342,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4970,6 +5352,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4987,6 +5370,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4996,6 +5380,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5013,6 +5398,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5022,6 +5408,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5039,6 +5426,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5048,6 +5436,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5065,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5074,6 +5464,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5091,6 +5482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5100,6 +5492,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5117,6 +5510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5126,6 +5520,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5143,6 +5538,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5152,6 +5548,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5169,6 +5566,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5178,6 +5576,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5195,6 +5594,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5204,6 +5604,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5221,6 +5622,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5230,6 +5632,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5247,6 +5650,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5256,6 +5660,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5273,6 +5678,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5282,6 +5688,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5299,6 +5706,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5308,6 +5716,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5325,6 +5734,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5334,6 +5744,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5351,6 +5762,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5360,6 +5772,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5377,6 +5790,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5386,6 +5800,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5818,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5412,6 +5828,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5429,6 +5846,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5438,6 +5856,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5455,6 +5874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5464,6 +5884,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5481,6 +5902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5490,6 +5912,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5507,6 +5930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5516,6 +5940,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5533,6 +5958,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5542,6 +5968,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5559,6 +5986,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5568,6 +5996,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5585,6 +6014,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5594,6 +6024,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5611,6 +6042,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5620,6 +6052,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5637,6 +6070,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add2.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add2.result
index bb2a433dfe1..16ba8bd3f1b 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add2.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_add2.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -21,6 +22,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -30,6 +32,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -47,6 +50,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -56,6 +60,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -73,6 +78,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -82,6 +88,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -99,6 +106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -108,6 +116,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -125,6 +134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -134,6 +144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -151,6 +162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -160,6 +172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -177,6 +190,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -186,6 +200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -203,6 +218,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -212,6 +228,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -229,6 +246,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -238,6 +256,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -255,6 +274,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -264,6 +284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -281,6 +302,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -290,6 +312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -307,6 +330,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -316,6 +340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -333,6 +358,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -342,6 +368,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -359,6 +386,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,6 +396,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -385,6 +414,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -394,6 +424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -411,6 +442,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -420,6 +452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -437,6 +470,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after bbb;
alter table bar add column added_1 bigint default NULL after bbb;
@@ -446,6 +480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -463,6 +498,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after bbb;
alter table bar add column added_2 bigint default -1 after bbb;
@@ -472,6 +508,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -498,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -515,6 +554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -524,6 +564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -541,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,6 +592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -567,6 +610,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -576,6 +620,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -593,6 +638,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after bbb;
alter table bar add column added_7 text default NULL after bbb;
@@ -602,6 +648,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -619,6 +666,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after bbb;
alter table bar add column added_8 mediumtext default NULL after bbb;
@@ -628,6 +676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -645,6 +694,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -654,6 +704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -671,6 +722,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -680,6 +732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -697,6 +750,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -706,6 +760,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -723,6 +778,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,6 +788,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -749,6 +806,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -758,6 +816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -775,6 +834,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -784,6 +844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -801,6 +862,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -810,6 +872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -827,6 +890,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -836,6 +900,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -853,6 +918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -862,6 +928,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -879,6 +946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -888,6 +956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -905,6 +974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,6 +984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -931,6 +1002,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -940,6 +1012,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +1030,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -966,6 +1040,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -983,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -992,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1009,6 +1086,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1018,6 +1096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1035,6 +1114,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1044,6 +1124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1061,6 +1142,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1070,6 +1152,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1087,6 +1170,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1096,6 +1180,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1113,6 +1198,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1122,6 +1208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1139,6 +1226,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1148,6 +1236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1165,6 +1254,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1174,6 +1264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1282,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1200,6 +1292,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1217,6 +1310,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1226,6 +1320,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1243,6 +1338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1252,6 +1348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1269,6 +1366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,6 +1376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1295,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1304,6 +1404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1321,6 +1422,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1330,6 +1432,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1347,6 +1450,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1356,6 +1460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1373,6 +1478,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1382,6 +1488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1399,6 +1506,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1408,6 +1516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1425,6 +1534,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1434,6 +1544,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1451,6 +1562,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,6 +1572,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1477,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1486,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1618,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1512,6 +1628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1529,6 +1646,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1538,6 +1656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1555,6 +1674,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1564,6 +1684,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1581,6 +1702,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1590,6 +1712,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1607,6 +1730,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1616,6 +1740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1633,6 +1758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1642,6 +1768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1659,6 +1786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1668,6 +1796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1685,6 +1814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1694,6 +1824,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1711,6 +1842,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1720,6 +1852,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1737,6 +1870,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1746,6 +1880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1763,6 +1898,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1772,6 +1908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1789,6 +1926,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1798,6 +1936,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1815,6 +1954,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1824,6 +1964,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1841,6 +1982,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1850,6 +1992,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1867,6 +2010,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1876,6 +2020,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2038,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1902,6 +2048,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +2066,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1928,6 +2076,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1945,6 +2094,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1954,6 +2104,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1971,6 +2122,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1980,6 +2132,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1997,6 +2150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2006,6 +2160,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2023,6 +2178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2032,6 +2188,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2049,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2058,6 +2216,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2075,6 +2234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2084,6 +2244,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2101,6 +2262,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2110,6 +2272,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2127,6 +2290,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2136,6 +2300,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2153,6 +2318,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2162,6 +2328,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2179,6 +2346,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,6 +2356,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2205,6 +2374,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2214,6 +2384,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2231,6 +2402,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2240,6 +2412,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2257,6 +2430,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2266,6 +2440,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2283,6 +2458,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2292,6 +2468,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2309,6 +2486,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2318,6 +2496,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2335,6 +2514,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2344,6 +2524,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2361,6 +2542,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,6 +2552,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2387,6 +2570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2396,6 +2580,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2413,6 +2598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2422,6 +2608,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2439,6 +2626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2448,6 +2636,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2465,6 +2654,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2474,6 +2664,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2491,6 +2682,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2500,6 +2692,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2517,6 +2710,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2526,6 +2720,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2543,6 +2738,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,6 +2748,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2569,6 +2766,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2578,6 +2776,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2794,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2604,6 +2804,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2621,6 +2822,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2630,6 +2832,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2647,6 +2850,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2656,6 +2860,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2673,6 +2878,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2682,6 +2888,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2699,6 +2906,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2708,6 +2916,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2725,6 +2934,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,6 +2944,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2751,6 +2962,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2760,6 +2972,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2777,6 +2990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2786,6 +3000,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2803,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2812,6 +3028,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2829,6 +3046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2838,6 +3056,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2855,6 +3074,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2864,6 +3084,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +3102,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2890,6 +3112,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2907,6 +3130,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,6 +3140,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2933,6 +3158,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2942,6 +3168,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2959,6 +3186,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2968,6 +3196,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2985,6 +3214,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2994,6 +3224,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3011,6 +3242,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3020,6 +3252,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3037,6 +3270,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3046,6 +3280,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3063,6 +3298,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3072,6 +3308,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3089,6 +3326,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3098,6 +3336,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3115,6 +3354,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3124,6 +3364,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3141,6 +3382,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3150,6 +3392,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3167,6 +3410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3176,6 +3420,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3193,6 +3438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3202,6 +3448,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3219,6 +3466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3228,6 +3476,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3245,6 +3494,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3254,6 +3504,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3271,6 +3522,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3280,6 +3532,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3550,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3306,6 +3560,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3323,6 +3578,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3332,6 +3588,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3349,6 +3606,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3358,6 +3616,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3375,6 +3634,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3384,6 +3644,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3401,6 +3662,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3410,6 +3672,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3427,6 +3690,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3436,6 +3700,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3718,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3462,6 +3728,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3479,6 +3746,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3488,6 +3756,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3505,6 +3774,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3514,6 +3784,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3531,6 +3802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3540,6 +3812,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3557,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3566,6 +3840,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3583,6 +3858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3592,6 +3868,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3609,6 +3886,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3618,6 +3896,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3635,6 +3914,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3644,6 +3924,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3661,6 +3942,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3670,6 +3952,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3687,6 +3970,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3696,6 +3980,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3713,6 +3998,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3722,6 +4008,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3739,6 +4026,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3748,6 +4036,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3765,6 +4054,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3774,6 +4064,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3791,6 +4082,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3800,6 +4092,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3817,6 +4110,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3826,6 +4120,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +4138,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3852,6 +4148,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3869,6 +4166,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3878,6 +4176,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3895,6 +4194,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3904,6 +4204,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3921,6 +4222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3930,6 +4232,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3947,6 +4250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3956,6 +4260,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3973,6 +4278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3982,6 +4288,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4306,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4008,6 +4316,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4025,6 +4334,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4034,6 +4344,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4051,6 +4362,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4060,6 +4372,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4077,6 +4390,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4086,6 +4400,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4103,6 +4418,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4112,6 +4428,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4129,6 +4446,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4138,6 +4456,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4155,6 +4474,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4164,6 +4484,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4181,6 +4502,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4190,6 +4512,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4207,6 +4530,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4216,6 +4540,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4233,6 +4558,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4242,6 +4568,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4259,6 +4586,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4268,6 +4596,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4285,6 +4614,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4294,6 +4624,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4311,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4320,6 +4652,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4337,6 +4670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4346,6 +4680,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4363,6 +4698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4372,6 +4708,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4389,6 +4726,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4398,6 +4736,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4415,6 +4754,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4424,6 +4764,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4441,6 +4782,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4450,6 +4792,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4467,6 +4810,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4476,6 +4820,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4493,6 +4838,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4502,6 +4848,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4519,6 +4866,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4528,6 +4876,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4545,6 +4894,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4554,6 +4904,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4571,6 +4922,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4580,6 +4932,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4597,6 +4950,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4606,6 +4960,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4623,6 +4978,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4632,6 +4988,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4649,6 +5006,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4658,6 +5016,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4675,6 +5034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4684,6 +5044,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4710,6 +5072,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4727,6 +5090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4736,6 +5100,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4753,6 +5118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4762,6 +5128,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4779,6 +5146,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4788,6 +5156,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +5174,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4814,6 +5184,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4831,6 +5202,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4840,6 +5212,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4857,6 +5230,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4866,6 +5240,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4883,6 +5258,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4892,6 +5268,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4909,6 +5286,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4918,6 +5296,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4935,6 +5314,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4944,6 +5324,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4961,6 +5342,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4970,6 +5352,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4987,6 +5370,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4996,6 +5380,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5013,6 +5398,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5022,6 +5408,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5039,6 +5426,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5048,6 +5436,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5065,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5074,6 +5464,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5091,6 +5482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5100,6 +5492,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5117,6 +5510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5126,6 +5520,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5143,6 +5538,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5152,6 +5548,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5169,6 +5566,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5178,6 +5576,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5195,6 +5594,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5204,6 +5604,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5221,6 +5622,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5230,6 +5632,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5247,6 +5650,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5256,6 +5660,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5273,6 +5678,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5282,6 +5688,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5299,6 +5706,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5308,6 +5716,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5325,6 +5734,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5334,6 +5744,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5351,6 +5762,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5360,6 +5772,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5377,6 +5790,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5386,6 +5800,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5818,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5412,6 +5828,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5429,6 +5846,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5438,6 +5856,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5455,6 +5874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5464,6 +5884,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5481,6 +5902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5490,6 +5912,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5507,6 +5930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5516,6 +5940,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5533,6 +5958,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5542,6 +5968,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5559,6 +5986,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5568,6 +5996,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5585,6 +6014,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5594,6 +6024,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5611,6 +6042,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5620,6 +6052,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5637,6 +6070,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_drop.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_drop.result
index 62a80ff2f57..fb922437819 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_drop.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_fixedvar_drop.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -21,6 +22,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a;
alter table bar drop column a;
@@ -30,6 +32,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -47,6 +50,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b;
alter table bar drop column b;
@@ -56,6 +60,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -73,6 +78,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c;
alter table bar drop column c;
@@ -82,6 +88,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -99,6 +106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d;
alter table bar drop column d;
@@ -108,6 +116,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -125,6 +134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa;
alter table bar drop column aaa;
@@ -134,6 +144,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -151,6 +162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb;
alter table bar drop column bbb;
@@ -160,6 +172,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -177,6 +190,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc;
alter table bar drop column ccc;
@@ -186,6 +200,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -203,6 +218,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd;
alter table bar drop column ddd;
@@ -212,6 +228,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -229,6 +246,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b;
alter table bar drop column a, drop column b;
@@ -238,6 +256,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -255,6 +274,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column c;
alter table bar drop column a, drop column c;
@@ -264,6 +284,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -281,6 +302,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column d;
alter table bar drop column a, drop column d;
@@ -290,6 +312,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -307,6 +330,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column aaa;
alter table bar drop column a, drop column aaa;
@@ -316,6 +340,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -333,6 +358,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column bbb;
alter table bar drop column a, drop column bbb;
@@ -342,6 +368,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -359,6 +386,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column ccc;
alter table bar drop column a, drop column ccc;
@@ -368,6 +396,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -385,6 +414,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column ddd;
alter table bar drop column a, drop column ddd;
@@ -394,6 +424,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -411,6 +442,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column a;
alter table bar drop column b, drop column a;
@@ -420,6 +452,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -437,6 +470,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column c;
alter table bar drop column b, drop column c;
@@ -446,6 +480,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -463,6 +498,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column d;
alter table bar drop column b, drop column d;
@@ -472,6 +508,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column aaa;
alter table bar drop column b, drop column aaa;
@@ -498,6 +536,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -515,6 +554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column bbb;
alter table bar drop column b, drop column bbb;
@@ -524,6 +564,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -541,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column ccc;
alter table bar drop column b, drop column ccc;
@@ -550,6 +592,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -567,6 +610,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column ddd;
alter table bar drop column b, drop column ddd;
@@ -576,6 +620,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -593,6 +638,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column a;
alter table bar drop column c, drop column a;
@@ -602,6 +648,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -619,6 +666,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column b;
alter table bar drop column c, drop column b;
@@ -628,6 +676,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -645,6 +694,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column d;
alter table bar drop column c, drop column d;
@@ -654,6 +704,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -671,6 +722,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column aaa;
alter table bar drop column c, drop column aaa;
@@ -680,6 +732,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -697,6 +750,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column bbb;
alter table bar drop column c, drop column bbb;
@@ -706,6 +760,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -723,6 +778,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column ccc;
alter table bar drop column c, drop column ccc;
@@ -732,6 +788,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -749,6 +806,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column c, drop column ddd;
alter table bar drop column c, drop column ddd;
@@ -758,6 +816,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -775,6 +834,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column a;
alter table bar drop column d, drop column a;
@@ -784,6 +844,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -801,6 +862,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column b;
alter table bar drop column d, drop column b;
@@ -810,6 +872,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -827,6 +890,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column c;
alter table bar drop column d, drop column c;
@@ -836,6 +900,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -853,6 +918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column aaa;
alter table bar drop column d, drop column aaa;
@@ -862,6 +928,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -879,6 +946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column bbb;
alter table bar drop column d, drop column bbb;
@@ -888,6 +956,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -905,6 +974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column ccc;
alter table bar drop column d, drop column ccc;
@@ -914,6 +984,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -931,6 +1002,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column d, drop column ddd;
alter table bar drop column d, drop column ddd;
@@ -940,6 +1012,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +1030,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column a;
alter table bar drop column aaa, drop column a;
@@ -966,6 +1040,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -983,6 +1058,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column b;
alter table bar drop column aaa, drop column b;
@@ -992,6 +1068,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1009,6 +1086,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column c;
alter table bar drop column aaa, drop column c;
@@ -1018,6 +1096,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1035,6 +1114,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column d;
alter table bar drop column aaa, drop column d;
@@ -1044,6 +1124,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1061,6 +1142,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column bbb;
alter table bar drop column aaa, drop column bbb;
@@ -1070,6 +1152,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1087,6 +1170,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ccc;
alter table bar drop column aaa, drop column ccc;
@@ -1096,6 +1180,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1113,6 +1198,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column aaa, drop column ddd;
alter table bar drop column aaa, drop column ddd;
@@ -1122,6 +1208,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1139,6 +1226,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column a;
alter table bar drop column bbb, drop column a;
@@ -1148,6 +1236,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1165,6 +1254,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column b;
alter table bar drop column bbb, drop column b;
@@ -1174,6 +1264,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1282,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column c;
alter table bar drop column bbb, drop column c;
@@ -1200,6 +1292,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1217,6 +1310,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column d;
alter table bar drop column bbb, drop column d;
@@ -1226,6 +1320,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1243,6 +1338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column aaa;
alter table bar drop column bbb, drop column aaa;
@@ -1252,6 +1348,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1269,6 +1366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ccc;
alter table bar drop column bbb, drop column ccc;
@@ -1278,6 +1376,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1295,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column bbb, drop column ddd;
alter table bar drop column bbb, drop column ddd;
@@ -1304,6 +1404,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1321,6 +1422,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column a;
alter table bar drop column ccc, drop column a;
@@ -1330,6 +1432,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1347,6 +1450,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column b;
alter table bar drop column ccc, drop column b;
@@ -1356,6 +1460,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1373,6 +1478,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column c;
alter table bar drop column ccc, drop column c;
@@ -1382,6 +1488,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1399,6 +1506,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column d;
alter table bar drop column ccc, drop column d;
@@ -1408,6 +1516,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1425,6 +1534,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column aaa;
alter table bar drop column ccc, drop column aaa;
@@ -1434,6 +1544,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1451,6 +1562,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column bbb;
alter table bar drop column ccc, drop column bbb;
@@ -1460,6 +1572,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1477,6 +1590,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ccc, drop column ddd;
alter table bar drop column ccc, drop column ddd;
@@ -1486,6 +1600,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1618,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column a;
alter table bar drop column ddd, drop column a;
@@ -1512,6 +1628,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1529,6 +1646,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column b;
alter table bar drop column ddd, drop column b;
@@ -1538,6 +1656,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1555,6 +1674,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column c;
alter table bar drop column ddd, drop column c;
@@ -1564,6 +1684,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1581,6 +1702,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column d;
alter table bar drop column ddd, drop column d;
@@ -1590,6 +1712,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1607,6 +1730,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column aaa;
alter table bar drop column ddd, drop column aaa;
@@ -1616,6 +1740,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1633,6 +1758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column bbb;
alter table bar drop column ddd, drop column bbb;
@@ -1642,6 +1768,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1659,6 +1786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column ddd, drop column ccc;
alter table bar drop column ddd, drop column ccc;
@@ -1668,6 +1796,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1685,6 +1814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b, drop column c;
alter table bar drop column a, drop column b, drop column c;
@@ -1694,6 +1824,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1711,6 +1842,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b, drop column d;
alter table bar drop column a, drop column b, drop column d;
@@ -1720,6 +1852,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1737,6 +1870,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column c, drop column d;
alter table bar drop column a, drop column c, drop column d;
@@ -1746,6 +1880,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1763,6 +1898,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column b, drop column c, drop column d;
alter table bar drop column b, drop column c, drop column d;
@@ -1772,6 +1908,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1789,6 +1926,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo drop column a, drop column b, drop column c, drop column d;
alter table bar drop column a, drop column b, drop column c, drop column d;
@@ -1798,6 +1936,7 @@ drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1815,6 +1954,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_varblob_add.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_varblob_add.result
index 50f2bb4d6d6..ad9542eb7dd 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_varblob_add.result
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_varblob_add.result
@@ -4,6 +4,7 @@ set session tokudb_disable_slow_alter=ON;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -21,6 +22,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL;
alter table bar add column added_1 bigint default NULL;
@@ -30,6 +32,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -47,6 +50,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1;
alter table bar add column added_2 bigint default -1;
@@ -56,6 +60,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -73,6 +78,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_3 bigint NOT NULL default -1;
alter table bar add column added_3 bigint NOT NULL default -1;
@@ -82,6 +88,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -99,6 +106,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL;
alter table bar add column added_4 varchar(10) default NULL;
@@ -108,6 +116,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -125,6 +134,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty";
alter table bar add column added_5 varchar(10) default "qwerty";
@@ -134,6 +144,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -151,6 +162,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -160,6 +172,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -177,6 +190,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL;
alter table bar add column added_7 text default NULL;
@@ -186,6 +200,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -203,6 +218,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL;
alter table bar add column added_8 mediumtext default NULL;
@@ -212,6 +228,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -229,6 +246,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL first;
alter table bar add column added_1 bigint default NULL first;
@@ -238,6 +256,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -255,6 +274,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 first;
alter table bar add column added_2 bigint default -1 first;
@@ -264,6 +284,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -281,6 +302,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -290,6 +312,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -307,6 +330,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_4 varchar(10) default NULL first;
alter table bar add column added_4 varchar(10) default NULL first;
@@ -316,6 +340,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -333,6 +358,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_5 varchar(10) default "qwerty" first;
alter table bar add column added_5 varchar(10) default "qwerty" first;
@@ -342,6 +368,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -359,6 +386,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -368,6 +396,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -385,6 +414,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL first;
alter table bar add column added_7 text default NULL first;
@@ -394,6 +424,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -411,6 +442,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL first;
alter table bar add column added_8 mediumtext default NULL first;
@@ -420,6 +452,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -437,6 +470,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_1 bigint default NULL after bbb;
alter table bar add column added_1 bigint default NULL after bbb;
@@ -446,6 +480,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -463,6 +498,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_2 bigint default -1 after bbb;
alter table bar add column added_2 bigint default -1 after bbb;
@@ -472,6 +508,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +526,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -498,6 +536,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -515,6 +554,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -524,6 +564,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -541,6 +582,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -550,6 +592,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -567,6 +610,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -576,6 +620,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -593,6 +638,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_7 text default NULL after bbb;
alter table bar add column added_7 text default NULL after bbb;
@@ -602,6 +648,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -619,6 +666,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
alter table foo add column added_8 mediumtext default NULL after bbb;
alter table bar add column added_8 mediumtext default NULL after bbb;
@@ -628,6 +676,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -645,6 +694,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -654,6 +704,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -671,6 +722,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -680,6 +732,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -697,6 +750,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -706,6 +760,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -723,6 +778,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -732,6 +788,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -749,6 +806,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -758,6 +816,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -775,6 +834,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -784,6 +844,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -801,6 +862,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -810,6 +872,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -827,6 +890,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -836,6 +900,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -853,6 +918,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -862,6 +928,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -879,6 +946,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -888,6 +956,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -905,6 +974,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -914,6 +984,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -931,6 +1002,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -940,6 +1012,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -957,6 +1030,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -966,6 +1040,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -983,6 +1058,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -992,6 +1068,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1009,6 +1086,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1018,6 +1096,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1035,6 +1114,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1044,6 +1124,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1061,6 +1142,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1070,6 +1152,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1087,6 +1170,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1096,6 +1180,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1113,6 +1198,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1122,6 +1208,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1139,6 +1226,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1148,6 +1236,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1165,6 +1254,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1174,6 +1264,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1282,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1200,6 +1292,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1217,6 +1310,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1226,6 +1320,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1243,6 +1338,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1252,6 +1348,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1269,6 +1366,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1278,6 +1376,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1295,6 +1394,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1304,6 +1404,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1321,6 +1422,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1330,6 +1432,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1347,6 +1450,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1356,6 +1460,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1373,6 +1478,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1382,6 +1488,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1399,6 +1506,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1408,6 +1516,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1425,6 +1534,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1434,6 +1544,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1451,6 +1562,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1460,6 +1572,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1477,6 +1590,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1486,6 +1600,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1618,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1512,6 +1628,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1529,6 +1646,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1538,6 +1656,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1555,6 +1674,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1564,6 +1684,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1581,6 +1702,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1590,6 +1712,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1607,6 +1730,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1616,6 +1740,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1633,6 +1758,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1642,6 +1768,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1659,6 +1786,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1668,6 +1796,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1685,6 +1814,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1694,6 +1824,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1711,6 +1842,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1720,6 +1852,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1737,6 +1870,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1746,6 +1880,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1763,6 +1898,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1772,6 +1908,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1789,6 +1926,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1798,6 +1936,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1815,6 +1954,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -1824,6 +1964,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1841,6 +1982,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1850,6 +1992,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1867,6 +2010,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1876,6 +2020,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2038,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1902,6 +2048,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1919,6 +2066,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1928,6 +2076,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1945,6 +2094,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1954,6 +2104,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1971,6 +2122,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -1980,6 +2132,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1997,6 +2150,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2006,6 +2160,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2023,6 +2178,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2032,6 +2188,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2049,6 +2206,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2058,6 +2216,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2075,6 +2234,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2084,6 +2244,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2101,6 +2262,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2110,6 +2272,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2127,6 +2290,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2136,6 +2300,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2153,6 +2318,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2162,6 +2328,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2179,6 +2346,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2188,6 +2356,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2205,6 +2374,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2214,6 +2384,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2231,6 +2402,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2240,6 +2412,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2257,6 +2430,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2266,6 +2440,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2283,6 +2458,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2292,6 +2468,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2309,6 +2486,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2318,6 +2496,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2335,6 +2514,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2344,6 +2524,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2361,6 +2542,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2370,6 +2552,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2387,6 +2570,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2396,6 +2580,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2413,6 +2598,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2422,6 +2608,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2439,6 +2626,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2448,6 +2636,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2465,6 +2654,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2474,6 +2664,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2491,6 +2682,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2500,6 +2692,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2517,6 +2710,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2526,6 +2720,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2543,6 +2738,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2552,6 +2748,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2569,6 +2766,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2578,6 +2776,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2794,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2604,6 +2804,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2621,6 +2822,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2630,6 +2832,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2647,6 +2850,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2656,6 +2860,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2673,6 +2878,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2682,6 +2888,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2699,6 +2906,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2708,6 +2916,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2725,6 +2934,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2734,6 +2944,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2751,6 +2962,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2760,6 +2972,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2777,6 +2990,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2786,6 +3000,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2803,6 +3018,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2812,6 +3028,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2829,6 +3046,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2838,6 +3056,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2855,6 +3074,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -2864,6 +3084,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2881,6 +3102,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2890,6 +3112,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2907,6 +3130,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2916,6 +3140,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2933,6 +3158,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2942,6 +3168,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2959,6 +3186,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2968,6 +3196,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2985,6 +3214,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -2994,6 +3224,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3011,6 +3242,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3020,6 +3252,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3037,6 +3270,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3046,6 +3280,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3063,6 +3298,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3072,6 +3308,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3089,6 +3326,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3098,6 +3336,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3115,6 +3354,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3124,6 +3364,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3141,6 +3382,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3150,6 +3392,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3167,6 +3410,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3176,6 +3420,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3193,6 +3438,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3202,6 +3448,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3219,6 +3466,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3228,6 +3476,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3245,6 +3494,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3254,6 +3504,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3271,6 +3522,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3280,6 +3532,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3550,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3306,6 +3560,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3323,6 +3578,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3332,6 +3588,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3349,6 +3606,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3358,6 +3616,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3375,6 +3634,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3384,6 +3644,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3401,6 +3662,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3410,6 +3672,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3427,6 +3690,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3436,6 +3700,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3718,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3462,6 +3728,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3479,6 +3746,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3488,6 +3756,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3505,6 +3774,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3514,6 +3784,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3531,6 +3802,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3540,6 +3812,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3557,6 +3830,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3566,6 +3840,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3583,6 +3858,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3592,6 +3868,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3609,6 +3886,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3618,6 +3896,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3635,6 +3914,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3644,6 +3924,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3661,6 +3942,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3670,6 +3952,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3687,6 +3970,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3696,6 +3980,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3713,6 +3998,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3722,6 +4008,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3739,6 +4026,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3748,6 +4036,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3765,6 +4054,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3774,6 +4064,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3791,6 +4082,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3800,6 +4092,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3817,6 +4110,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3826,6 +4120,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3843,6 +4138,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3852,6 +4148,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3869,6 +4166,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3878,6 +4176,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3895,6 +4194,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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";
@@ -3904,6 +4204,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3921,6 +4222,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3930,6 +4232,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3947,6 +4250,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3956,6 +4260,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3973,6 +4278,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -3982,6 +4288,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4306,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4008,6 +4316,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4025,6 +4334,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4034,6 +4344,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4051,6 +4362,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4060,6 +4372,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4077,6 +4390,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4086,6 +4400,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4103,6 +4418,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4112,6 +4428,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4129,6 +4446,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4138,6 +4456,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4155,6 +4474,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4164,6 +4484,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4181,6 +4502,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4190,6 +4512,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4207,6 +4530,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4216,6 +4540,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4233,6 +4558,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4242,6 +4568,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4259,6 +4586,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4268,6 +4596,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4285,6 +4614,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4294,6 +4624,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4311,6 +4642,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4320,6 +4652,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4337,6 +4670,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4346,6 +4680,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4363,6 +4698,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4372,6 +4708,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4389,6 +4726,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4398,6 +4736,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4415,6 +4754,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4424,6 +4764,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4441,6 +4782,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4450,6 +4792,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4467,6 +4810,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4476,6 +4820,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4493,6 +4838,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4502,6 +4848,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4519,6 +4866,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4528,6 +4876,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4545,6 +4894,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4554,6 +4904,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4571,6 +4922,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4580,6 +4932,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4597,6 +4950,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4606,6 +4960,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4623,6 +4978,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4632,6 +4988,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4649,6 +5006,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4658,6 +5016,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4675,6 +5034,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4684,6 +5044,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5062,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4710,6 +5072,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4727,6 +5090,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4736,6 +5100,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4753,6 +5118,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4762,6 +5128,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4779,6 +5146,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4788,6 +5156,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4805,6 +5174,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4814,6 +5184,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4831,6 +5202,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4840,6 +5212,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4857,6 +5230,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4866,6 +5240,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4883,6 +5258,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4892,6 +5268,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4909,6 +5286,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4918,6 +5296,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4935,6 +5314,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4944,6 +5324,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4961,6 +5342,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4970,6 +5352,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4987,6 +5370,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -4996,6 +5380,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5013,6 +5398,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5022,6 +5408,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5039,6 +5426,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5048,6 +5436,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5065,6 +5454,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5074,6 +5464,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5091,6 +5482,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5100,6 +5492,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5117,6 +5510,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5126,6 +5520,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5143,6 +5538,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5152,6 +5548,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5169,6 +5566,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5178,6 +5576,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5195,6 +5594,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5204,6 +5604,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5221,6 +5622,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5230,6 +5632,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5247,6 +5650,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5256,6 +5660,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5273,6 +5678,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5282,6 +5688,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5299,6 +5706,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5308,6 +5716,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5325,6 +5734,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5334,6 +5744,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5351,6 +5762,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5360,6 +5772,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5377,6 +5790,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5386,6 +5800,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5818,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5412,6 +5828,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5429,6 +5846,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5438,6 +5856,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5455,6 +5874,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5464,6 +5884,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5481,6 +5902,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5490,6 +5912,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5507,6 +5930,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5516,6 +5940,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5533,6 +5958,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5542,6 +5968,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5559,6 +5986,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5568,6 +5996,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5585,6 +6014,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5594,6 +6024,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5611,6 +6042,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
@@ -5620,6 +6052,7 @@ drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5637,6 +6070,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
+commit;
include/diff_tables.inc [test.foo, test.bar]
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;
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/suite.pm b/storage/tokudb/mysql-test/tokudb_alter_table/suite.pm
index 3c42185a199..7981fad2c62 100644
--- a/storage/tokudb/mysql-test/tokudb_alter_table/suite.pm
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/suite.pm
@@ -2,7 +2,13 @@ package My::Suite::TokuDB_alter_table;
use File::Basename;
@ISA = qw(My::Suite);
+# Ensure we can run the TokuDB tests even if hugepages are enabled
+$ENV{TOKU_HUGE_PAGES_OK}=1;
+
#return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
+
+sub is_default { not $::opt_embedded_server }
+
bless { };
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 1946f3abe00..74df7611346 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,3 +1,5 @@
+# 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';
@@ -13,6 +15,7 @@ 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");
@@ -78,6 +81,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -88,6 +92,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -153,6 +158,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -163,6 +169,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -228,6 +235,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -238,6 +246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -303,6 +312,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -313,6 +323,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -379,6 +390,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NUL
insert into foo values (2,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;
@@ -388,6 +400,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -453,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -463,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -528,6 +543,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -538,6 +554,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -603,6 +620,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -613,6 +631,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +697,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -688,6 +708,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -753,6 +774,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -763,6 +785,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -828,6 +851,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -838,6 +862,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -903,6 +928,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -913,6 +939,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -978,6 +1005,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -988,6 +1016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1053,6 +1082,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1063,6 +1093,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1128,6 +1159,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1138,6 +1170,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1203,6 +1236,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1213,6 +1247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1278,6 +1313,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1288,6 +1324,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1390,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1363,6 +1401,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1428,6 +1467,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1438,6 +1478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1544,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1513,6 +1555,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1578,6 +1621,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1588,6 +1632,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1653,6 +1698,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1663,6 +1709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1728,6 +1775,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1738,6 +1786,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1803,6 +1852,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1813,6 +1863,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1878,6 +1929,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1888,6 +1940,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1953,6 +2006,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1963,6 +2017,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2083,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2038,6 +2094,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2103,6 +2160,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2113,6 +2171,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2178,6 +2237,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2188,6 +2248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2253,6 +2314,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2263,6 +2325,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2328,6 +2391,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2338,6 +2402,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2403,6 +2468,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2413,6 +2479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2478,6 +2545,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2488,6 +2556,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2553,6 +2622,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2563,6 +2633,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2628,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2638,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2776,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2713,6 +2787,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2778,6 +2853,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2788,6 +2864,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2853,6 +2930,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2863,6 +2941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2928,6 +3007,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2938,6 +3018,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3003,6 +3084,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3013,6 +3095,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3078,6 +3161,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3088,6 +3172,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3153,6 +3238,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3163,6 +3249,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3228,6 +3315,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3238,6 +3326,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3303,6 +3392,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3313,6 +3403,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3469,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -3388,6 +3480,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3546,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -3463,6 +3557,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3528,6 +3623,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3538,6 +3634,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3603,6 +3700,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3613,6 +3711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3678,6 +3777,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3688,6 +3788,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3753,6 +3854,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3763,6 +3865,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3828,6 +3931,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3838,6 +3942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3903,6 +4008,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3913,6 +4019,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3978,6 +4085,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -3988,6 +4096,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4162,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -4063,6 +4173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4128,6 +4239,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4138,6 +4250,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4203,6 +4316,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4213,6 +4327,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4278,6 +4393,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4288,6 +4404,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4353,6 +4470,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4363,6 +4481,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4428,6 +4547,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4438,6 +4558,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4503,6 +4624,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4513,6 +4635,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4578,6 +4701,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -4588,6 +4712,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4653,6 +4778,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -4663,6 +4789,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +4855,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4738,6 +4866,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4803,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4813,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4878,6 +5009,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4888,6 +5020,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4953,6 +5086,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4963,6 +5097,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5028,6 +5163,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5038,6 +5174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5103,6 +5240,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5113,6 +5251,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5178,6 +5317,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5188,6 +5328,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5253,6 +5394,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5263,6 +5405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5328,6 +5471,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5338,6 +5482,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5548,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5413,6 +5559,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5478,6 +5625,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5488,6 +5636,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5553,6 +5702,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5563,6 +5713,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5628,6 +5779,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5638,6 +5790,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5703,6 +5856,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5713,6 +5867,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5778,6 +5933,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5788,6 +5944,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5853,6 +6010,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5863,6 +6021,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5928,6 +6087,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5938,6 +6098,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6003,6 +6164,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6013,6 +6175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6078,6 +6241,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6088,6 +6252,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6153,6 +6318,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6163,6 +6329,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6228,6 +6395,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6238,6 +6406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6303,6 +6472,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6313,6 +6483,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6378,6 +6549,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -6388,6 +6560,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6453,6 +6626,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -6463,6 +6637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6528,6 +6703,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6538,6 +6714,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6603,6 +6780,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6613,6 +6791,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6678,6 +6857,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6688,6 +6868,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6753,6 +6934,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6763,6 +6945,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6828,6 +7011,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6838,6 +7022,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6903,6 +7088,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6913,6 +7099,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6978,6 +7165,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -6988,6 +7176,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7053,6 +7242,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -7063,6 +7253,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7128,6 +7319,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7138,6 +7330,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7203,6 +7396,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7213,6 +7407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7278,6 +7473,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7288,6 +7484,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7353,6 +7550,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7363,6 +7561,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7428,6 +7627,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7438,6 +7638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7503,6 +7704,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7513,6 +7715,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7578,6 +7781,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -7588,6 +7792,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7653,6 +7858,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -7663,6 +7869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7728,6 +7935,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7738,6 +7946,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7803,6 +8012,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7813,6 +8023,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7878,6 +8089,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7888,6 +8100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7953,6 +8166,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7963,6 +8177,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8028,6 +8243,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8038,6 +8254,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8103,6 +8320,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8113,6 +8331,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8178,6 +8397,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8188,6 +8408,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8253,6 +8474,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8263,6 +8485,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8328,6 +8551,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8338,6 +8562,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8403,6 +8628,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8413,6 +8639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8478,6 +8705,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8488,6 +8716,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8553,6 +8782,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8563,6 +8793,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8628,6 +8859,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8638,6 +8870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8703,6 +8936,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8713,6 +8947,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8778,6 +9013,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8788,6 +9024,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8853,6 +9090,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8863,6 +9101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8928,6 +9167,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8938,6 +9178,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9003,6 +9244,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9013,6 +9255,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9078,6 +9321,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9088,6 +9332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9153,6 +9398,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9163,6 +9409,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9228,6 +9475,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9238,6 +9486,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9303,6 +9552,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9313,6 +9563,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9378,6 +9629,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -9388,6 +9640,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9453,6 +9706,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -9463,6 +9717,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9528,6 +9783,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9538,6 +9794,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9603,6 +9860,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9613,6 +9871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9678,6 +9937,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9688,6 +9948,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9753,6 +10014,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9763,6 +10025,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9828,6 +10091,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9838,6 +10102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9903,6 +10168,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9913,6 +10179,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9978,6 +10245,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -9988,6 +10256,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10053,6 +10322,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -10063,6 +10333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10128,6 +10399,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10138,6 +10410,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10203,6 +10476,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10213,6 +10487,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10278,6 +10553,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10288,6 +10564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10353,6 +10630,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10363,6 +10641,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10428,6 +10707,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10438,6 +10718,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10503,6 +10784,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10513,6 +10795,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10578,6 +10861,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -10588,6 +10872,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10653,6 +10938,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -10663,6 +10949,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10728,6 +11015,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10738,6 +11026,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10803,6 +11092,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10813,6 +11103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10878,6 +11169,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10888,6 +11180,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10953,6 +11246,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10963,6 +11257,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11028,6 +11323,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11038,6 +11334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11103,6 +11400,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11113,6 +11411,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11178,6 +11477,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -11188,6 +11488,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11253,6 +11554,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -11263,6 +11565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11328,6 +11631,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11338,6 +11642,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11403,6 +11708,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11413,6 +11719,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11478,6 +11785,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11488,6 +11796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11553,6 +11862,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11563,6 +11873,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11628,6 +11939,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11638,6 +11950,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11703,6 +12016,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11713,6 +12027,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11778,6 +12093,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11788,6 +12104,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11853,6 +12170,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11863,6 +12181,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11928,6 +12247,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11938,6 +12258,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12003,6 +12324,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12013,6 +12335,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12078,6 +12401,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12088,6 +12412,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12153,6 +12478,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12163,6 +12489,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12228,6 +12555,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12238,6 +12566,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12303,6 +12632,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12313,6 +12643,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12378,6 +12709,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12388,6 +12720,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12453,6 +12786,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12463,6 +12797,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12528,6 +12863,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12538,6 +12874,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12603,6 +12940,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12613,6 +12951,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12678,6 +13017,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12688,6 +13028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12753,6 +13094,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12763,6 +13105,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12828,6 +13171,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12838,6 +13182,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12903,6 +13248,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12913,6 +13259,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12978,6 +13325,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12988,6 +13336,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13053,6 +13402,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13063,6 +13413,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13128,6 +13479,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13138,6 +13490,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13203,6 +13556,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13213,6 +13567,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13278,6 +13633,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13288,6 +13644,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13353,6 +13710,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13363,6 +13721,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13428,6 +13787,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13438,6 +13798,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13503,6 +13864,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13513,6 +13875,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13578,6 +13941,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13588,6 +13952,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13653,6 +14018,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13663,6 +14029,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13728,6 +14095,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13738,6 +14106,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13803,6 +14172,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13813,6 +14183,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13878,6 +14249,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13888,6 +14260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13953,6 +14326,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13963,6 +14337,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14028,6 +14403,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14038,6 +14414,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14103,6 +14480,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14113,6 +14491,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14178,6 +14557,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14188,6 +14568,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14253,6 +14634,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14263,6 +14645,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14328,6 +14711,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14338,6 +14722,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14403,6 +14788,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14413,6 +14799,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14478,6 +14865,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14488,6 +14876,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14553,6 +14942,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14563,6 +14953,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14628,6 +15019,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14638,6 +15030,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14703,6 +15096,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14713,6 +15107,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14778,6 +15173,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14788,6 +15184,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14853,6 +15250,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14863,6 +15261,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14928,6 +15327,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14938,6 +15338,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15003,6 +15404,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15013,6 +15415,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15078,6 +15481,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15088,6 +15492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15153,6 +15558,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15163,6 +15569,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15228,6 +15635,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15238,6 +15646,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15303,6 +15712,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15313,6 +15723,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15378,6 +15789,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15388,6 +15800,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15453,6 +15866,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15463,6 +15877,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15528,6 +15943,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15538,6 +15954,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15603,6 +16020,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15613,6 +16031,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15678,6 +16097,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15688,6 +16108,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15753,6 +16174,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15763,6 +16185,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15828,6 +16251,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15838,6 +16262,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15903,6 +16328,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15913,6 +16339,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15978,6 +16405,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15988,6 +16416,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16053,6 +16482,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -16063,6 +16493,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16128,6 +16559,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -16138,6 +16570,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16203,6 +16636,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -16213,6 +16647,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16278,6 +16713,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
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 9ffb49e242b..b754e0c961a 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,3 +1,5 @@
+# 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';
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 430ab06ca22..a741dcfe0eb 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,3 +1,5 @@
+# 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';
@@ -13,6 +15,7 @@ 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");
@@ -78,6 +81,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -88,6 +92,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -153,6 +158,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -163,6 +169,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -228,6 +235,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -238,6 +246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -303,6 +312,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -313,6 +323,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -378,6 +389,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -388,6 +400,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -453,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -463,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -528,6 +543,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -538,6 +554,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -603,6 +620,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -613,6 +631,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +697,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -688,6 +708,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -753,6 +774,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -763,6 +785,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -828,6 +851,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -838,6 +862,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -903,6 +928,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -913,6 +939,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -978,6 +1005,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -988,6 +1016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1053,6 +1082,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1063,6 +1093,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1128,6 +1159,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1138,6 +1170,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1203,6 +1236,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1213,6 +1247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1278,6 +1313,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1288,6 +1324,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1390,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1363,6 +1401,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1428,6 +1467,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1438,6 +1478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1544,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1513,6 +1555,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1578,6 +1621,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1588,6 +1632,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1653,6 +1698,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1663,6 +1709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1728,6 +1775,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1738,6 +1786,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1803,6 +1852,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1813,6 +1863,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1878,6 +1929,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1888,6 +1940,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1953,6 +2006,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -1963,6 +2017,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2083,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2038,6 +2094,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2103,6 +2160,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2113,6 +2171,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2178,6 +2237,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2188,6 +2248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2253,6 +2314,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2263,6 +2325,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2328,6 +2391,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2338,6 +2402,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2403,6 +2468,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2413,6 +2479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2478,6 +2545,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2488,6 +2556,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2553,6 +2622,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2563,6 +2633,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2628,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2638,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2776,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2713,6 +2787,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2778,6 +2853,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2788,6 +2864,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2853,6 +2930,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -2863,6 +2941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2928,6 +3007,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -2938,6 +3018,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3003,6 +3084,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3013,6 +3095,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3078,6 +3161,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3088,6 +3172,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3153,6 +3238,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3163,6 +3249,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3228,6 +3315,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3238,6 +3326,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3303,6 +3392,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3313,6 +3403,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3469,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -3388,6 +3480,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3546,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -3463,6 +3557,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3528,6 +3623,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3538,6 +3634,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3603,6 +3700,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3613,6 +3711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3678,6 +3777,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3688,6 +3788,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3753,6 +3854,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3763,6 +3865,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3828,6 +3931,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3838,6 +3942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3903,6 +4008,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -3913,6 +4019,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3978,6 +4085,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -3988,6 +4096,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4162,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -4063,6 +4173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4128,6 +4239,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4138,6 +4250,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4203,6 +4316,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4213,6 +4327,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4278,6 +4393,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4288,6 +4404,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4353,6 +4470,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4363,6 +4481,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4428,6 +4547,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4438,6 +4558,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4503,6 +4624,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4513,6 +4635,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4578,6 +4701,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -4588,6 +4712,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4653,6 +4778,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -4663,6 +4789,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +4855,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4738,6 +4866,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4803,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4813,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4878,6 +5009,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4888,6 +5020,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4953,6 +5086,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -4963,6 +5097,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5028,6 +5163,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5038,6 +5174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5103,6 +5240,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5113,6 +5251,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5178,6 +5317,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5188,6 +5328,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5253,6 +5394,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5263,6 +5405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5328,6 +5471,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5338,6 +5482,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5548,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5413,6 +5559,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5478,6 +5625,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5488,6 +5636,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5553,6 +5702,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5563,6 +5713,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5628,6 +5779,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5638,6 +5790,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5703,6 +5856,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5713,6 +5867,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5778,6 +5933,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5788,6 +5944,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5853,6 +6010,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -5863,6 +6021,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5928,6 +6087,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -5938,6 +6098,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6003,6 +6164,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6013,6 +6175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6078,6 +6241,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6088,6 +6252,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6153,6 +6318,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6163,6 +6329,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6228,6 +6395,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6238,6 +6406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6303,6 +6472,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6313,6 +6483,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6378,6 +6549,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -6388,6 +6560,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6453,6 +6626,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -6463,6 +6637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6528,6 +6703,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6538,6 +6714,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6603,6 +6780,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6613,6 +6791,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6678,6 +6857,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6688,6 +6868,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6753,6 +6934,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6763,6 +6945,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6828,6 +7011,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6838,6 +7022,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6903,6 +7088,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -6913,6 +7099,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6978,6 +7165,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -6988,6 +7176,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7053,6 +7242,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -7063,6 +7253,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7128,6 +7319,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7138,6 +7330,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7203,6 +7396,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7213,6 +7407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7278,6 +7473,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7288,6 +7484,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7353,6 +7550,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7363,6 +7561,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7428,6 +7627,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7438,6 +7638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7503,6 +7704,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7513,6 +7715,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7578,6 +7781,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -7588,6 +7792,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7653,6 +7858,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -7663,6 +7869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7728,6 +7935,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7738,6 +7946,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7803,6 +8012,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7813,6 +8023,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7878,6 +8089,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7888,6 +8100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7953,6 +8166,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -7963,6 +8177,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8028,6 +8243,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8038,6 +8254,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8103,6 +8320,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8113,6 +8331,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8178,6 +8397,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8188,6 +8408,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8253,6 +8474,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8263,6 +8485,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8328,6 +8551,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8338,6 +8562,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8403,6 +8628,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8413,6 +8639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8478,6 +8705,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8488,6 +8716,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8553,6 +8782,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8563,6 +8793,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8628,6 +8859,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8638,6 +8870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8703,6 +8936,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8713,6 +8947,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8778,6 +9013,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8788,6 +9024,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8853,6 +9090,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -8863,6 +9101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8928,6 +9167,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -8938,6 +9178,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9003,6 +9244,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9013,6 +9255,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9078,6 +9321,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9088,6 +9332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9153,6 +9398,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9163,6 +9409,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9228,6 +9475,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9238,6 +9486,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9303,6 +9552,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9313,6 +9563,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9378,6 +9629,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -9388,6 +9640,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9453,6 +9706,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -9463,6 +9717,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9528,6 +9783,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9538,6 +9794,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9603,6 +9860,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9613,6 +9871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9678,6 +9937,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9688,6 +9948,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9753,6 +10014,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9763,6 +10025,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9828,6 +10091,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9838,6 +10102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9903,6 +10168,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -9913,6 +10179,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9978,6 +10245,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -9988,6 +10256,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10053,6 +10322,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -10063,6 +10333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10128,6 +10399,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10138,6 +10410,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10203,6 +10476,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10213,6 +10487,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10278,6 +10553,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10288,6 +10564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10353,6 +10630,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10363,6 +10641,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10428,6 +10707,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10438,6 +10718,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10503,6 +10784,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10513,6 +10795,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10578,6 +10861,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -10588,6 +10872,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10653,6 +10938,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -10663,6 +10949,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10728,6 +11015,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10738,6 +11026,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10803,6 +11092,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10813,6 +11103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10878,6 +11169,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10888,6 +11180,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10953,6 +11246,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -10963,6 +11257,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11028,6 +11323,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11038,6 +11334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11103,6 +11400,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11113,6 +11411,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11178,6 +11477,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -11188,6 +11488,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11253,6 +11554,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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";
@@ -11263,6 +11565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11328,6 +11631,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11338,6 +11642,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11403,6 +11708,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11413,6 +11719,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11478,6 +11785,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11488,6 +11796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11553,6 +11862,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11563,6 +11873,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11628,6 +11939,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11638,6 +11950,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11703,6 +12016,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11713,6 +12027,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11778,6 +12093,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11788,6 +12104,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11853,6 +12170,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11863,6 +12181,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11928,6 +12247,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -11938,6 +12258,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12003,6 +12324,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12013,6 +12335,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12078,6 +12401,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12088,6 +12412,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12153,6 +12478,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12163,6 +12489,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12228,6 +12555,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12238,6 +12566,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12303,6 +12632,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12313,6 +12643,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12378,6 +12709,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12388,6 +12720,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12453,6 +12786,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12463,6 +12797,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12528,6 +12863,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12538,6 +12874,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12603,6 +12940,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12613,6 +12951,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12678,6 +13017,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12688,6 +13028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12753,6 +13094,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12763,6 +13105,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12828,6 +13171,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12838,6 +13182,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12903,6 +13248,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12913,6 +13259,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -12978,6 +13325,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -12988,6 +13336,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13053,6 +13402,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13063,6 +13413,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13128,6 +13479,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13138,6 +13490,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13203,6 +13556,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13213,6 +13567,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13278,6 +13633,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13288,6 +13644,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13353,6 +13710,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13363,6 +13721,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13428,6 +13787,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13438,6 +13798,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13503,6 +13864,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13513,6 +13875,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13578,6 +13941,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13588,6 +13952,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13653,6 +14018,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13663,6 +14029,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13728,6 +14095,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13738,6 +14106,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13803,6 +14172,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13813,6 +14183,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13878,6 +14249,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13888,6 +14260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -13953,6 +14326,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -13963,6 +14337,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14028,6 +14403,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14038,6 +14414,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14103,6 +14480,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14113,6 +14491,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14178,6 +14557,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14188,6 +14568,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14253,6 +14634,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14263,6 +14645,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14328,6 +14711,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14338,6 +14722,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14403,6 +14788,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14413,6 +14799,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14478,6 +14865,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14488,6 +14876,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14553,6 +14942,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14563,6 +14953,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14628,6 +15019,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14638,6 +15030,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14703,6 +15096,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14713,6 +15107,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14778,6 +15173,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14788,6 +15184,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14853,6 +15250,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14863,6 +15261,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -14928,6 +15327,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -14938,6 +15338,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15003,6 +15404,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15013,6 +15415,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15078,6 +15481,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15088,6 +15492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15153,6 +15558,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15163,6 +15569,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15228,6 +15635,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15238,6 +15646,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15303,6 +15712,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15313,6 +15723,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15378,6 +15789,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15388,6 +15800,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15453,6 +15866,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15463,6 +15877,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15528,6 +15943,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15538,6 +15954,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15603,6 +16020,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15613,6 +16031,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15678,6 +16097,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15688,6 +16108,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15753,6 +16174,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15763,6 +16185,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15828,6 +16251,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15838,6 +16262,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15903,6 +16328,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15913,6 +16339,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -15978,6 +16405,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -15988,6 +16416,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16053,6 +16482,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -16063,6 +16493,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16128,6 +16559,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -16138,6 +16570,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16203,6 +16636,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
@@ -16213,6 +16647,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -16278,6 +16713,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","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;
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 695dc2bc073..d524539a366 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,3 +1,5 @@
+# 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';
@@ -13,11 +15,13 @@ 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;
@@ -28,11 +32,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -43,11 +49,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -58,11 +66,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -73,11 +83,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -88,11 +100,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -103,11 +117,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -118,11 +134,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -133,11 +151,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -148,11 +168,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -163,11 +185,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -178,11 +202,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -193,11 +219,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -208,11 +236,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -223,11 +253,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -238,11 +270,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -253,11 +287,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -268,11 +304,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -283,11 +321,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -298,11 +338,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -313,11 +355,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -328,11 +372,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -343,11 +389,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -358,11 +406,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -373,11 +423,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -388,11 +440,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -403,11 +457,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -418,11 +474,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -433,11 +491,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -448,11 +508,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -463,11 +525,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -478,11 +542,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -493,11 +559,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -508,11 +576,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -523,11 +593,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -538,11 +610,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -553,11 +627,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -568,11 +644,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -583,11 +661,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -598,11 +678,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -613,11 +695,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -628,11 +712,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -643,11 +729,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -658,11 +746,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -673,11 +763,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -688,11 +780,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -703,11 +797,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -718,11 +814,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -733,11 +831,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -748,11 +848,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -763,11 +865,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -778,11 +882,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -793,11 +899,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -808,11 +916,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -823,11 +933,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -838,11 +950,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -853,11 +967,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -868,11 +984,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -883,11 +1001,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -898,11 +1018,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -913,11 +1035,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -928,11 +1052,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -943,11 +1069,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -958,11 +1086,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -973,11 +1103,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -988,11 +1120,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1003,11 +1137,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1018,11 +1154,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1033,11 +1171,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1048,11 +1188,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1063,11 +1205,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1078,11 +1222,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1093,11 +1239,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1108,11 +1256,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1123,11 +1273,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1138,11 +1290,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1153,11 +1307,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1168,11 +1324,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1183,11 +1341,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1198,11 +1358,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1213,11 +1375,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1228,11 +1392,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1243,11 +1409,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1258,11 +1426,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1273,11 +1443,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1288,11 +1460,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1303,11 +1477,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1318,11 +1494,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1333,11 +1511,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1348,11 +1528,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1363,11 +1545,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1378,11 +1562,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1393,11 +1579,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1408,11 +1596,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1423,11 +1613,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1438,11 +1630,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1453,11 +1647,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1468,11 +1664,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1483,11 +1681,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1498,11 +1698,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1513,11 +1715,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1528,11 +1732,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1543,11 +1749,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1558,11 +1766,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1573,11 +1783,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1588,11 +1800,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1603,11 +1817,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1618,11 +1834,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1633,11 +1851,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1648,11 +1868,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1663,11 +1885,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1678,11 +1902,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1693,11 +1919,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1708,11 +1936,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1723,11 +1953,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1738,11 +1970,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1753,11 +1987,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1768,11 +2004,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1783,11 +2021,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1798,11 +2038,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1813,11 +2055,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1828,11 +2072,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1843,11 +2089,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1858,11 +2106,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1873,11 +2123,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1888,11 +2140,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -1903,11 +2157,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1918,11 +2174,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1933,11 +2191,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1948,11 +2208,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1963,11 +2225,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1978,11 +2242,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -1993,11 +2259,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -2008,11 +2276,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -2023,11 +2293,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2038,11 +2310,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2053,11 +2327,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2068,11 +2344,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2083,11 +2361,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2098,11 +2378,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2113,11 +2395,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -2128,11 +2412,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -2143,11 +2429,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2158,11 +2446,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2173,11 +2463,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2188,11 +2480,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2203,11 +2497,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2218,11 +2514,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2233,11 +2531,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -2248,11 +2548,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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";
@@ -2263,11 +2565,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2278,11 +2582,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2293,11 +2599,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2308,11 +2616,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2323,11 +2633,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2338,11 +2650,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2353,11 +2667,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2368,11 +2684,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2383,11 +2701,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2398,11 +2718,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2413,11 +2735,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2428,11 +2752,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2443,11 +2769,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2458,11 +2786,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2473,11 +2803,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2488,11 +2820,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2503,11 +2837,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2518,11 +2854,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2533,11 +2871,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2548,11 +2888,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2563,11 +2905,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2578,11 +2922,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2593,11 +2939,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2608,11 +2956,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2623,11 +2973,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2638,11 +2990,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2653,11 +3007,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2668,11 +3024,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2683,11 +3041,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2698,11 +3058,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2713,11 +3075,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2728,11 +3092,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2743,11 +3109,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2758,11 +3126,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2773,11 +3143,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2788,11 +3160,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2803,11 +3177,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2818,11 +3194,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2833,11 +3211,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2848,11 +3228,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2863,11 +3245,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2878,11 +3262,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2893,11 +3279,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2908,11 +3296,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2923,11 +3313,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2938,11 +3330,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2953,11 +3347,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2968,11 +3364,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2983,11 +3381,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -2998,11 +3398,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3013,11 +3415,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3028,11 +3432,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3043,11 +3449,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3058,11 +3466,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3073,11 +3483,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3088,11 +3500,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3103,11 +3517,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3118,11 +3534,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3133,11 +3551,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3148,11 +3568,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3163,11 +3585,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3178,11 +3602,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3193,11 +3619,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3208,11 +3636,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3223,11 +3653,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3238,11 +3670,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
@@ -3253,11 +3687,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"fdsjfds");
insert into 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;
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 ffa8ec7a160..9b73c8ee7c7 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,3 +1,5 @@
+# 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';
@@ -13,11 +15,13 @@ 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;
@@ -28,11 +32,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -43,11 +49,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -58,11 +66,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -73,11 +83,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -88,11 +100,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -103,11 +117,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -118,11 +134,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -133,11 +151,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -148,11 +168,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -163,11 +185,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -178,11 +202,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -193,11 +219,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -208,11 +236,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -223,11 +253,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -238,11 +270,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -253,11 +287,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -268,11 +304,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -283,11 +321,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
@@ -298,11 +338,13 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values ("adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,"oifds",NULL,"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;
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 c281c6ee0bb..c23afa5b88c 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,3 +1,5 @@
+# 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';
@@ -13,6 +15,7 @@ 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");
@@ -78,6 +81,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -88,6 +92,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -153,6 +158,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -163,6 +169,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -228,6 +235,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -238,6 +246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -303,6 +312,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -313,6 +323,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -378,6 +389,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -388,6 +400,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -453,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -463,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -528,6 +543,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -538,6 +554,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -603,6 +620,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -613,6 +631,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +697,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -688,6 +708,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -753,6 +774,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -763,6 +785,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -828,6 +851,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -838,6 +862,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -903,6 +928,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -913,6 +939,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -978,6 +1005,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -988,6 +1016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1053,6 +1082,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1063,6 +1093,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1128,6 +1159,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1138,6 +1170,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1203,6 +1236,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1213,6 +1247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1278,6 +1313,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1288,6 +1324,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1390,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1363,6 +1401,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1428,6 +1467,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1438,6 +1478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1503,6 +1544,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1513,6 +1555,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1578,6 +1621,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1588,6 +1632,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1653,6 +1698,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1663,6 +1709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1728,6 +1775,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1738,6 +1786,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1803,6 +1852,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1813,6 +1863,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1878,6 +1929,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1888,6 +1940,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -1953,6 +2006,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -1963,6 +2017,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2083,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2038,6 +2094,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2103,6 +2160,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2113,6 +2171,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2178,6 +2237,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2188,6 +2248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2253,6 +2314,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2263,6 +2325,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2328,6 +2391,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2338,6 +2402,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2403,6 +2468,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2413,6 +2479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2478,6 +2545,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2488,6 +2556,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2553,6 +2622,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2563,6 +2633,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2628,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2638,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2776,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2713,6 +2787,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2778,6 +2853,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2788,6 +2864,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2853,6 +2930,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2863,6 +2941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -2928,6 +3007,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -2938,6 +3018,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3003,6 +3084,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3013,6 +3095,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3078,6 +3161,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3088,6 +3172,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3153,6 +3238,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3163,6 +3249,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3228,6 +3315,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3238,6 +3326,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3303,6 +3392,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3313,6 +3403,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3469,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3388,6 +3480,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3453,6 +3546,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3463,6 +3557,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3528,6 +3623,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3538,6 +3634,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3603,6 +3700,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3613,6 +3711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3678,6 +3777,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3688,6 +3788,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3753,6 +3854,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3763,6 +3865,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3828,6 +3931,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3838,6 +3942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3903,6 +4008,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3913,6 +4019,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -3978,6 +4085,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -3988,6 +4096,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4162,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4063,6 +4173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4128,6 +4239,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4138,6 +4250,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4203,6 +4316,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4213,6 +4327,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4278,6 +4393,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4288,6 +4404,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4353,6 +4470,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4363,6 +4481,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4428,6 +4547,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4438,6 +4558,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4503,6 +4624,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4513,6 +4635,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4578,6 +4701,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4588,6 +4712,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4653,6 +4778,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4663,6 +4789,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +4855,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4738,6 +4866,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4803,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4813,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4878,6 +5009,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4888,6 +5020,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -4953,6 +5086,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -4963,6 +5097,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5028,6 +5163,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5038,6 +5174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5103,6 +5240,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5113,6 +5251,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5178,6 +5317,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5188,6 +5328,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5253,6 +5394,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5263,6 +5405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5328,6 +5471,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5338,6 +5482,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5548,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5413,6 +5559,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5478,6 +5625,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5488,6 +5636,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5553,6 +5702,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5563,6 +5713,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5628,6 +5779,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5638,6 +5790,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5703,6 +5856,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5713,6 +5867,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5778,6 +5933,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5788,6 +5944,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5853,6 +6010,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5863,6 +6021,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -5928,6 +6087,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -5938,6 +6098,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6003,6 +6164,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6013,6 +6175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6078,6 +6241,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6088,6 +6252,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6153,6 +6318,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6163,6 +6329,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6228,6 +6395,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6238,6 +6406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6303,6 +6472,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6313,6 +6483,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6378,6 +6549,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6388,6 +6560,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6453,6 +6626,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6463,6 +6637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6528,6 +6703,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6538,6 +6714,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6603,6 +6780,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6613,6 +6791,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6678,6 +6857,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6688,6 +6868,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6753,6 +6934,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6763,6 +6945,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6828,6 +7011,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6838,6 +7022,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6903,6 +7088,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6913,6 +7099,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -6978,6 +7165,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -6988,6 +7176,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7053,6 +7242,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7063,6 +7253,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7128,6 +7319,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7138,6 +7330,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7203,6 +7396,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7213,6 +7407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7278,6 +7473,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7288,6 +7484,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7353,6 +7550,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7363,6 +7561,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7428,6 +7627,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7438,6 +7638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7503,6 +7704,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7513,6 +7715,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7578,6 +7781,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7588,6 +7792,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7653,6 +7858,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7663,6 +7869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7728,6 +7935,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7738,6 +7946,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7803,6 +8012,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7813,6 +8023,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7878,6 +8089,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7888,6 +8100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -7953,6 +8166,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -7963,6 +8177,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8028,6 +8243,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8038,6 +8254,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8103,6 +8320,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8113,6 +8331,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8178,6 +8397,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8188,6 +8408,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8253,6 +8474,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8263,6 +8485,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8328,6 +8551,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8338,6 +8562,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8403,6 +8628,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8413,6 +8639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8478,6 +8705,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8488,6 +8716,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8553,6 +8782,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8563,6 +8793,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8628,6 +8859,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8638,6 +8870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8703,6 +8936,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8713,6 +8947,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8778,6 +9013,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8788,6 +9024,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8853,6 +9090,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8863,6 +9101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -8928,6 +9167,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -8938,6 +9178,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9003,6 +9244,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9013,6 +9255,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9078,6 +9321,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9088,6 +9332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9153,6 +9398,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9163,6 +9409,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9228,6 +9475,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9238,6 +9486,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9303,6 +9552,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9313,6 +9563,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9378,6 +9629,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9388,6 +9640,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9453,6 +9706,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9463,6 +9717,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9528,6 +9783,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9538,6 +9794,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9603,6 +9860,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9613,6 +9871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9678,6 +9937,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9688,6 +9948,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9753,6 +10014,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9763,6 +10025,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9828,6 +10091,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9838,6 +10102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9903,6 +10168,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9913,6 +10179,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -9978,6 +10245,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -9988,6 +10256,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10053,6 +10322,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10063,6 +10333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10128,6 +10399,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10138,6 +10410,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10203,6 +10476,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10213,6 +10487,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10278,6 +10553,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10288,6 +10564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10353,6 +10630,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10363,6 +10641,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10428,6 +10707,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10438,6 +10718,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10503,6 +10784,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10513,6 +10795,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10578,6 +10861,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10588,6 +10872,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10653,6 +10938,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10663,6 +10949,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10728,6 +11015,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10738,6 +11026,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10803,6 +11092,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10813,6 +11103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10878,6 +11169,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10888,6 +11180,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -10953,6 +11246,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -10963,6 +11257,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11028,6 +11323,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11038,6 +11334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11103,6 +11400,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11113,6 +11411,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11178,6 +11477,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11188,6 +11488,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11253,6 +11554,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11263,6 +11565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11328,6 +11631,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11338,6 +11642,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11403,6 +11708,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11413,6 +11719,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11478,6 +11785,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
@@ -11488,6 +11796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, "adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL, NULL,"oifds",NULL,"fdsjfds");
@@ -11553,6 +11862,7 @@ insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", "ad
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew", NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","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;
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 3b29114bfda..aadd54753d3 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,3 +1,5 @@
+# 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';
@@ -13,11 +15,13 @@ 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;
@@ -28,11 +32,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -43,11 +49,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -58,11 +66,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -73,11 +83,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -88,11 +100,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -103,11 +117,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -118,11 +134,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -133,11 +151,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -148,11 +168,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -163,11 +185,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -178,11 +202,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -193,11 +219,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -208,11 +236,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -223,11 +253,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -238,11 +270,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -253,11 +287,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -268,11 +304,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -283,11 +321,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -298,11 +338,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -313,11 +355,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -328,11 +372,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -343,11 +389,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -358,11 +406,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -373,11 +423,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -388,11 +440,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -403,11 +457,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -418,11 +474,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -433,11 +491,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -448,11 +508,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -463,11 +525,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -478,11 +542,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -493,11 +559,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -508,11 +576,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -523,11 +593,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -538,11 +610,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -553,11 +627,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -568,11 +644,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -583,11 +661,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -598,11 +678,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -613,11 +695,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -628,11 +712,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -643,11 +729,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -658,11 +746,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -673,11 +763,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -688,11 +780,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -703,11 +797,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -718,11 +814,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -733,11 +831,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -748,11 +848,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -763,11 +865,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -778,11 +882,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -793,11 +899,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -808,11 +916,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -823,11 +933,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -838,11 +950,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -853,11 +967,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -868,11 +984,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -883,11 +1001,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -898,11 +1018,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -913,11 +1035,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -928,11 +1052,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -943,11 +1069,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -958,11 +1086,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -973,11 +1103,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -988,11 +1120,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1003,11 +1137,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1018,11 +1154,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1033,11 +1171,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1048,11 +1188,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1063,11 +1205,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1078,11 +1222,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1093,11 +1239,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1108,11 +1256,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1123,11 +1273,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1138,11 +1290,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1153,11 +1307,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1168,11 +1324,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1183,11 +1341,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1198,11 +1358,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1213,11 +1375,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1228,11 +1392,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1243,11 +1409,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1258,11 +1426,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1273,11 +1443,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1288,11 +1460,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1303,11 +1477,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1318,11 +1494,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1333,11 +1511,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1348,11 +1528,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1363,11 +1545,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1378,11 +1562,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1393,11 +1579,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1408,11 +1596,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1423,11 +1613,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1438,11 +1630,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1453,11 +1647,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1468,11 +1664,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1483,11 +1681,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1498,11 +1698,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1513,11 +1715,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1528,11 +1732,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1543,11 +1749,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1558,11 +1766,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1573,11 +1783,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1588,11 +1800,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1603,11 +1817,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1618,11 +1834,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1633,11 +1851,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1648,11 +1868,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1663,11 +1885,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1678,11 +1902,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1693,11 +1919,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1708,11 +1936,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1723,11 +1953,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1738,11 +1970,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1753,11 +1987,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1768,11 +2004,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1783,11 +2021,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1798,11 +2038,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1813,11 +2055,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1828,11 +2072,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1843,11 +2089,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1858,11 +2106,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1873,11 +2123,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1888,11 +2140,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -1903,11 +2157,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1918,11 +2174,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1933,11 +2191,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1948,11 +2208,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1963,11 +2225,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1978,11 +2242,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -1993,11 +2259,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -2008,11 +2276,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -2023,11 +2293,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2038,11 +2310,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2053,11 +2327,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2068,11 +2344,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2083,11 +2361,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2098,11 +2378,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2113,11 +2395,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -2128,11 +2412,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -2143,11 +2429,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2158,11 +2446,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2173,11 +2463,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2188,11 +2480,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2203,11 +2497,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2218,11 +2514,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2233,11 +2531,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -2248,11 +2548,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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";
@@ -2263,11 +2565,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2278,11 +2582,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2293,11 +2599,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2308,11 +2616,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2323,11 +2633,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2338,11 +2650,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2353,11 +2667,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2368,11 +2684,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2383,11 +2701,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2398,11 +2718,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2413,11 +2735,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2428,11 +2752,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2443,11 +2769,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2458,11 +2786,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2473,11 +2803,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2488,11 +2820,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2503,11 +2837,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2518,11 +2854,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2533,11 +2871,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2548,11 +2888,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2563,11 +2905,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2578,11 +2922,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2593,11 +2939,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2608,11 +2956,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2623,11 +2973,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2638,11 +2990,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2653,11 +3007,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2668,11 +3024,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2683,11 +3041,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2698,11 +3058,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2713,11 +3075,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2728,11 +3092,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2743,11 +3109,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2758,11 +3126,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2773,11 +3143,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2788,11 +3160,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2803,11 +3177,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2818,11 +3194,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2833,11 +3211,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2848,11 +3228,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2863,11 +3245,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2878,11 +3262,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2893,11 +3279,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2908,11 +3296,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2923,11 +3313,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2938,11 +3330,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2953,11 +3347,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2968,11 +3364,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2983,11 +3381,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -2998,11 +3398,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3013,11 +3415,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3028,11 +3432,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3043,11 +3449,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3058,11 +3466,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3073,11 +3483,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3088,11 +3500,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3103,11 +3517,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3118,11 +3534,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3133,11 +3551,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3148,11 +3568,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3163,11 +3585,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3178,11 +3602,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3193,11 +3619,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3208,11 +3636,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3223,11 +3653,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3238,11 +3670,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
@@ -3253,11 +3687,13 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL);
insert into foo values (NULL,12345678987,NULL,1);
insert into foo values (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;
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 1076165a225..ae81d4c9ff5 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,3 +1,5 @@
+# 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';
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 c36ccf85c04..957be39a313 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,3 +1,5 @@
+# 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';
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 be93a988c7a..c953b35c40f 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,3 +1,5 @@
+# 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';
@@ -13,11 +15,13 @@ 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;
@@ -28,11 +32,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -43,11 +49,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -58,11 +66,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -73,11 +83,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -88,11 +100,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -103,11 +117,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -118,11 +134,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -133,11 +151,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -148,11 +168,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -163,11 +185,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -178,11 +202,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -193,11 +219,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -208,11 +236,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -223,11 +253,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -238,11 +270,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -253,11 +287,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -268,11 +304,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -283,11 +321,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
@@ -298,11 +338,13 @@ drop table foo; drop table bar;
create table foo (aaa varchar(12), bbb varbinary(20), ccc varchar(50), 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;
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 607c29dd3dd..b86ac4cab17 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
@@ -13,6 +13,7 @@ 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");
@@ -30,6 +31,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -40,6 +42,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -57,6 +60,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -67,6 +71,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -84,6 +89,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -94,6 +100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -111,6 +118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -121,6 +129,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -138,6 +147,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -148,6 +158,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -165,6 +176,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -175,6 +187,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -192,6 +205,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -202,6 +216,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -219,6 +234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -229,6 +245,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -246,6 +263,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -256,6 +274,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -273,6 +292,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -283,6 +303,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -300,6 +321,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -310,6 +332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -327,6 +350,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -337,6 +361,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -354,6 +379,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -364,6 +390,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -381,6 +408,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -391,6 +419,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -408,6 +437,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -418,6 +448,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -435,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -445,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -462,6 +495,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -472,6 +506,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +524,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -499,6 +535,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -516,6 +553,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -526,6 +564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -543,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -553,6 +593,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -570,6 +611,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -580,6 +622,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -597,6 +640,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -607,6 +651,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -624,6 +669,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -634,6 +680,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -651,6 +698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -661,6 +709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +727,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -688,6 +738,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -705,6 +756,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -715,6 +767,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -732,6 +785,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -742,6 +796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -759,6 +814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -769,6 +825,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -786,6 +843,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -796,6 +854,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -813,6 +872,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -823,6 +883,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -840,6 +901,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -850,6 +912,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -867,6 +930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -877,6 +941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -894,6 +959,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -904,6 +970,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -921,6 +988,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -931,6 +999,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -948,6 +1017,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -958,6 +1028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -975,6 +1046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -985,6 +1057,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1002,6 +1075,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1012,6 +1086,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1029,6 +1104,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1039,6 +1115,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1056,6 +1133,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1066,6 +1144,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1083,6 +1162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1093,6 +1173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1110,6 +1191,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1120,6 +1202,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1137,6 +1220,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1147,6 +1231,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1164,6 +1249,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1174,6 +1260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1201,6 +1289,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1218,6 +1307,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1228,6 +1318,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1245,6 +1336,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1255,6 +1347,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1272,6 +1365,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1282,6 +1376,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1299,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1309,6 +1405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1326,6 +1423,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1336,6 +1434,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1452,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1363,6 +1463,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1380,6 +1481,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1390,6 +1492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1407,6 +1510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1417,6 +1521,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1434,6 +1539,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1444,6 +1550,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1461,6 +1568,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1471,6 +1579,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1488,6 +1597,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1498,6 +1608,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1515,6 +1626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1525,6 +1637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1542,6 +1655,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1552,6 +1666,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1569,6 +1684,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1579,6 +1695,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1596,6 +1713,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1606,6 +1724,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1633,6 +1753,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1650,6 +1771,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1660,6 +1782,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1677,6 +1800,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1687,6 +1811,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1704,6 +1829,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1714,6 +1840,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1731,6 +1858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1741,6 +1869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1758,6 +1887,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1768,6 +1898,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1785,6 +1916,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1795,6 +1927,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1812,6 +1945,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1822,6 +1956,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1839,6 +1974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1849,6 +1985,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1866,6 +2003,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1876,6 +2014,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2032,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1903,6 +2043,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1920,6 +2061,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1930,6 +2072,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1947,6 +2090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1957,6 +2101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1974,6 +2119,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1984,6 +2130,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2001,6 +2148,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2011,6 +2159,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2177,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2038,6 +2188,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2055,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2065,6 +2217,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2082,6 +2235,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2092,6 +2246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2109,6 +2264,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2119,6 +2275,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2136,6 +2293,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2146,6 +2304,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2163,6 +2322,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2173,6 +2333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2190,6 +2351,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2200,6 +2362,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2217,6 +2380,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2227,6 +2391,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2244,6 +2409,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2254,6 +2420,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2271,6 +2438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2281,6 +2449,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2298,6 +2467,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2308,6 +2478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2325,6 +2496,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2335,6 +2507,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2352,6 +2525,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2362,6 +2536,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2379,6 +2554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2389,6 +2565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2406,6 +2583,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2416,6 +2594,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2433,6 +2612,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2443,6 +2623,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2460,6 +2641,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2470,6 +2652,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2487,6 +2670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2497,6 +2681,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2514,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2524,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2541,6 +2728,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2551,6 +2739,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2568,6 +2757,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2578,6 +2768,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2605,6 +2797,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2622,6 +2815,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2632,6 +2826,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2649,6 +2844,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2659,6 +2855,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2676,6 +2873,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2686,6 +2884,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2713,6 +2913,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2730,6 +2931,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2740,6 +2942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2757,6 +2960,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2767,6 +2971,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2784,6 +2989,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2794,6 +3000,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2811,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2821,6 +3029,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2838,6 +3047,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2848,6 +3058,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2865,6 +3076,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2875,6 +3087,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2892,6 +3105,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2902,6 +3116,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2919,6 +3134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2929,6 +3145,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2946,6 +3163,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2956,6 +3174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2973,6 +3192,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2983,6 +3203,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3000,6 +3221,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3010,6 +3232,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3027,6 +3250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3037,6 +3261,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3054,6 +3279,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3064,6 +3290,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3081,6 +3308,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3091,6 +3319,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3108,6 +3337,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3118,6 +3348,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3135,6 +3366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3145,6 +3377,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3162,6 +3395,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3172,6 +3406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3189,6 +3424,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3199,6 +3435,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3216,6 +3453,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3226,6 +3464,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3243,6 +3482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3253,6 +3493,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3270,6 +3511,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3280,6 +3522,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3540,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3307,6 +3551,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3324,6 +3569,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3334,6 +3580,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3351,6 +3598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3361,6 +3609,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3627,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3388,6 +3638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3405,6 +3656,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3415,6 +3667,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3432,6 +3685,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3442,6 +3696,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3459,6 +3714,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3469,6 +3725,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3486,6 +3743,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3496,6 +3754,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3513,6 +3772,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3523,6 +3783,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3540,6 +3801,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3550,6 +3812,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3567,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3577,6 +3841,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3594,6 +3859,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3604,6 +3870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3888,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3631,6 +3899,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3648,6 +3917,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3658,6 +3928,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3675,6 +3946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3685,6 +3957,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3702,6 +3975,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3712,6 +3986,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3729,6 +4004,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3739,6 +4015,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3756,6 +4033,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3766,6 +4044,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3783,6 +4062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3793,6 +4073,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3810,6 +4091,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3820,6 +4102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3837,6 +4120,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3847,6 +4131,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3864,6 +4149,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3874,6 +4160,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3891,6 +4178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3901,6 +4189,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3918,6 +4207,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3928,6 +4218,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3945,6 +4236,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3955,6 +4247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3972,6 +4265,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3982,6 +4276,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4294,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4009,6 +4305,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4026,6 +4323,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4036,6 +4334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4352,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4063,6 +4363,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4080,6 +4381,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4090,6 +4392,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4107,6 +4410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4117,6 +4421,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4134,6 +4439,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4144,6 +4450,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4161,6 +4468,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4171,6 +4479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4188,6 +4497,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4198,6 +4508,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4215,6 +4526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4225,6 +4537,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4242,6 +4555,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4252,6 +4566,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4269,6 +4584,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4279,6 +4595,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4296,6 +4613,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4306,6 +4624,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4323,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4333,6 +4653,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4350,6 +4671,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4360,6 +4682,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4377,6 +4700,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4387,6 +4711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4404,6 +4729,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4414,6 +4740,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4431,6 +4758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4441,6 +4769,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4458,6 +4787,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4468,6 +4798,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4485,6 +4816,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4495,6 +4827,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4512,6 +4845,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4522,6 +4856,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4539,6 +4874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4549,6 +4885,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4566,6 +4903,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4576,6 +4914,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4593,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4603,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4620,6 +4961,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4630,6 +4972,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4647,6 +4990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4657,6 +5001,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4674,6 +5019,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4684,6 +5030,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5048,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4711,6 +5059,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +5077,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4738,6 +5088,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4755,6 +5106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4765,6 +5117,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4782,6 +5135,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4792,6 +5146,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4809,6 +5164,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4819,6 +5175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4836,6 +5193,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4846,6 +5204,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4863,6 +5222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4873,6 +5233,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4890,6 +5251,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4900,6 +5262,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4917,6 +5280,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4927,6 +5291,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4944,6 +5309,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4954,6 +5320,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4971,6 +5338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4981,6 +5349,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4998,6 +5367,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5008,6 +5378,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5025,6 +5396,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5035,6 +5407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5052,6 +5425,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5062,6 +5436,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5079,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5089,6 +5465,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5106,6 +5483,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5116,6 +5494,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5133,6 +5512,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5143,6 +5523,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5160,6 +5541,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5170,6 +5552,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5187,6 +5570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5197,6 +5581,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5214,6 +5599,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5224,6 +5610,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5241,6 +5628,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5251,6 +5639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5268,6 +5657,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5278,6 +5668,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5295,6 +5686,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5305,6 +5697,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5322,6 +5715,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5332,6 +5726,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5349,6 +5744,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5359,6 +5755,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5376,6 +5773,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5386,6 +5784,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5413,6 +5813,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5430,6 +5831,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5440,6 +5842,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5457,6 +5860,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5467,6 +5871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5484,6 +5889,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5494,6 +5900,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5511,6 +5918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5521,6 +5929,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5538,6 +5947,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5548,6 +5958,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5565,6 +5976,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5575,6 +5987,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5592,6 +6005,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5602,6 +6016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +6034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5629,6 +6045,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5646,6 +6063,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5656,6 +6074,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5673,6 +6092,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5683,6 +6103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5700,6 +6121,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5710,6 +6132,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5727,6 +6150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5737,6 +6161,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5754,6 +6179,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5764,6 +6190,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5781,6 +6208,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5791,6 +6219,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5808,6 +6237,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5818,6 +6248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5835,6 +6266,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5845,6 +6277,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5862,6 +6295,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
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 aa91da1d0fb..e22d2985df0 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
@@ -13,6 +13,7 @@ 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");
@@ -30,6 +31,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -40,6 +42,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -57,6 +60,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -67,6 +71,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -84,6 +89,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -94,6 +100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -111,6 +118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -121,6 +129,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -138,6 +147,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -148,6 +158,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -165,6 +176,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -175,6 +187,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -192,6 +205,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -202,6 +216,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -219,6 +234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -229,6 +245,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -246,6 +263,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -256,6 +274,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -273,6 +292,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -283,6 +303,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -300,6 +321,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -310,6 +332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -327,6 +350,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -337,6 +361,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -354,6 +379,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -364,6 +390,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -381,6 +408,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -391,6 +419,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -408,6 +437,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -418,6 +448,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -435,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -445,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -462,6 +495,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -472,6 +506,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +524,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -499,6 +535,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -516,6 +553,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -526,6 +564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -543,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -553,6 +593,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -570,6 +611,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -580,6 +622,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -597,6 +640,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -607,6 +651,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -624,6 +669,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -634,6 +680,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -651,6 +698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -661,6 +709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +727,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -688,6 +738,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -705,6 +756,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -715,6 +767,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -732,6 +785,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -742,6 +796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -759,6 +814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -769,6 +825,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -786,6 +843,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -796,6 +854,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -813,6 +872,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -823,6 +883,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -840,6 +901,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -850,6 +912,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -867,6 +930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -877,6 +941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -894,6 +959,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -904,6 +970,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -921,6 +988,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -931,6 +999,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -948,6 +1017,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -958,6 +1028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -975,6 +1046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -985,6 +1057,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1002,6 +1075,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1012,6 +1086,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1029,6 +1104,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1039,6 +1115,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1056,6 +1133,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1066,6 +1144,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1083,6 +1162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1093,6 +1173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1110,6 +1191,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1120,6 +1202,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1137,6 +1220,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1147,6 +1231,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1164,6 +1249,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1174,6 +1260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1201,6 +1289,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1218,6 +1307,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1228,6 +1318,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1245,6 +1336,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1255,6 +1347,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1272,6 +1365,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1282,6 +1376,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1299,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1309,6 +1405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1326,6 +1423,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1336,6 +1434,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1452,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1363,6 +1463,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1380,6 +1481,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1390,6 +1492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1407,6 +1510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1417,6 +1521,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1434,6 +1539,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1444,6 +1550,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1461,6 +1568,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1471,6 +1579,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1488,6 +1597,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1498,6 +1608,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1515,6 +1626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1525,6 +1637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1542,6 +1655,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1552,6 +1666,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1569,6 +1684,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1579,6 +1695,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1596,6 +1713,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1606,6 +1724,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1633,6 +1753,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1650,6 +1771,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1660,6 +1782,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1677,6 +1800,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1687,6 +1811,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1704,6 +1829,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1714,6 +1840,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1731,6 +1858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1741,6 +1869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1758,6 +1887,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1768,6 +1898,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1785,6 +1916,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1795,6 +1927,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1812,6 +1945,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1822,6 +1956,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1839,6 +1974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1849,6 +1985,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1866,6 +2003,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1876,6 +2014,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2032,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1903,6 +2043,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1920,6 +2061,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1930,6 +2072,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1947,6 +2090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1957,6 +2101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1974,6 +2119,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1984,6 +2130,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2001,6 +2148,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2011,6 +2159,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2177,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2038,6 +2188,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2055,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2065,6 +2217,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2082,6 +2235,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2092,6 +2246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2109,6 +2264,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2119,6 +2275,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2136,6 +2293,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2146,6 +2304,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2163,6 +2322,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2173,6 +2333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2190,6 +2351,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2200,6 +2362,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2217,6 +2380,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2227,6 +2391,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2244,6 +2409,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2254,6 +2420,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2271,6 +2438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2281,6 +2449,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2298,6 +2467,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2308,6 +2478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2325,6 +2496,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2335,6 +2507,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2352,6 +2525,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2362,6 +2536,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2379,6 +2554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2389,6 +2565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2406,6 +2583,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2416,6 +2594,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2433,6 +2612,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2443,6 +2623,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2460,6 +2641,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2470,6 +2652,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2487,6 +2670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2497,6 +2681,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2514,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2524,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2541,6 +2728,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2551,6 +2739,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2568,6 +2757,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2578,6 +2768,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2605,6 +2797,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2622,6 +2815,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2632,6 +2826,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2649,6 +2844,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2659,6 +2855,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2676,6 +2873,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2686,6 +2884,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2713,6 +2913,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2730,6 +2931,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2740,6 +2942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2757,6 +2960,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2767,6 +2971,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2784,6 +2989,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2794,6 +3000,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2811,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2821,6 +3029,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2838,6 +3047,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2848,6 +3058,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2865,6 +3076,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2875,6 +3087,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2892,6 +3105,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2902,6 +3116,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2919,6 +3134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2929,6 +3145,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2946,6 +3163,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2956,6 +3174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2973,6 +3192,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2983,6 +3203,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3000,6 +3221,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3010,6 +3232,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3027,6 +3250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3037,6 +3261,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3054,6 +3279,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3064,6 +3290,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3081,6 +3308,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3091,6 +3319,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3108,6 +3337,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3118,6 +3348,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3135,6 +3366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3145,6 +3377,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3162,6 +3395,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3172,6 +3406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3189,6 +3424,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3199,6 +3435,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3216,6 +3453,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3226,6 +3464,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3243,6 +3482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3253,6 +3493,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3270,6 +3511,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3280,6 +3522,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3540,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3307,6 +3551,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3324,6 +3569,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3334,6 +3580,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3351,6 +3598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3361,6 +3609,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3627,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3388,6 +3638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3405,6 +3656,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3415,6 +3667,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3432,6 +3685,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3442,6 +3696,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3459,6 +3714,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3469,6 +3725,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3486,6 +3743,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3496,6 +3754,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3513,6 +3772,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3523,6 +3783,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3540,6 +3801,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3550,6 +3812,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3567,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3577,6 +3841,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3594,6 +3859,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3604,6 +3870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3888,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3631,6 +3899,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3648,6 +3917,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3658,6 +3928,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3675,6 +3946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3685,6 +3957,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3702,6 +3975,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3712,6 +3986,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3729,6 +4004,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3739,6 +4015,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3756,6 +4033,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3766,6 +4044,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3783,6 +4062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3793,6 +4073,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3810,6 +4091,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3820,6 +4102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3837,6 +4120,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3847,6 +4131,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3864,6 +4149,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3874,6 +4160,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3891,6 +4178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3901,6 +4189,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3918,6 +4207,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3928,6 +4218,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3945,6 +4236,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3955,6 +4247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3972,6 +4265,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3982,6 +4276,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4294,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4009,6 +4305,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4026,6 +4323,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4036,6 +4334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4352,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4063,6 +4363,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4080,6 +4381,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4090,6 +4392,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4107,6 +4410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4117,6 +4421,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4134,6 +4439,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4144,6 +4450,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4161,6 +4468,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4171,6 +4479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4188,6 +4497,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4198,6 +4508,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4215,6 +4526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4225,6 +4537,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4242,6 +4555,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4252,6 +4566,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4269,6 +4584,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4279,6 +4595,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4296,6 +4613,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4306,6 +4624,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4323,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4333,6 +4653,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4350,6 +4671,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4360,6 +4682,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4377,6 +4700,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4387,6 +4711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4404,6 +4729,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4414,6 +4740,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4431,6 +4758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4441,6 +4769,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4458,6 +4787,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4468,6 +4798,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4485,6 +4816,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4495,6 +4827,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4512,6 +4845,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4522,6 +4856,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4539,6 +4874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4549,6 +4885,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4566,6 +4903,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4576,6 +4914,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4593,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4603,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4620,6 +4961,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4630,6 +4972,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4647,6 +4990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4657,6 +5001,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4674,6 +5019,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4684,6 +5030,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5048,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4711,6 +5059,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +5077,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4738,6 +5088,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4755,6 +5106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4765,6 +5117,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4782,6 +5135,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4792,6 +5146,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4809,6 +5164,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4819,6 +5175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4836,6 +5193,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4846,6 +5204,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4863,6 +5222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4873,6 +5233,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4890,6 +5251,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4900,6 +5262,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4917,6 +5280,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4927,6 +5291,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4944,6 +5309,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4954,6 +5320,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4971,6 +5338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4981,6 +5349,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4998,6 +5367,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5008,6 +5378,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5025,6 +5396,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5035,6 +5407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5052,6 +5425,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5062,6 +5436,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5079,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5089,6 +5465,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5106,6 +5483,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5116,6 +5494,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5133,6 +5512,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5143,6 +5523,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5160,6 +5541,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5170,6 +5552,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5187,6 +5570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5197,6 +5581,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5214,6 +5599,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5224,6 +5610,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5241,6 +5628,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5251,6 +5639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5268,6 +5657,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5278,6 +5668,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5295,6 +5686,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5305,6 +5697,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5322,6 +5715,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5332,6 +5726,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5349,6 +5744,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5359,6 +5755,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5376,6 +5773,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5386,6 +5784,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5413,6 +5813,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5430,6 +5831,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5440,6 +5842,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5457,6 +5860,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5467,6 +5871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5484,6 +5889,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5494,6 +5900,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5511,6 +5918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5521,6 +5929,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5538,6 +5947,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5548,6 +5958,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5565,6 +5976,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5575,6 +5987,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5592,6 +6005,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5602,6 +6016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +6034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5629,6 +6045,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5646,6 +6063,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5656,6 +6074,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5673,6 +6092,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5683,6 +6103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5700,6 +6121,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5710,6 +6132,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5727,6 +6150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5737,6 +6161,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5754,6 +6179,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5764,6 +6190,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5781,6 +6208,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5791,6 +6219,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5808,6 +6237,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5818,6 +6248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5835,6 +6266,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5845,6 +6277,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5862,6 +6295,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
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 20ecc14b733..d2dc63184ae 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
@@ -13,6 +13,7 @@ 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");
@@ -30,6 +31,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -40,6 +42,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -57,6 +60,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -67,6 +71,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -84,6 +89,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -94,6 +100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -111,6 +118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -121,6 +129,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -138,6 +147,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -148,6 +158,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -165,6 +176,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -175,6 +187,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -192,6 +205,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -202,6 +216,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -219,6 +234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -229,6 +245,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -246,6 +263,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -256,6 +274,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -273,6 +292,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -283,6 +303,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -300,6 +321,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -310,6 +332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -327,6 +350,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -337,6 +361,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -354,6 +379,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -364,6 +390,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -381,6 +408,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -391,6 +419,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -408,6 +437,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -418,6 +448,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -435,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -445,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -462,6 +495,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -472,6 +506,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +524,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -499,6 +535,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -516,6 +553,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -526,6 +564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -543,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -553,6 +593,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -570,6 +611,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -580,6 +622,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -597,6 +640,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -607,6 +651,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -624,6 +669,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -634,6 +680,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -651,6 +698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -661,6 +709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +727,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -688,6 +738,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -705,6 +756,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -715,6 +767,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -732,6 +785,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -742,6 +796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -759,6 +814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -769,6 +825,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -786,6 +843,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -796,6 +854,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -813,6 +872,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -823,6 +883,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -840,6 +901,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -850,6 +912,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -867,6 +930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -877,6 +941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -894,6 +959,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -904,6 +970,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -921,6 +988,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -931,6 +999,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -948,6 +1017,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -958,6 +1028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -975,6 +1046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -985,6 +1057,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1002,6 +1075,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1012,6 +1086,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1029,6 +1104,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1039,6 +1115,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1056,6 +1133,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1066,6 +1144,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1083,6 +1162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1093,6 +1173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1110,6 +1191,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1120,6 +1202,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1137,6 +1220,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1147,6 +1231,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1164,6 +1249,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1174,6 +1260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1201,6 +1289,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1218,6 +1307,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1228,6 +1318,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1245,6 +1336,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1255,6 +1347,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1272,6 +1365,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1282,6 +1376,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1299,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1309,6 +1405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1326,6 +1423,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1336,6 +1434,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1452,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1363,6 +1463,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1380,6 +1481,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1390,6 +1492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1407,6 +1510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1417,6 +1521,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1434,6 +1539,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1444,6 +1550,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1461,6 +1568,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1471,6 +1579,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1488,6 +1597,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1498,6 +1608,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1515,6 +1626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1525,6 +1637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1542,6 +1655,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1552,6 +1666,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1569,6 +1684,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1579,6 +1695,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1596,6 +1713,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1606,6 +1724,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1633,6 +1753,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1650,6 +1771,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1660,6 +1782,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1677,6 +1800,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1687,6 +1811,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1704,6 +1829,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1714,6 +1840,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1731,6 +1858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1741,6 +1869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1758,6 +1887,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1768,6 +1898,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1785,6 +1916,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1795,6 +1927,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1812,6 +1945,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1822,6 +1956,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1839,6 +1974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1849,6 +1985,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1866,6 +2003,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1876,6 +2014,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2032,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1903,6 +2043,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1920,6 +2061,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1930,6 +2072,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1947,6 +2090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1957,6 +2101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1974,6 +2119,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1984,6 +2130,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2001,6 +2148,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2011,6 +2159,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2177,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2038,6 +2188,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2055,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2065,6 +2217,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2082,6 +2235,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2092,6 +2246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2109,6 +2264,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2119,6 +2275,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2136,6 +2293,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2146,6 +2304,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2163,6 +2322,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2173,6 +2333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2190,6 +2351,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2200,6 +2362,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2217,6 +2380,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2227,6 +2391,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2244,6 +2409,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2254,6 +2420,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2271,6 +2438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2281,6 +2449,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2298,6 +2467,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2308,6 +2478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2325,6 +2496,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2335,6 +2507,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2352,6 +2525,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2362,6 +2536,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2379,6 +2554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2389,6 +2565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2406,6 +2583,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2416,6 +2594,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2433,6 +2612,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2443,6 +2623,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2460,6 +2641,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2470,6 +2652,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2487,6 +2670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2497,6 +2681,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2514,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2524,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2541,6 +2728,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2551,6 +2739,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2568,6 +2757,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2578,6 +2768,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2605,6 +2797,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2622,6 +2815,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2632,6 +2826,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2649,6 +2844,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2659,6 +2855,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2676,6 +2873,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2686,6 +2884,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2713,6 +2913,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2730,6 +2931,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2740,6 +2942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2757,6 +2960,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2767,6 +2971,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2784,6 +2989,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2794,6 +3000,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2811,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2821,6 +3029,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2838,6 +3047,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2848,6 +3058,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2865,6 +3076,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2875,6 +3087,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2892,6 +3105,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2902,6 +3116,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2919,6 +3134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2929,6 +3145,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2946,6 +3163,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2956,6 +3174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2973,6 +3192,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2983,6 +3203,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3000,6 +3221,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3010,6 +3232,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3027,6 +3250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3037,6 +3261,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3054,6 +3279,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3064,6 +3290,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3081,6 +3308,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3091,6 +3319,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3108,6 +3337,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3118,6 +3348,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3135,6 +3366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3145,6 +3377,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3162,6 +3395,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3172,6 +3406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3189,6 +3424,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3199,6 +3435,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3216,6 +3453,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3226,6 +3464,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3243,6 +3482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3253,6 +3493,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3270,6 +3511,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3280,6 +3522,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3540,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3307,6 +3551,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3324,6 +3569,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3334,6 +3580,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3351,6 +3598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3361,6 +3609,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3627,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3388,6 +3638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3405,6 +3656,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3415,6 +3667,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3432,6 +3685,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3442,6 +3696,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3459,6 +3714,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3469,6 +3725,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3486,6 +3743,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3496,6 +3754,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3513,6 +3772,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3523,6 +3783,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3540,6 +3801,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3550,6 +3812,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3567,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3577,6 +3841,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3594,6 +3859,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3604,6 +3870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3888,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3631,6 +3899,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3648,6 +3917,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3658,6 +3928,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3675,6 +3946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3685,6 +3957,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3702,6 +3975,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3712,6 +3986,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3729,6 +4004,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3739,6 +4015,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3756,6 +4033,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3766,6 +4044,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3783,6 +4062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3793,6 +4073,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3810,6 +4091,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3820,6 +4102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3837,6 +4120,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3847,6 +4131,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3864,6 +4149,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3874,6 +4160,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3891,6 +4178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3901,6 +4189,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3918,6 +4207,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3928,6 +4218,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3945,6 +4236,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3955,6 +4247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3972,6 +4265,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3982,6 +4276,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4294,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4009,6 +4305,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4026,6 +4323,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4036,6 +4334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4352,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4063,6 +4363,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4080,6 +4381,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4090,6 +4392,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4107,6 +4410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4117,6 +4421,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4134,6 +4439,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4144,6 +4450,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4161,6 +4468,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4171,6 +4479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4188,6 +4497,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4198,6 +4508,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4215,6 +4526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4225,6 +4537,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4242,6 +4555,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4252,6 +4566,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4269,6 +4584,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4279,6 +4595,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4296,6 +4613,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4306,6 +4624,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4323,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4333,6 +4653,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4350,6 +4671,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4360,6 +4682,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4377,6 +4700,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4387,6 +4711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4404,6 +4729,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4414,6 +4740,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4431,6 +4758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4441,6 +4769,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4458,6 +4787,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4468,6 +4798,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4485,6 +4816,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4495,6 +4827,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4512,6 +4845,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4522,6 +4856,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4539,6 +4874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4549,6 +4885,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4566,6 +4903,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4576,6 +4914,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4593,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4603,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4620,6 +4961,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4630,6 +4972,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4647,6 +4990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4657,6 +5001,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4674,6 +5019,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4684,6 +5030,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5048,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4711,6 +5059,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +5077,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4738,6 +5088,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4755,6 +5106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4765,6 +5117,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4782,6 +5135,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4792,6 +5146,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4809,6 +5164,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4819,6 +5175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4836,6 +5193,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4846,6 +5204,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4863,6 +5222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4873,6 +5233,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4890,6 +5251,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4900,6 +5262,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4917,6 +5280,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4927,6 +5291,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4944,6 +5309,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4954,6 +5320,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4971,6 +5338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4981,6 +5349,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4998,6 +5367,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5008,6 +5378,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5025,6 +5396,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5035,6 +5407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5052,6 +5425,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5062,6 +5436,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5079,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5089,6 +5465,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5106,6 +5483,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5116,6 +5494,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5133,6 +5512,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5143,6 +5523,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5160,6 +5541,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5170,6 +5552,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5187,6 +5570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5197,6 +5581,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5214,6 +5599,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5224,6 +5610,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5241,6 +5628,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5251,6 +5639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5268,6 +5657,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5278,6 +5668,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5295,6 +5686,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5305,6 +5697,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5322,6 +5715,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5332,6 +5726,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5349,6 +5744,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5359,6 +5755,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5376,6 +5773,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5386,6 +5784,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5413,6 +5813,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5430,6 +5831,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5440,6 +5842,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5457,6 +5860,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5467,6 +5871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5484,6 +5889,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5494,6 +5900,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5511,6 +5918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5521,6 +5929,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5538,6 +5947,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5548,6 +5958,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5565,6 +5976,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5575,6 +5987,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5592,6 +6005,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5602,6 +6016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +6034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5629,6 +6045,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5646,6 +6063,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5656,6 +6074,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5673,6 +6092,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5683,6 +6103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5700,6 +6121,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5710,6 +6132,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5727,6 +6150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5737,6 +6161,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5754,6 +6179,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5764,6 +6190,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5781,6 +6208,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5791,6 +6219,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5808,6 +6237,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5818,6 +6248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5835,6 +6266,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5845,6 +6277,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5862,6 +6295,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
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 f32ecc93bf2..ba6ea7be44e 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
@@ -13,6 +13,7 @@ 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");
@@ -30,6 +31,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -40,6 +42,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -57,6 +60,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -67,6 +71,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -84,6 +89,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -94,6 +100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -111,6 +118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -121,6 +129,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -138,6 +147,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -148,6 +158,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -165,6 +176,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -175,6 +187,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -192,6 +205,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -202,6 +216,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -219,6 +234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -229,6 +245,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -246,6 +263,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -256,6 +274,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -273,6 +292,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -283,6 +303,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -300,6 +321,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -310,6 +332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -327,6 +350,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -337,6 +361,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -354,6 +379,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -364,6 +390,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -381,6 +408,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -391,6 +419,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -408,6 +437,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -418,6 +448,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -435,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -445,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -462,6 +495,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -472,6 +506,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +524,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -499,6 +535,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -516,6 +553,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -526,6 +564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -543,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -553,6 +593,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -570,6 +611,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -580,6 +622,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -597,6 +640,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -607,6 +651,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -624,6 +669,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -634,6 +680,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -651,6 +698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -661,6 +709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +727,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -688,6 +738,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -705,6 +756,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -715,6 +767,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -732,6 +785,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -742,6 +796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -759,6 +814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -769,6 +825,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -786,6 +843,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -796,6 +854,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -813,6 +872,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -823,6 +883,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -840,6 +901,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -850,6 +912,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -867,6 +930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -877,6 +941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -894,6 +959,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -904,6 +970,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -921,6 +988,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -931,6 +999,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -948,6 +1017,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -958,6 +1028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -975,6 +1046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -985,6 +1057,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1002,6 +1075,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1012,6 +1086,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1029,6 +1104,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1039,6 +1115,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1056,6 +1133,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1066,6 +1144,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1083,6 +1162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1093,6 +1173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1110,6 +1191,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1120,6 +1202,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1137,6 +1220,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1147,6 +1231,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1164,6 +1249,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1174,6 +1260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1201,6 +1289,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1218,6 +1307,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1228,6 +1318,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1245,6 +1336,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1255,6 +1347,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1272,6 +1365,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1282,6 +1376,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1299,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1309,6 +1405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1326,6 +1423,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1336,6 +1434,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1452,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1363,6 +1463,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1380,6 +1481,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1390,6 +1492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1407,6 +1510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1417,6 +1521,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1434,6 +1539,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1444,6 +1550,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1461,6 +1568,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1471,6 +1579,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1488,6 +1597,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1498,6 +1608,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1515,6 +1626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1525,6 +1637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1542,6 +1655,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1552,6 +1666,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1569,6 +1684,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1579,6 +1695,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1596,6 +1713,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1606,6 +1724,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1633,6 +1753,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1650,6 +1771,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1660,6 +1782,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1677,6 +1800,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1687,6 +1811,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1704,6 +1829,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1714,6 +1840,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1731,6 +1858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1741,6 +1869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1758,6 +1887,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1768,6 +1898,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1785,6 +1916,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1795,6 +1927,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1812,6 +1945,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1822,6 +1956,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1839,6 +1974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1849,6 +1985,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1866,6 +2003,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1876,6 +2014,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2032,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -1903,6 +2043,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1920,6 +2061,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1930,6 +2072,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1947,6 +2090,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1957,6 +2101,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1974,6 +2119,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -1984,6 +2130,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2001,6 +2148,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2011,6 +2159,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2177,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2038,6 +2188,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2055,6 +2206,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2065,6 +2217,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2082,6 +2235,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2092,6 +2246,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2109,6 +2264,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2119,6 +2275,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2136,6 +2293,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2146,6 +2304,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2163,6 +2322,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2173,6 +2333,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2190,6 +2351,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2200,6 +2362,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2217,6 +2380,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2227,6 +2391,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2244,6 +2409,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2254,6 +2420,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2271,6 +2438,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2281,6 +2449,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2298,6 +2467,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2308,6 +2478,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2325,6 +2496,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2335,6 +2507,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2352,6 +2525,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2362,6 +2536,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2379,6 +2554,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2389,6 +2565,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2406,6 +2583,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2416,6 +2594,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2433,6 +2612,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2443,6 +2623,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2460,6 +2641,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2470,6 +2652,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2487,6 +2670,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2497,6 +2681,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2514,6 +2699,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2524,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2541,6 +2728,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2551,6 +2739,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2568,6 +2757,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2578,6 +2768,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2786,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2605,6 +2797,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2622,6 +2815,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2632,6 +2826,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2649,6 +2844,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2659,6 +2855,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2676,6 +2873,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2686,6 +2884,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2902,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2713,6 +2913,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2730,6 +2931,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2740,6 +2942,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2757,6 +2960,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2767,6 +2971,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2784,6 +2989,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2794,6 +3000,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2811,6 +3018,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2821,6 +3029,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2838,6 +3047,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2848,6 +3058,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2865,6 +3076,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2875,6 +3087,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2892,6 +3105,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2902,6 +3116,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2919,6 +3134,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -2929,6 +3145,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2946,6 +3163,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2956,6 +3174,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2973,6 +3192,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -2983,6 +3203,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3000,6 +3221,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3010,6 +3232,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3027,6 +3250,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3037,6 +3261,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3054,6 +3279,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3064,6 +3290,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3081,6 +3308,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3091,6 +3319,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3108,6 +3337,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3118,6 +3348,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3135,6 +3366,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3145,6 +3377,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3162,6 +3395,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3172,6 +3406,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3189,6 +3424,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3199,6 +3435,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3216,6 +3453,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3226,6 +3464,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3243,6 +3482,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3253,6 +3493,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3270,6 +3511,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3280,6 +3522,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3540,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3307,6 +3551,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3324,6 +3569,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3334,6 +3580,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3351,6 +3598,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3361,6 +3609,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3627,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3388,6 +3638,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3405,6 +3656,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3415,6 +3667,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3432,6 +3685,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3442,6 +3696,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3459,6 +3714,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3469,6 +3725,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3486,6 +3743,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3496,6 +3754,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3513,6 +3772,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3523,6 +3783,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3540,6 +3801,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3550,6 +3812,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3567,6 +3830,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3577,6 +3841,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3594,6 +3859,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3604,6 +3870,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3888,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3631,6 +3899,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3648,6 +3917,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3658,6 +3928,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3675,6 +3946,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3685,6 +3957,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3702,6 +3975,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3712,6 +3986,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3729,6 +4004,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3739,6 +4015,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3756,6 +4033,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3766,6 +4044,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3783,6 +4062,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3793,6 +4073,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3810,6 +4091,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3820,6 +4102,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3837,6 +4120,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -3847,6 +4131,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3864,6 +4149,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3874,6 +4160,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3891,6 +4178,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3901,6 +4189,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3918,6 +4207,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3928,6 +4218,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3945,6 +4236,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3955,6 +4247,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3972,6 +4265,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -3982,6 +4276,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4294,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4009,6 +4305,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4026,6 +4323,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4036,6 +4334,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4352,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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";
@@ -4063,6 +4363,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4080,6 +4381,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4090,6 +4392,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4107,6 +4410,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4117,6 +4421,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4134,6 +4439,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4144,6 +4450,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4161,6 +4468,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4171,6 +4479,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4188,6 +4497,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4198,6 +4508,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4215,6 +4526,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4225,6 +4537,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4242,6 +4555,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4252,6 +4566,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4269,6 +4584,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4279,6 +4595,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4296,6 +4613,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4306,6 +4624,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4323,6 +4642,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4333,6 +4653,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4350,6 +4671,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4360,6 +4682,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4377,6 +4700,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4387,6 +4711,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4404,6 +4729,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4414,6 +4740,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4431,6 +4758,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4441,6 +4769,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4458,6 +4787,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4468,6 +4798,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4485,6 +4816,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4495,6 +4827,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4512,6 +4845,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4522,6 +4856,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4539,6 +4874,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4549,6 +4885,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4566,6 +4903,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4576,6 +4914,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4593,6 +4932,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4603,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4620,6 +4961,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4630,6 +4972,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4647,6 +4990,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4657,6 +5001,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4674,6 +5019,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4684,6 +5030,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5048,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4711,6 +5059,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +5077,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4738,6 +5088,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4755,6 +5106,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4765,6 +5117,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4782,6 +5135,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4792,6 +5146,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4809,6 +5164,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4819,6 +5175,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4836,6 +5193,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4846,6 +5204,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4863,6 +5222,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4873,6 +5233,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4890,6 +5251,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4900,6 +5262,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4917,6 +5280,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4927,6 +5291,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4944,6 +5309,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4954,6 +5320,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4971,6 +5338,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -4981,6 +5349,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4998,6 +5367,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5008,6 +5378,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5025,6 +5396,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5035,6 +5407,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5052,6 +5425,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5062,6 +5436,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5079,6 +5454,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5089,6 +5465,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5106,6 +5483,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5116,6 +5494,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5133,6 +5512,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5143,6 +5523,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5160,6 +5541,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5170,6 +5552,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5187,6 +5570,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5197,6 +5581,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5214,6 +5599,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5224,6 +5610,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5241,6 +5628,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5251,6 +5639,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5268,6 +5657,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5278,6 +5668,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5295,6 +5686,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5305,6 +5697,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5322,6 +5715,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5332,6 +5726,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5349,6 +5744,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5359,6 +5755,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5376,6 +5773,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5386,6 +5784,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5802,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5413,6 +5813,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5430,6 +5831,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5440,6 +5842,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5457,6 +5860,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5467,6 +5871,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5484,6 +5889,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5494,6 +5900,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5511,6 +5918,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5521,6 +5929,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5538,6 +5947,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5548,6 +5958,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5565,6 +5976,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5575,6 +5987,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5592,6 +6005,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5602,6 +6016,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +6034,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5629,6 +6045,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5646,6 +6063,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5656,6 +6074,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5673,6 +6092,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5683,6 +6103,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5700,6 +6121,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5710,6 +6132,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5727,6 +6150,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5737,6 +6161,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5754,6 +6179,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5764,6 +6190,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5781,6 +6208,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5791,6 +6219,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5808,6 +6237,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5818,6 +6248,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5835,6 +6266,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
@@ -5845,6 +6277,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5862,6 +6295,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-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;
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 885dd5cf362..29717885ae7 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
@@ -13,6 +13,7 @@ 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");
@@ -30,6 +31,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -40,6 +42,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -57,6 +60,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -67,6 +71,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -84,6 +89,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -94,6 +100,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -111,6 +118,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -121,6 +129,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -138,6 +147,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -148,6 +158,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -165,6 +176,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -175,6 +187,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -192,6 +205,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -202,6 +216,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -219,6 +234,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -229,6 +245,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -246,6 +263,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -256,6 +274,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -273,6 +292,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -283,6 +303,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -300,6 +321,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -310,6 +332,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -327,6 +350,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -337,6 +361,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -354,6 +379,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -364,6 +390,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -381,6 +408,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -391,6 +419,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -408,6 +437,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -418,6 +448,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -435,6 +466,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -445,6 +477,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -462,6 +495,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -472,6 +506,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +524,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -499,6 +535,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -516,6 +553,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -526,6 +564,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -543,6 +582,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -553,6 +593,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -570,6 +611,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -580,6 +622,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -597,6 +640,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -607,6 +651,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -624,6 +669,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -634,6 +680,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -651,6 +698,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -661,6 +709,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +727,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -688,6 +738,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -705,6 +756,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -715,6 +767,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -732,6 +785,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -742,6 +796,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -759,6 +814,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -769,6 +825,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -786,6 +843,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -796,6 +854,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -813,6 +872,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -823,6 +883,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -840,6 +901,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -850,6 +912,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -867,6 +930,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -877,6 +941,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -894,6 +959,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -904,6 +970,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -921,6 +988,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -931,6 +999,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -948,6 +1017,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -958,6 +1028,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -975,6 +1046,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -985,6 +1057,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1002,6 +1075,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1012,6 +1086,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1029,6 +1104,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1039,6 +1115,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1056,6 +1133,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1066,6 +1144,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1083,6 +1162,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1093,6 +1173,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1110,6 +1191,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1120,6 +1202,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1137,6 +1220,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1147,6 +1231,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1164,6 +1249,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1174,6 +1260,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1278,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1201,6 +1289,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1218,6 +1307,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1228,6 +1318,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1245,6 +1336,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1255,6 +1347,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1272,6 +1365,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1282,6 +1376,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1299,6 +1394,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1309,6 +1405,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1326,6 +1423,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1336,6 +1434,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1452,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1363,6 +1463,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1380,6 +1481,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1390,6 +1492,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1407,6 +1510,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1417,6 +1521,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1434,6 +1539,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1444,6 +1550,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1461,6 +1568,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1471,6 +1579,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1488,6 +1597,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1498,6 +1608,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1515,6 +1626,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1525,6 +1637,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1542,6 +1655,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1552,6 +1666,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1569,6 +1684,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1579,6 +1695,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1596,6 +1713,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1606,6 +1724,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1742,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1633,6 +1753,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1650,6 +1771,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1660,6 +1782,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1677,6 +1800,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1687,6 +1811,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1704,6 +1829,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1714,6 +1840,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1731,6 +1858,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1741,6 +1869,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1758,6 +1887,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1768,6 +1898,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1785,6 +1916,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1795,6 +1927,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1812,6 +1945,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1822,6 +1956,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1839,6 +1974,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1849,6 +1985,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1866,6 +2003,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
@@ -1876,6 +2014,7 @@ drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2032,7 @@ insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,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;
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 cf96aedf4f7..c6b3d194c9c 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
@@ -13,6 +13,7 @@ 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");
@@ -30,6 +31,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -40,6 +42,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -57,6 +60,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -67,6 +71,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -84,6 +89,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -94,6 +100,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -111,6 +118,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -121,6 +129,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -138,6 +147,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -148,6 +158,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -165,6 +176,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -175,6 +187,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -192,6 +205,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -202,6 +216,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -219,6 +234,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -229,6 +245,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -246,6 +263,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -256,6 +274,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -273,6 +292,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -283,6 +303,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -300,6 +321,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -310,6 +332,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -327,6 +350,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -337,6 +361,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -354,6 +379,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -364,6 +390,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -381,6 +408,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -391,6 +419,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -408,6 +437,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -418,6 +448,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -435,6 +466,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -445,6 +477,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -462,6 +495,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -472,6 +506,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -489,6 +524,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -499,6 +535,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -516,6 +553,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -526,6 +564,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -543,6 +582,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -553,6 +593,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -570,6 +611,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -580,6 +622,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -597,6 +640,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -607,6 +651,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -624,6 +669,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -634,6 +680,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -651,6 +698,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -661,6 +709,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -678,6 +727,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -688,6 +738,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -705,6 +756,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -715,6 +767,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -732,6 +785,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -742,6 +796,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -759,6 +814,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -769,6 +825,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -786,6 +843,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -796,6 +854,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -813,6 +872,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -823,6 +883,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -840,6 +901,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -850,6 +912,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -867,6 +930,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -877,6 +941,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -894,6 +959,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -904,6 +970,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -921,6 +988,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -931,6 +999,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -948,6 +1017,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -958,6 +1028,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -975,6 +1046,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -985,6 +1057,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1002,6 +1075,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1012,6 +1086,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1029,6 +1104,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1039,6 +1115,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1056,6 +1133,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1066,6 +1144,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1083,6 +1162,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1093,6 +1173,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1110,6 +1191,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1120,6 +1202,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1137,6 +1220,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1147,6 +1231,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1164,6 +1249,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1174,6 +1260,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1191,6 +1278,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1201,6 +1289,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1218,6 +1307,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1228,6 +1318,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1245,6 +1336,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1255,6 +1347,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1272,6 +1365,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1282,6 +1376,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1299,6 +1394,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1309,6 +1405,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1326,6 +1423,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1336,6 +1434,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1353,6 +1452,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1363,6 +1463,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1380,6 +1481,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1390,6 +1492,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1407,6 +1510,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1417,6 +1521,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1434,6 +1539,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1444,6 +1550,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1461,6 +1568,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1471,6 +1579,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1488,6 +1597,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1498,6 +1608,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1515,6 +1626,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1525,6 +1637,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1542,6 +1655,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1552,6 +1666,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1569,6 +1684,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1579,6 +1695,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1596,6 +1713,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1606,6 +1724,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1623,6 +1742,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1633,6 +1753,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1650,6 +1771,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1660,6 +1782,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1677,6 +1800,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1687,6 +1811,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1704,6 +1829,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1714,6 +1840,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1731,6 +1858,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1741,6 +1869,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1758,6 +1887,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1768,6 +1898,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1785,6 +1916,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1795,6 +1927,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1812,6 +1945,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1822,6 +1956,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1839,6 +1974,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1849,6 +1985,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1866,6 +2003,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1876,6 +2014,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1893,6 +2032,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -1903,6 +2043,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1920,6 +2061,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1930,6 +2072,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1947,6 +2090,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1957,6 +2101,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -1974,6 +2119,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -1984,6 +2130,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2001,6 +2148,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2011,6 +2159,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2028,6 +2177,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2038,6 +2188,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2055,6 +2206,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2065,6 +2217,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2082,6 +2235,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2092,6 +2246,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2109,6 +2264,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2119,6 +2275,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2136,6 +2293,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2146,6 +2304,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2163,6 +2322,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2173,6 +2333,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2190,6 +2351,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2200,6 +2362,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2217,6 +2380,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2227,6 +2391,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2244,6 +2409,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2254,6 +2420,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2271,6 +2438,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2281,6 +2449,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2298,6 +2467,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2308,6 +2478,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2325,6 +2496,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2335,6 +2507,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2352,6 +2525,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2362,6 +2536,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2379,6 +2554,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2389,6 +2565,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2406,6 +2583,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2416,6 +2594,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2433,6 +2612,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2443,6 +2623,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2460,6 +2641,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2470,6 +2652,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2487,6 +2670,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2497,6 +2681,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2514,6 +2699,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2524,6 +2710,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2541,6 +2728,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2551,6 +2739,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2568,6 +2757,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2578,6 +2768,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2595,6 +2786,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2605,6 +2797,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2622,6 +2815,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2632,6 +2826,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2649,6 +2844,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2659,6 +2855,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2676,6 +2873,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2686,6 +2884,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2703,6 +2902,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2713,6 +2913,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2730,6 +2931,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2740,6 +2942,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2757,6 +2960,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2767,6 +2971,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2784,6 +2989,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2794,6 +3000,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2811,6 +3018,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2821,6 +3029,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2838,6 +3047,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2848,6 +3058,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2865,6 +3076,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2875,6 +3087,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2892,6 +3105,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2902,6 +3116,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2919,6 +3134,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -2929,6 +3145,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2946,6 +3163,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2956,6 +3174,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -2973,6 +3192,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -2983,6 +3203,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3000,6 +3221,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3010,6 +3232,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3027,6 +3250,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3037,6 +3261,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3054,6 +3279,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3064,6 +3290,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3081,6 +3308,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3091,6 +3319,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3108,6 +3337,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3118,6 +3348,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3135,6 +3366,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3145,6 +3377,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3162,6 +3395,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3172,6 +3406,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3189,6 +3424,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3199,6 +3435,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3216,6 +3453,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3226,6 +3464,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3243,6 +3482,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3253,6 +3493,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3270,6 +3511,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3280,6 +3522,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3297,6 +3540,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3307,6 +3551,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3324,6 +3569,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3334,6 +3580,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3351,6 +3598,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3361,6 +3609,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3378,6 +3627,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3388,6 +3638,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3405,6 +3656,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3415,6 +3667,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3432,6 +3685,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3442,6 +3696,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3459,6 +3714,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3469,6 +3725,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3486,6 +3743,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3496,6 +3754,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3513,6 +3772,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3523,6 +3783,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3540,6 +3801,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3550,6 +3812,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3567,6 +3830,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3577,6 +3841,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3594,6 +3859,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3604,6 +3870,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3621,6 +3888,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3631,6 +3899,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3648,6 +3917,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3658,6 +3928,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3675,6 +3946,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3685,6 +3957,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3702,6 +3975,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3712,6 +3986,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3729,6 +4004,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3739,6 +4015,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3756,6 +4033,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3766,6 +4044,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3783,6 +4062,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3793,6 +4073,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3810,6 +4091,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3820,6 +4102,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3837,6 +4120,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -3847,6 +4131,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3864,6 +4149,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3874,6 +4160,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3891,6 +4178,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3901,6 +4189,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3918,6 +4207,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3928,6 +4218,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3945,6 +4236,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3955,6 +4247,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3972,6 +4265,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -3982,6 +4276,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -3999,6 +4294,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4009,6 +4305,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4026,6 +4323,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -4036,6 +4334,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4053,6 +4352,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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";
@@ -4063,6 +4363,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4080,6 +4381,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4090,6 +4392,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4107,6 +4410,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4117,6 +4421,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4134,6 +4439,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4144,6 +4450,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4161,6 +4468,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4171,6 +4479,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4188,6 +4497,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4198,6 +4508,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4215,6 +4526,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4225,6 +4537,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4242,6 +4555,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4252,6 +4566,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4269,6 +4584,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4279,6 +4595,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4296,6 +4613,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4306,6 +4624,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4323,6 +4642,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4333,6 +4653,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4350,6 +4671,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4360,6 +4682,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4377,6 +4700,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4387,6 +4711,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4404,6 +4729,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4414,6 +4740,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4431,6 +4758,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4441,6 +4769,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4458,6 +4787,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4468,6 +4798,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4485,6 +4816,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4495,6 +4827,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4512,6 +4845,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4522,6 +4856,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4539,6 +4874,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4549,6 +4885,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4566,6 +4903,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4576,6 +4914,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4593,6 +4932,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4603,6 +4943,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4620,6 +4961,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4630,6 +4972,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4647,6 +4990,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4657,6 +5001,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4674,6 +5019,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4684,6 +5030,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4701,6 +5048,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4711,6 +5059,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4728,6 +5077,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4738,6 +5088,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4755,6 +5106,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4765,6 +5117,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4782,6 +5135,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4792,6 +5146,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4809,6 +5164,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4819,6 +5175,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4836,6 +5193,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4846,6 +5204,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4863,6 +5222,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4873,6 +5233,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4890,6 +5251,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4900,6 +5262,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4917,6 +5280,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4927,6 +5291,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4944,6 +5309,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4954,6 +5320,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4971,6 +5338,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -4981,6 +5349,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -4998,6 +5367,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5008,6 +5378,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5025,6 +5396,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5035,6 +5407,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5052,6 +5425,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5062,6 +5436,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5079,6 +5454,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5089,6 +5465,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5106,6 +5483,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5116,6 +5494,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5133,6 +5512,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5143,6 +5523,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5160,6 +5541,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5170,6 +5552,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5187,6 +5570,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5197,6 +5581,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5214,6 +5599,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5224,6 +5610,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5241,6 +5628,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5251,6 +5639,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5268,6 +5657,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5278,6 +5668,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5295,6 +5686,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5305,6 +5697,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5322,6 +5715,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5332,6 +5726,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5349,6 +5744,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5359,6 +5755,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5376,6 +5773,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5386,6 +5784,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5403,6 +5802,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5413,6 +5813,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5430,6 +5831,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5440,6 +5842,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5457,6 +5860,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5467,6 +5871,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5484,6 +5889,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5494,6 +5900,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5511,6 +5918,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5521,6 +5929,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5538,6 +5947,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5548,6 +5958,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5565,6 +5976,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5575,6 +5987,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5592,6 +6005,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5602,6 +6016,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5619,6 +6034,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5629,6 +6045,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5646,6 +6063,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5656,6 +6074,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5673,6 +6092,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5683,6 +6103,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5700,6 +6121,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5710,6 +6132,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5727,6 +6150,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5737,6 +6161,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5754,6 +6179,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5764,6 +6190,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5781,6 +6208,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5791,6 +6219,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5808,6 +6237,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5818,6 +6248,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5835,6 +6266,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
@@ -5845,6 +6277,7 @@ drop table foo; drop table bar;
create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
+begin;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
@@ -5862,6 +6295,7 @@ insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NU
insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds");
insert into foo values ("rewoiu","fds","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;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result b/storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result
index 10cdb4767f6..c850de928b9 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result
@@ -1,6 +1,7 @@
drop table if exists t;
set default_storage_engine='innodb';
create table t (id bigint primary key, x bigint not null);
+begin;
insert into t values (0,0);
insert into t values (1,0);
insert into t values (2,0);
@@ -10001,6 +10002,7 @@ insert into t values (9996,0);
insert into t values (9997,0);
insert into t values (9998,0);
insert into t values (9999,0);
+commit;
explain select id from t where id>0 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where; Using index
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result b/storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result
index b642c8d6963..07e8b37c263 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result
@@ -1,6 +1,7 @@
drop table if exists t;
set default_storage_engine='tokudb';
create table t (id bigint primary key, x bigint not null);
+begin;
insert into t values (0,0);
insert into t values (1,0);
insert into t values (2,0);
@@ -10001,9 +10002,10 @@ insert into t values (9996,0);
insert into t values (9997,0);
insert into t values (9998,0);
insert into t values (9999,0);
+commit;
explain select id from t where id>0 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where; Using index
+1 SIMPLE t index_or_range PRIMARY PRIMARY 8 NULL # Using where; Using index_or_range
explain select * from t where id>0 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where
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 7532cddd97f..b572ac3b6e1 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
@@ -1,20 +1,17 @@
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;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
set tokudb_checkpoint_lock=1;
flush logs;;
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
-test Query executing select DB, command, state, info from information_schema.processlist
test Query NULL flush logs
set tokudb_checkpoint_lock=0;
set global tokudb_checkpoint_on_flush_logs=OFF;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result
index 63a688ef11b..5ef3c001935 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result
@@ -2,45 +2,39 @@ SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set GLOBAL tokudb_checkpoint_on_flush_logs=ON;
# Establish connection conn1 (user = root)
# should see nothing
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
# should see nothing
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
set session tokudb_checkpoint_lock=1;
flush logs;;
# should see a flush logs
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
-test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Query NULL flush logs
set session tokudb_checkpoint_lock=1;
# should still see a flush logs
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
-test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Query NULL flush logs
set session tokudb_checkpoint_lock=0;
# should still see a flush logs
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
test Query NULL flush logs
set session tokudb_checkpoint_lock=0;
# should see nothing
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
-test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Sleep NULL
set GLOBAL tokudb_checkpoint_on_flush_logs=OFF;
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 a6c41e08570..968d86e5659 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,18 +1,15 @@
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
test Sleep NULL
-test Query executing select DB, command, state, info from information_schema.processlist
set tokudb_checkpoint_lock=1;
flush logs;;
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
DB command state info
-test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
set tokudb_checkpoint_lock=0;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result b/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result
index 955d7a6212a..904a25f6424 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result
@@ -1,4 +1,5 @@
drop table if exists t1;
+FLUSH TABLES;
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb;
xa begin 'a','ab';
insert into t1 values (1);
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/suite.pm b/storage/tokudb/mysql-test/tokudb_bugs/suite.pm
index 786adf7acd3..a6e01cd6dd4 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/suite.pm
+++ b/storage/tokudb/mysql-test/tokudb_bugs/suite.pm
@@ -2,7 +2,13 @@ package My::Suite::TokuDB_bugs;
use File::Basename;
@ISA = qw(My::Suite);
+# Ensure we can run the TokuDB tests even if hugepages are enabled
+$ENV{TOKU_HUGE_PAGES_OK}=1;
+
#return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
+
+sub is_default { not $::opt_embedded_server }
+
bless { };
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 dec1f39eb97..d629c2cfe1c 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test
@@ -11,12 +11,14 @@ set default_storage_engine='innodb';
create table t (id bigint primary key, x bigint not null);
+begin;
let $i=0;
let $n=10000;
while ($i < $n) {
eval insert into t values ($i,0);
inc $i;
}
+commit;
replace_column 9 #;
explain select id from t where id>0 limit 10;
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test b/storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test
index e0e0fc886fd..2e30c839905 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test
@@ -11,14 +11,18 @@ set default_storage_engine='tokudb';
create table t (id bigint primary key, x bigint not null);
+begin;
let $i=0;
let $n=10000;
while ($i < $n) {
eval insert into t values ($i,0);
inc $i;
}
+commit;
+# TokuDB may do index or range scan on this. Both are ok
replace_column 9 #;
+--replace_result index index_or_range range index_or_range
explain select id from t where id>0 limit 10;
replace_column 9 #;
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 be72c26b841..ac39ac569fd 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;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
flush logs;
-select DB, command, state, info from information_schema.processlist;
+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;
+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_2.test b/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_2.test
index 44db2ca2f7c..c399dc24649 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_2.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_2.test
@@ -13,11 +13,11 @@ connect (conn2,localhost,root,,);
connection default;
--sleep 2
--echo # should see nothing
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
flush logs;
--echo # should see nothing
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
connection conn1;
@@ -29,25 +29,25 @@ connection default;
connection conn2;
--sleep 2
--echo # should see a flush logs
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
set session tokudb_checkpoint_lock=1;
--echo # should still see a flush logs
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
connection conn1;
--sleep 2
set session tokudb_checkpoint_lock=0;
--echo # should still see a flush logs
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
connection conn2;
set session tokudb_checkpoint_lock=0;
--sleep 2
--echo # should see nothing
-select DB, command, state, info from information_schema.processlist;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
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 1bb70eab163..b21aef1f6bc 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;
+select DB, command, state, info from information_schema.processlist where id!= connection_id();
flush logs;
-select DB, command, state, info from information_schema.processlist;
+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;
+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/xa-6.test b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test
index ce3ad5e326b..cb16357ff11 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test
@@ -5,6 +5,9 @@
drop table if exists t1;
--enable_warnings
+# Ensure that all tables are properly closed before we start simulating
+# crashes
+FLUSH TABLES;
# test that simple xa commands work with TokuDB
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/commit_5396.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/commit_5396.result
new file mode 100644
index 00000000000..b226abc81d1
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/commit_5396.result
@@ -0,0 +1,16 @@
+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;
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+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 t1, t2, t3;
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result b/storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result
index 3fafa68f907..5151f2bc895 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result
@@ -11,3 +11,4 @@ set debug_sync='now SIGNAL go';
Table Op Msg_type Msg_text
test.t1 optimize status OK
drop table t1;
+set debug_sync='reset';
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/suite.pm b/storage/tokudb/mysql-test/tokudb_mariadb/suite.pm
index ee5a6d9cd57..ab3da8e6b03 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/suite.pm
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/suite.pm
@@ -2,7 +2,13 @@ package My::Suite::TokuDB_mariadb;
use File::Basename;
@ISA = qw(My::Suite);
+# Ensure we can run the TokuDB tests even if hugepages are enabled
+$ENV{TOKU_HUGE_PAGES_OK}=1;
+
#return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
+
+sub is_default { not $::opt_embedded_server }
+
bless { };
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/t/commit_5396.test b/storage/tokudb/mysql-test/tokudb_mariadb/t/commit_5396.test
new file mode 100644
index 00000000000..6df7fb6ac09
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/t/commit_5396.test
@@ -0,0 +1,18 @@
+#
+# MDEV-5396 Assertion `Handlerton: r==0 ' failed (errno=0) on EXPLAIN with TokuDB tables
+#
+
+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;
+
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+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 t1, t2, t3;
+
diff --git a/storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test b/storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test
index 20a6daf43fc..0eae53e77f9 100644
--- a/storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test
+++ b/storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test
@@ -14,4 +14,5 @@ connection default;
reap;
drop table t1;
+set debug_sync='reset';
diff --git a/storage/tokudb/tokudb.cnf b/storage/tokudb/tokudb.cnf
index 84f98e6d9b9..11e5e832bab 100644
--- a/storage/tokudb/tokudb.cnf
+++ b/storage/tokudb/tokudb.cnf
@@ -5,5 +5,11 @@
# See https://mariadb.com/kb/en/tokudb-differences/ for differences
# between TokuDB in MariaDB and TokuDB from http://www.tokutek.com/
+# Note, that only one plugin-load option will be recognized by the
+# MariaDB server. If you uncomment the line below, make sure that
+# you don't also have plugin-load options in your other
+# my.cnf files. Otherwise, add ha_tokudb.so to the existing
+# plugin-load option, instead of uncommenting the line below.
+
#plugin-load=ha_tokudb.so
diff --git a/storage/xtradb/btr/btr0cur.c b/storage/xtradb/btr/btr0cur.c
index 8904270197a..e5d0f002af6 100644
--- a/storage/xtradb/btr/btr0cur.c
+++ b/storage/xtradb/btr/btr0cur.c
@@ -61,6 +61,7 @@ Created 10/16/1994 Heikki Tuuri
#include "row0upd.h"
#include "trx0rec.h"
#include "trx0roll.h" /* trx_is_recv() */
+#include "trx0undo.h"
#include "que0que.h"
#include "row0row.h"
#include "srv0srv.h"
@@ -1757,7 +1758,7 @@ btr_cur_upd_lock_and_undo(
/***********************************************************//**
Writes a redo log record of updating a record in-place. */
-UNIV_INLINE
+UNIV_INTERN
void
btr_cur_update_in_place_log(
/*========================*/
@@ -1785,18 +1786,30 @@ 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, roll_ptr, log_ptr,
- mtr);
+ if (dict_index_is_clust(index)) {
+ log_ptr = row_upd_write_sys_vals_to_log(
+ index, trx, 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.c b/storage/xtradb/btr/btr0pcur.c
index 3929c4a9c2d..d1b3dc4a3e6 100644
--- a/storage/xtradb/btr/btr0pcur.c
+++ b/storage/xtradb/btr/btr0pcur.c
@@ -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
@@ -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 (UNIV_UNLIKELY(page_get_n_recs(page) == 0)) {
/* It must be an empty index tree; NOTE that in this case
@@ -239,21 +238,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)) {
@@ -277,14 +267,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),
@@ -296,9 +286,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);
@@ -316,7 +303,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);
}
}
@@ -418,7 +411,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));
@@ -484,7 +477,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.c b/storage/xtradb/buf/buf0buf.c
index f6d995068c1..47b97984bd3 100644
--- a/storage/xtradb/buf/buf0buf.c
+++ b/storage/xtradb/buf/buf0buf.c
@@ -4817,12 +4817,16 @@ buf_get_latched_pages_number_instance(
case BUF_BLOCK_FILE_PAGE:
/* uncompressed page */
break;
+ case BUF_BLOCK_REMOVE_HASH:
+ /* We hold flush list but not LRU list mutex here.
+ Thus encountering BUF_BLOCK_REMOVE_HASH pages is
+ possible. */
+ break;
case BUF_BLOCK_ZIP_FREE:
case BUF_BLOCK_ZIP_PAGE:
case BUF_BLOCK_NOT_USED:
case BUF_BLOCK_READY_FOR_USE:
case BUF_BLOCK_MEMORY:
- case BUF_BLOCK_REMOVE_HASH:
ut_error;
break;
}
diff --git a/storage/xtradb/buf/buf0flu.c b/storage/xtradb/buf/buf0flu.c
index fea665eba40..d47f2d6fa9a 100644
--- a/storage/xtradb/buf/buf0flu.c
+++ b/storage/xtradb/buf/buf0flu.c
@@ -1605,6 +1605,16 @@ buf_flush_page_and_try_neighbors(
ut_ad(block_mutex);
}
+ if (UNIV_UNLIKELY(buf_page_get_state(bpage)
+ == BUF_BLOCK_REMOVE_HASH)) {
+
+ /* In case we don't hold the LRU list mutex, we may see a page
+ that is about to be relocated on the flush list. Do not
+ attempt to flush it. */
+ ut_ad(flush_type == BUF_FLUSH_LIST);
+ return (flushed);
+ }
+
ut_a(buf_page_in_file(bpage));
if (buf_flush_ready_for_flush(bpage, flush_type)) {
diff --git a/storage/xtradb/dict/dict0dict.c b/storage/xtradb/dict/dict0dict.c
index 791f2c0d741..d2c8e0083f7 100644
--- a/storage/xtradb/dict/dict0dict.c
+++ b/storage/xtradb/dict/dict0dict.c
@@ -36,6 +36,11 @@ UNIV_INTERN dict_index_t* dict_ind_redundant;
/** dummy index for ROW_FORMAT=COMPACT supremum and infimum records */
UNIV_INTERN dict_index_t* dict_ind_compact;
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+UNIV_INTERN uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#ifndef UNIV_HOTBACKUP
#include "buf0buf.h"
#include "data0type.h"
@@ -4874,6 +4879,8 @@ dict_update_statistics(
dict_index_t* index;
ulint sum_of_index_sizes = 0;
+ DBUG_EXECUTE_IF("skip_innodb_statistics", return;);
+
if (table->ibd_file_missing) {
ut_print_timestamp(stderr);
fprintf(stderr,
@@ -4935,6 +4942,12 @@ dict_update_statistics(
continue;
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug && !dict_index_is_clust(index)) {
+ goto fake_statistics;
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
if (UNIV_LIKELY
(srv_force_recovery < SRV_FORCE_NO_IBUF_MERGE
|| (srv_force_recovery < SRV_FORCE_NO_LOG_REDO
diff --git a/storage/xtradb/fil/fil0fil.c b/storage/xtradb/fil/fil0fil.c
index 69a151be45f..f598c717e00 100644
--- a/storage/xtradb/fil/fil0fil.c
+++ b/storage/xtradb/fil/fil0fil.c
@@ -4369,7 +4369,7 @@ fil_load_single_table_tablespace(
if (check_msg) {
fprintf(stderr,
- "InnoDB: Error: %s in file %s",
+ "InnoDB: Error: %s in file %s\n",
check_msg, filepath);
goto func_exit;
}
@@ -4967,6 +4967,7 @@ fil_extend_space_to_desired_size(
space->size += (size_after_extend - start_page_no);
os_has_said_disk_full = FALSE;
}
+ fil_node_complete_io(node, fil_system, OS_FILE_READ);
goto complete_io;
}
#endif
@@ -5027,10 +5028,20 @@ fil_extend_space_to_desired_size(
mem_free(buf2);
- fil_node_complete_io(node, fil_system, OS_FILE_WRITE);
-
#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
*actual_size = space->size;
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc
index 9737843a00b..322a5b722e6 100644
--- a/storage/xtradb/handler/ha_innodb.cc
+++ b/storage/xtradb/handler/ha_innodb.cc
@@ -55,6 +55,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <innodb_priv.h>
#include <mysql/psi/psi.h>
#include <my_sys.h>
+#include <my_check_opt.h>
#ifdef MYSQL_SERVER
#include <rpl_mi.h>
@@ -9961,6 +9962,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 (prebuilt->table->ibd_file_missing) {
+ n_rows = HA_POS_ERROR;
+ goto func_exit;
+ }
if (UNIV_UNLIKELY(!index)) {
n_rows = HA_POS_ERROR;
goto func_exit;
@@ -10731,8 +10736,7 @@ 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;
@@ -10789,11 +10793,6 @@ ha_innobase::check(
do additional check */
prebuilt->table->corrupted = FALSE;
- /* Enlarge the fatal lock wait timeout during CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold += SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
for (index = dict_table_get_first_index(prebuilt->table);
index != NULL;
index = dict_table_get_next_index(index)) {
@@ -10806,20 +10805,41 @@ ha_innobase::check(
/* If this is an index being created, break */
if (*index->name == TEMP_INDEX_PREFIX) {
- break;
- } else if (!btr_validate_index(index, prebuilt->trx)) {
- is_ok = FALSE;
+ continue;
+ }
+ if (!(check_opt->flags & T_QUICK)) {
+ /* Enlarge the fatal lock wait timeout during
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold +=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ ibool valid = TRUE;
+ valid = btr_validate_index(index, prebuilt->trx);
+
+ /* Restore the fatal lock wait timeout after
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold -=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ if (!valid) {
+ is_ok = FALSE;
- innobase_format_name(
- index_name, sizeof index_name,
- prebuilt->index->name, TRUE);
+ innobase_format_name(
+ index_name, sizeof index_name,
+ index->name, TRUE);
+ push_warning_printf(thd,
+ MYSQL_ERROR::WARN_LEVEL_WARN,
+ ER_NOT_KEYFILE,
+ "InnoDB: The B-tree of"
+ " index %s is corrupted.",
+ index_name);
- push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- ER_NOT_KEYFILE,
- "InnoDB: The B-tree of"
- " index %s is corrupted.",
- index_name);
- continue;
+ continue;
+ }
}
/* Instead of invoking change_active_index(), set up
@@ -10923,21 +10943,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 */
+#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
+ /* 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 (!(check_opt->flags & T_QUICK) && !btr_search_validate()) {
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
ER_NOT_KEYFILE,
"InnoDB: The adaptive hash index is corrupted.");
is_ok = FALSE;
}
-
- /* Restore the fatal lock wait timeout after CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold -= SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
+#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
prebuilt->trx->op_info = "";
if (thd_kill_level(user_thd)) {
my_error(ER_QUERY_INTERRUPTED, MYF(0));
@@ -11829,7 +11845,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);
@@ -11894,13 +11910,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);
}
/************************************************************************//**
diff --git a/storage/xtradb/handler/i_s.cc b/storage/xtradb/handler/i_s.cc
index 71808bcd0e6..9bede650549 100644
--- a/storage/xtradb/handler/i_s.cc
+++ b/storage/xtradb/handler/i_s.cc
@@ -50,17 +50,21 @@ extern "C" {
#include "dict0load.h" /* for file sys_tables related info. */
#include "buf0buddy.h"
#include "buf0buf.h"
+#include "buf0lru.h"
#include "ibuf0ibuf.h"
#include "dict0mem.h"
#include "dict0types.h"
#include "srv0srv.h" /* for srv_max_changed_pages */
#include "dict0boot.h"
+#include "dict0load.h"
#include "ha_prototypes.h"
#include "srv0start.h"
+#include "srv0srv.h"
#include "trx0i_s.h"
#include "trx0trx.h" /* for TRX_QUE_STATE_STR_MAX_LEN */
#include "buf0lru.h" /* for XTRA_LRU_[DUMP/RESTORE] */
#include "trx0rseg.h"
+#include "trx0trx.h"
#include "trx0undo.h"
#include "log0online.h"
#include "btr0btr.h"
diff --git a/storage/xtradb/ibuf/ibuf0ibuf.c b/storage/xtradb/ibuf/ibuf0ibuf.c
index 65489d13285..e04b6ac3ba6 100644
--- a/storage/xtradb/ibuf/ibuf0ibuf.c
+++ b/storage/xtradb/ibuf/ibuf0ibuf.c
@@ -194,11 +194,6 @@ access order rules. */
/** Operations that can currently be buffered. */
UNIV_INTERN ibuf_use_t ibuf_use = IBUF_USE_ALL;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-UNIV_INTERN uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
UNIV_INTERN ibuf_t* ibuf = NULL;
@@ -2693,6 +2688,12 @@ ibuf_contract_ext(
return(0);
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug) {
+ return(0);
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
ibuf_mtr_start(&mtr);
/* Open a cursor to a randomly chosen leaf of the tree, at a random
@@ -4066,6 +4067,24 @@ updated_in_place:
to btr_cur_update_in_place(). */
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,
+ NULL, 0, mtr);
+ DBUG_EXECUTE_IF(
+ "crash_after_log_ibuf_upd_inplace",
+ log_buffer_flush_to_disk();
+ fprintf(stderr,
+ "InnoDB: Wrote log record for ibuf "
+ "update in place operation\n");
+ DBUG_SUICIDE();
+ );
+
+
goto updated_in_place;
}
diff --git a/storage/xtradb/include/btr0cur.h b/storage/xtradb/include/btr0cur.h
index 97929d44159..7b56c1bbb6e 100644
--- a/storage/xtradb/include/btr0cur.h
+++ b/storage/xtradb/include/btr0cur.h
@@ -637,6 +637,21 @@ btr_cur_set_deleted_flag_for_ibuf(
uncompressed */
ibool val, /*!< in: value to set */
mtr_t* mtr); /*!< in/out: mini-transaction */
+
+/***********************************************************//**
+Writes a redo log record of updating a record in-place. */
+UNIV_INTERN
+void
+btr_cur_update_in_place_log(
+/*========================*/
+ ulint flags, /*!< in: flags */
+ rec_t* rec, /*!< in: record */
+ dict_index_t* index, /*!< in: index where cursor positioned */
+ const upd_t* update, /*!< in: update vector */
+ trx_t* trx, /*!< in: transaction */
+ roll_ptr_t roll_ptr, /*!< in: roll ptr */
+ mtr_t* mtr); /*!< in: mtr */
+
/*######################################################################*/
/** In the pessimistic delete, if the page data size drops below this
diff --git a/storage/xtradb/include/btr0pcur.h b/storage/xtradb/include/btr0pcur.h
index 4312f73ca4a..d9ce02283d7 100644
--- a/storage/xtradb/include/btr0pcur.h
+++ b/storage/xtradb/include/btr0pcur.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, 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
@@ -447,6 +447,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. */
@@ -480,10 +501,8 @@ struct btr_pcur_struct{
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;
@@ -499,21 +518,6 @@ struct btr_pcur_struct{
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 696dfc728dc..647e8d0cde9 100644
--- a/storage/xtradb/include/btr0pcur.ic
+++ b/storage/xtradb/include/btr0pcur.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, 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 6fa7a2d87bf..39c0a66fb9a 100644
--- a/storage/xtradb/include/btr0sea.h
+++ b/storage/xtradb/include/btr0sea.h
@@ -196,8 +196,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/dict0types.h b/storage/xtradb/include/dict0types.h
index 330e6a25114..22407e2408e 100644
--- a/storage/xtradb/include/dict0types.h
+++ b/storage/xtradb/include/dict0types.h
@@ -63,4 +63,9 @@ typedef enum dict_err_ignore dict_err_ignore_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/ibuf0ibuf.h b/storage/xtradb/include/ibuf0ibuf.h
index 03ea0629af4..d0d09d3c753 100644
--- a/storage/xtradb/include/ibuf0ibuf.h
+++ b/storage/xtradb/include/ibuf0ibuf.h
@@ -63,11 +63,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 424c8cd7d1d..18ae51cb0ca 100644
--- a/storage/xtradb/include/log0log.h
+++ b/storage/xtradb/include/log0log.h
@@ -837,6 +837,8 @@ struct log_struct{
later; this is advanced when a flush
operation is completed to all the log
groups */
+ volatile ibool is_extending; /*!< this is set to true during extend
+ the log buffer size */
ib_uint64_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/univ.i b/storage/xtradb/include/univ.i
index 0b105f573c2..7474be81bd6 100644
--- a/storage/xtradb/include/univ.i
+++ b/storage/xtradb/include/univ.i
@@ -64,7 +64,7 @@ component, i.e. we show M.N.P as M.N */
(INNODB_VERSION_MAJOR << 8 | INNODB_VERSION_MINOR)
#ifndef PERCONA_INNODB_VERSION
-#define PERCONA_INNODB_VERSION 31.1
+#define PERCONA_INNODB_VERSION 33.0
#endif
#define INNODB_VERSION_STR MYSQL_SERVER_VERSION "-" IB_TO_STR(PERCONA_INNODB_VERSION)
diff --git a/storage/xtradb/log/log0log.c b/storage/xtradb/log/log0log.c
index 9ff8c2448d4..493fa0202f8 100644
--- a/storage/xtradb/log/log0log.c
+++ b/storage/xtradb/log/log0log.c
@@ -36,6 +36,12 @@ Created 12/9/1995 Heikki Tuuri
#include "log0log.ic"
#endif
+#ifdef HAVE_ALLOCA_H
+#include "alloca.h"
+#elif defined(HAVE_MALLOC_H)
+#include "malloc.h"
+#endif
+
#ifndef UNIV_HOTBACKUP
#include "mem0mem.h"
#include "buf0buf.h"
@@ -264,6 +270,85 @@ 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=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 = mem_alloc(LOG_BUFFER_SIZE + OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf_size = LOG_BUFFER_SIZE;
+ memset(log_sys->buf, '\0', 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));
+
+ fprintf(stderr,
+ "InnoDB: innodb_log_buffer_size was extended to %lu.\n",
+ 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 */
@@ -281,10 +366,38 @@ log_open(
#endif /* UNIV_LOG_ARCHIVE */
ulint count = 0;
- 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. */
+ ut_print_timestamp(stderr);
+ fprintf(stderr,
+ " InnoDB: Warning: "
+ "The transaction log size is too large"
+ " for innodb_log_buffer_size (%lu >= %lu / 2). "
+ "Trying to extend it.\n",
+ 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 */
@@ -901,6 +1014,7 @@ log_init(void)
log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->is_extending = FALSE;
memset(log_sys->buf, '\0', LOG_BUFFER_SIZE);
diff --git a/storage/xtradb/log/log0online.c b/storage/xtradb/log/log0online.c
index 5dfe08a4b65..d195a881348 100644
--- a/storage/xtradb/log/log0online.c
+++ b/storage/xtradb/log/log0online.c
@@ -1790,7 +1790,8 @@ 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,
+ IB_ULONGLONG_MAX)) {
if (srv_track_changed_pages) {
mutex_exit(&log_bmp_sys->mutex);
}
@@ -1805,8 +1806,20 @@ 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 != IB_ULONGLONG_MAX)) {
+
break;
}
if (!os_file_delete_if_exists(bitmap_files.files[i].name)) {
diff --git a/storage/xtradb/row/row0sel.c b/storage/xtradb/row/row0sel.c
index a902854d4ca..276a2cf1171 100644
--- a/storage/xtradb/row/row0sel.c
+++ b/storage/xtradb/row/row0sel.c
@@ -3130,48 +3130,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);
}
@@ -4278,6 +4308,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;
/* ut_print_name(stderr, index->name);
fputs(" record not found 3\n", stderr); */
@@ -4317,6 +4355,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;
/* ut_print_name(stderr, index->name);
fputs(" record not found 4\n", stderr); */
@@ -4950,6 +4996,7 @@ normal_return:
if (prebuilt->n_fetch_cached > 0) {
row_sel_pop_cached_row_for_mysql(buf, prebuilt);
+ DEBUG_SYNC_C("row_search_cached_row");
err = DB_SUCCESS;
}
diff --git a/storage/xtradb/trx/trx0trx.c b/storage/xtradb/trx/trx0trx.c
index 05d89c8ce6a..27792e57e9c 100644
--- a/storage/xtradb/trx/trx0trx.c
+++ b/storage/xtradb/trx/trx0trx.c
@@ -1329,7 +1329,15 @@ trx_cleanup_at_db_startup(
}
trx->state = TRX_NOT_STARTED;
+
+ /* This code is executed in a single threaded context, but we acquire
+ kernel_mutex to satisfy a debug assertion in
+ trx_release_descriptor(). */
+
+ mutex_enter(&kernel_mutex);
trx_release_descriptor(trx);
+ mutex_exit(&kernel_mutex);
+
trx->rseg = NULL;
trx->undo_no = 0;
trx->last_sql_stat_start.least_undo_no = 0;
diff --git a/strings/CMakeLists.txt b/strings/CMakeLists.txt
index 2747374058d..18fae59d394 100644
--- a/strings/CMakeLists.txt
+++ b/strings/CMakeLists.txt
@@ -32,3 +32,8 @@ ENDIF()
# Avoid dependencies on perschema data defined in mysys
ADD_DEFINITIONS(-DDISABLE_MYSQL_THREAD_H)
ADD_CONVENIENCE_LIBRARY(strings ${STRINGS_SOURCES})
+
+INSTALL_DEBUG_SYMBOLS(strings)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(strings DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c
index 6edaaa099f6..28fa6163dfe 100644
--- a/strings/ctype-utf8.c
+++ b/strings/ctype-utf8.c
@@ -2101,7 +2101,7 @@ my_strnxfrm_unicode(CHARSET_INFO *cs,
const uchar *se = src + srclen;
MY_UNICASE_INFO * const*uni_plane= (cs->state & MY_CS_BINSORT) ?
NULL : cs->caseinfo;
- DBUG_ASSERT(src);
+ DBUG_ASSERT(!srclen || src);
while (dst < de_beg)
{
@@ -2145,7 +2145,7 @@ my_strnxfrm_unicode_full_bin(CHARSET_INFO *cs,
const uchar *se = src + srclen;
LINT_INIT(wc);
- DBUG_ASSERT(src);
+ DBUG_ASSERT(!srclen || src);
DBUG_ASSERT(cs->state & MY_CS_BINSORT);
while (dst < de_beg)
diff --git a/strings/ctype-win1250ch.c b/strings/ctype-win1250ch.c
index 8fd15ebddb2..ef54101cf7f 100644
--- a/strings/ctype-win1250ch.c
+++ b/strings/ctype-win1250ch.c
@@ -501,7 +501,7 @@ static size_t my_strnxfrm_win1250ch(CHARSET_INFO * cs __attribute__((unused)),
do {
NEXT_CMP_VALUE(src, p, pass, value, (int)srclen);
- if (totlen <= len)
+ if (totlen < len)
dest[totlen] = value;
totlen++;
} while (value) ;
diff --git a/support-files/compiler_warnings.supp b/support-files/compiler_warnings.supp
index cd39b3f7a9d..315af529149 100644
--- a/support-files/compiler_warnings.supp
+++ b/support-files/compiler_warnings.supp
@@ -161,6 +161,11 @@ include/pwdbased\.hpp: comparison of unsigned expression
.*auth_pam\.c : initialization from incompatible pointer type : 100-200
#
+# jemalloc
+#
+jemalloc/src/jemalloc\.c: always_inline function might not be inlinable
+
+#
# Unexplanable (?) stuff
#
listener.cc : .*conversion from 'SOCKET' to 'int'.*
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 7408f682e0a..189d4bacc0e 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -1138,7 +1138,9 @@ echo "=====" >> $STATUS_HISTORY
%doc release/support-files/wsrep_notify
%endif
+%if 0%{?commercial}
%doc %attr(644, root, root) %{_infodir}/mysql.info*
+%endif
%doc %attr(644, root, man) %{_mandir}/man1/innochecksum.1*
%doc %attr(644, root, man) %{_mandir}/man1/my_print_defaults.1*
@@ -1309,6 +1311,9 @@ echo "=====" >> $STATUS_HISTORY
# merging BK trees)
##############################################################################
%changelog
+* Wed Oct 30 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
+- Removed non gpl file docs/mysql.info from community packages
+
* Mon Sep 09 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
- Updated logic to get the correct count of PID files
diff --git a/support-files/rpm/server-postin.sh b/support-files/rpm/server-postin.sh
index b4d63815fe9..91885f73466 100644
--- a/support-files/rpm/server-postin.sh
+++ b/support-files/rpm/server-postin.sh
@@ -23,9 +23,9 @@ if [ $1 = 1 ] ; then
# Create a MySQL user and group. Do not report any problems if it already
# exists.
groupadd -r %{mysqld_group} 2> /dev/null || true
- useradd -M -r -d $datadir -s /bin/bash -c "MySQL server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
+ useradd -M -r --home $datadir --shell /sbin/nologin --comment "MySQL server" --gid %{mysqld_group} %{mysqld_user} 2> /dev/null || true
# The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
- usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
+ usermod --gid %{mysqld_group} %{mysqld_user} 2> /dev/null || true
# Change permissions so that the user that will run the MySQL daemon
# owns all database files.
diff --git a/tests/bug25714.c b/tests/bug25714.c
index 40c631d76a5..7e6be13624b 100644
--- a/tests/bug25714.c
+++ b/tests/bug25714.c
@@ -23,7 +23,7 @@
int main (int argc, char **argv)
{
MYSQL conn;
- int OK;
+ int OK __attribute__((unused));
const char* query4= "INSERT INTO federated.t1 SET Value=54";
const char* query5= "INSERT INTO federated.t1 SET Value=55";
diff --git a/vio/CMakeLists.txt b/vio/CMakeLists.txt
index e61281a43d8..bf811a0de9b 100644
--- a/vio/CMakeLists.txt
+++ b/vio/CMakeLists.txt
@@ -20,3 +20,8 @@ ADD_DEFINITIONS(${SSL_DEFINES})
SET(VIO_SOURCES vio.c viosocket.c viossl.c viosslfactories.c)
ADD_CONVENIENCE_LIBRARY(vio ${VIO_SOURCES})
TARGET_LINK_LIBRARIES(vio ${LIBSOCKET})
+
+INSTALL_DEBUG_SYMBOLS(vio)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(vio DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt
index 68799947e44..bcfacea4b0b 100644
--- a/zlib/CMakeLists.txt
+++ b/zlib/CMakeLists.txt
@@ -23,3 +23,8 @@ SET(ZLIB_SOURCES adler32.c compress.c crc32.c crc32.h deflate.c deflate.h gzio.
ADD_CONVENIENCE_LIBRARY(zlib ${ZLIB_SOURCES})
RESTRICT_SYMBOL_EXPORTS(zlib)
+INSTALL_DEBUG_SYMBOLS(zlib)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(zlib DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
+