summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt80
-rw-r--r--client/mysql.cc8
-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.cmake4
-rw-r--r--cmake/os/Linux.cmake7
-rw-r--r--configure.cmake4
-rw-r--r--debian/dist/Debian/control1
-rw-r--r--debian/dist/Ubuntu/control1
-rwxr-xr-xdebian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch29
-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/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.h76
-rw-r--r--include/my_handler_errors.h3
-rw-r--r--include/myisam.h3
-rw-r--r--include/myisamchk.h42
-rw-r--r--libmysql/CMakeLists.txt2
-rw-r--r--mysql-test/CMakeLists.txt2
-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/mtr_check.sql5
-rw-r--r--mysql-test/include/search_pattern_in_file.inc66
-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/derived.result22
-rw-r--r--mysql-test/r/derived_view.result109
-rw-r--r--mysql-test/r/func_time.result34
-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/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/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/show_explain.result2
-rw-r--r--mysql-test/r/sp-bugs.result46
-rw-r--r--mysql-test/r/subselect_mat.result36
-rw-r--r--mysql-test/r/subselect_sj.result4
-rw-r--r--mysql-test/r/subselect_sj_jcl6.result4
-rw-r--r--mysql-test/r/subselect_sj_mat.result36
-rw-r--r--mysql-test/r/timezone2.result6
-rw-r--r--mysql-test/r/type_date.result2
-rw-r--r--mysql-test/r/type_time.result2
-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/federated/federated_archive.result4
-rw-r--r--mysql-test/suite/handler/innodb.result4
-rw-r--r--mysql-test/suite/handler/innodb.test5
-rw-r--r--mysql-test/suite/innodb/r/innodb_bug13510739.result2
-rw-r--r--mysql-test/suite/innodb/t/innodb-autoinc-44030.test5
-rw-r--r--mysql-test/suite/innodb/t/innodb-index.test5
-rw-r--r--mysql-test/suite/innodb/t/innodb.test6
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug13510739.test4
-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_parallel.result411
-rw-r--r--mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result122
-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_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_parallel.test677
-rw-r--r--mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates-slave.opt1
-rw-r--r--mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test199
-rw-r--r--mysql-test/suite/rpl/t/rpl_rotate_logs.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/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/date_formats.test2
-rw-r--r--mysql-test/t/derived.test29
-rw-r--r--mysql-test/t/derived_view.test112
-rw-r--r--mysql-test/t/func_time.test18
-rw-r--r--mysql-test/t/group_by.test40
-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/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/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.test56
-rw-r--r--mysql-test/t/subselect_sj.test1
-rw-r--r--mysql-test/t/subselect_sj_mat.test40
-rw-r--r--mysql-test/t/timezone2.test6
-rw-r--r--mysql-test/t/view.test45
-rw-r--r--mysys/CMakeLists.txt4
-rw-r--r--mysys/mf_iocache2.c4
-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.sql9
-rw-r--r--scripts/mysql_system_tables_fix.sql3
-rw-r--r--[-rwxr-xr-x]scripts/mytop.sh0
-rw-r--r--sql/ha_partition.cc25
-rw-r--r--sql/ha_partition.h3
-rw-r--r--sql/handler.cc22
-rw-r--r--sql/item.cc54
-rw-r--r--sql/item.h2
-rw-r--r--sql/item_func.cc12
-rw-r--r--sql/item_strfunc.cc11
-rw-r--r--sql/item_strfunc.h2
-rw-r--r--sql/item_sum.cc8
-rw-r--r--sql/item_timefunc.cc22
-rw-r--r--sql/log.cc166
-rw-r--r--sql/log.h2
-rw-r--r--sql/log_event.cc6
-rw-r--r--sql/mysqld.cc27
-rw-r--r--sql/mysqld.h3
-rw-r--r--sql/net_serv.cc4
-rw-r--r--sql/opt_range.cc19
-rw-r--r--sql/opt_subselect.cc2
-rw-r--r--sql/partition_info.cc6
-rw-r--r--sql/partition_info.h2
-rw-r--r--sql/records.cc3
-rw-r--r--sql/rpl_parallel.cc96
-rw-r--r--sql/rpl_rli.cc6
-rw-r--r--sql/set_var.cc6
-rw-r--r--sql/set_var.h3
-rw-r--r--sql/share/errmsg-utf8.txt50
-rw-r--r--sql/slave.cc23
-rw-r--r--sql/sql_admin.cc5
-rw-r--r--sql/sql_base.cc70
-rw-r--r--sql/sql_class.cc65
-rw-r--r--sql/sql_class.h37
-rw-r--r--sql/sql_derived.cc17
-rw-r--r--sql/sql_insert.cc12
-rw-r--r--sql/sql_lex.cc28
-rw-r--r--sql/sql_lex.h1
-rw-r--r--sql/sql_parse.cc9
-rw-r--r--sql/sql_partition.cc2
-rw-r--r--sql/sql_plugin.cc151
-rw-r--r--sql/sql_prepare.cc2
-rw-r--r--sql/sql_select.cc105
-rw-r--r--sql/sql_show.cc7
-rw-r--r--sql/sql_time.cc14
-rw-r--r--sql/sql_time.h1
-rw-r--r--sql/sql_union.cc5
-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.cc17
-rw-r--r--sql/tztime.cc192
-rw-r--r--storage/maria/ha_maria.cc14
-rw-r--r--storage/maria/ma_check.c1
-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/oqgraph/mysql-test/oqgraph/create_attr.result2
-rw-r--r--storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.result2
-rw-r--r--storage/sequence/mysql-test/sequence/suite.pm1
-rw-r--r--storage/test_sql_discovery/mysql-test/sql_discovery/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/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.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_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/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/xa-6.result1
-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/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/t/commit_5396.test18
-rw-r--r--storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test1
-rw-r--r--strings/CMakeLists.txt5
-rw-r--r--support-files/mysql.spec.sh5
-rw-r--r--vio/CMakeLists.txt5
-rw-r--r--zlib/CMakeLists.txt5
280 files changed, 13376 insertions, 761 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 47c92d27eb1..170d333fc37 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,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")
@@ -261,6 +336,11 @@ ENDIF()
# Run platform tests
INCLUDE(configure.cmake)
+# Find header files from the bundled libraries
+# (jemalloc, yassl, readline, pcre, etc)
+# before the ones installed in the system
+SET(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
+
# Common defines and includes
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/include)
diff --git a/client/mysql.cc b/client/mysql.cc
index 19383d9a382..e8634af6c2c 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));
@@ -1411,7 +1411,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
@@ -1675,8 +1676,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 5f9a06dc07f..ec49134a111 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);
}
@@ -874,14 +889,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. */
@@ -914,6 +926,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 */
}
@@ -982,7 +996,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 71bc37a4161..bd5d2eac4e5 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -1230,9 +1230,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 498f174f7cb..319be9111aa 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -1546,6 +1546,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 ab9cbfb14c9..ebc8f551888 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 a29f3f367bd..1c4a32d076a 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 60e42c305aa..af0d86b1ed5 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 58e679365de..d1ffb6a4876 100644
--- a/client/mysqlshow.c
+++ b/client/mysqlshow.c
@@ -286,6 +286,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 e4c118bf990..3ba5eb80a07 100644
--- a/client/mysqlslap.c
+++ b/client/mysqlslap.c
@@ -739,7 +739,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 4307293f6f1..73f583d46d3 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -7030,8 +7030,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 f2e474395dc..b1af0bbdf39 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -25,10 +25,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})
FOREACH(target ${targets})
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/configure.cmake b/configure.cmake
index 911cb38c454..7ec87f6e9a8 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -140,6 +140,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 bcade084b07..9a84b6d7caf 100644
--- a/debian/dist/Debian/control
+++ b/debian/dist/Debian/control
@@ -172,6 +172,7 @@ Depends: mariadb-server-10.0 (= ${source:Version}), mariadb-client-10.0 (= ${sou
Breaks: 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
diff --git a/debian/dist/Ubuntu/control b/debian/dist/Ubuntu/control
index d8b5abfb8a7..1abea8217d8 100644
--- a/debian/dist/Ubuntu/control
+++ b/debian/dist/Ubuntu/control
@@ -163,6 +163,7 @@ Package: mariadb-test-10.0
Section: database
Architecture: any
Depends: mariadb-server-10.0 (= ${source:Version}), mariadb-client-10.0 (= ${source:Version})
+Suggests: patch
Breaks: 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)
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 615261713b0..7ce692a96b0 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,21 +10,30 @@
@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
-@@ -31,8 +31,6 @@
- -- 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;
+@@ -26,16 +26,6 @@
+ -- a plain character
+ SELECT LOWER( REPLACE((SELECT REPLACE(@@hostname,'_','\_')),'%','\%') )INTO @current_hostname;
+
+-
+--- 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;
-INSERT INTO tmp_db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');
-INSERT INTO tmp_db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');
- INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
- DROP TABLE tmp_db;
-
-@@ -44,8 +42,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,'','','N','N' FROM dual WHERE LOWER( @current_hostname) != 'localhost';
+-INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
+-DROP TABLE tmp_db;
+-
+-
+ -- Fill "user" table with default users allowing root access
+ -- from local machine if "user" table didn't exist before
+ CREATE TEMPORARY TABLE tmp_user LIKE user;
+@@ -43,8 +33,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,'','','N','N' 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,'','','N','N');
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,'','','N','N');
-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/yassl/CMakeLists.txt b/extra/yassl/CMakeLists.txt
index 26ea7e23e33..cb81d05874c 100644
--- a/extra/yassl/CMakeLists.txt
+++ b/extra/yassl/CMakeLists.txt
@@ -33,4 +33,9 @@ SET(YASSL_SOURCES src/buffer.cpp src/cert_wrapper.cpp src/crypto_wrapper.cpp sr
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 b75d478037e..6e9b84c7398 100644
--- a/extra/yassl/taocrypt/CMakeLists.txt
+++ b/extra/yassl/taocrypt/CMakeLists.txt
@@ -32,3 +32,8 @@ SET(TAOCRYPT_SOURCES src/aes.cpp src/aestables.cpp src/algebra.cpp src/arc4.cpp
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 fcad2fc1a80..cc056bffa70 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -500,7 +500,8 @@ enum ha_base_keytype {
#define HA_ERR_ROW_NOT_VISIBLE 187
#define HA_ERR_ABORTED_BY_USER 188
#define HA_ERR_DISK_FULL 189
-#define HA_ERR_LAST 189 /* Copy of last error nr */
+#define HA_ERR_INCOMPATIBLE_DEFINITION 190
+#define HA_ERR_LAST 190 /* 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..a95cb79b3ac
--- /dev/null
+++ b/include/my_check_opt.h
@@ -0,0 +1,76 @@
+/* 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 << 34)
+#define T_CREATE_UNIQUE_BY_SORT (1ULL << 35)
+#define T_SUPPRESS_ERR_HANDLING (1ULL << 36)
+#define T_FORCE_SORT_MEMORY (1ULL << 37)
+
+#define T_REP_ANY (T_REP | T_REP_BY_SORT | T_REP_PARALLEL)
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/include/my_handler_errors.h b/include/my_handler_errors.h
index 17b4a73ff93..76b6b1aa60d 100644
--- a/include/my_handler_errors.h
+++ b/include/my_handler_errors.h
@@ -92,7 +92,8 @@ static const char *handler_error_messages[]=
"Row in wrong partition",
"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/include/myisam.h b/include/myisam.h
index 7952b091d93..218dd1877e8 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -29,7 +29,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
*/
@@ -312,7 +312,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 0a30615c629..7abbcea3302 100644
--- a/include/myisamchk.h
+++ b/include/myisamchk.h
@@ -27,48 +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 << 34)
-#define T_CREATE_UNIQUE_BY_SORT ((ulonglong) 1L << 35)
-#define T_SUPPRESS_ERR_HANDLING ((ulonglong) 1L << 36)
-#define T_FORCE_SORT_MEMORY ((ulonglong) 1L << 37)
-
-#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/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt
index 43b0c6187b9..3f2f2be1e35 100644
--- a/libmysql/CMakeLists.txt
+++ b/libmysql/CMakeLists.txt
@@ -353,8 +353,10 @@ SET(LIBS clientlib dbug strings vio mysys mysys_ssl ${ZLIB_LIBRARY} ${SSL_LIBRAR
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/mysql-test/CMakeLists.txt b/mysql-test/CMakeLists.txt
index 16eb2a6f166..227e490331f 100644
--- a/mysql-test/CMakeLists.txt
+++ b/mysql-test/CMakeLists.txt
@@ -74,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 cea8ac56931..a7ee54658f8 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
@@ -187,10 +187,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;
@@ -207,10 +206,15 @@ if (`SELECT HEX(@commands) = HEX('clean')`)
DROP TABLE IF EXISTS nt_error_2;
+ 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/mtr_check.sql b/mysql-test/include/mtr_check.sql
index de5567e91bd..31e89b84ae9 100644
--- a/mysql-test/include/mtr_check.sql
+++ b/mysql-test/include/mtr_check.sql
@@ -82,5 +82,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/r/alter_table_trans.result b/mysql-test/r/alter_table_trans.result
index 6e034e47e76..a2547708ada 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 Storage engine InnoDB of the table `test`.`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/derived.result b/mysql-test/r/derived.result
index 699d3279e3e..3a3b69f1fc7 100644
--- a/mysql-test/r/derived.result
+++ b/mysql-test/r/derived.result
@@ -479,6 +479,28 @@ SELECT * FROM
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 2b041448d3b..cbf5900d57c 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 PRIMARY <derived2> ALL NULL NULL NULL NULL 2 Using filesort
+1 PRIMARY 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_time.result b/mysql-test/r/func_time.result
index 5b8c09cb32e..0860c81d9e8 100644
--- a/mysql-test/r/func_time.result
+++ b/mysql-test/r/func_time.result
@@ -2375,6 +2375,40 @@ 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;
+#
# MDEV-4838 Wrong metadata for DATE_ADD('string', INVERVAL)
#
SELECT DATE_ADD('2011-01-02 12:13:14', INTERVAL 1 MINUTE);
diff --git a/mysql-test/r/group_by.result b/mysql-test/r/group_by.result
index eaeb2a32b29..dfe28f0e05a 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 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 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
@@ -2470,32 +2474,6 @@ 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;
-#
# Bug #58782
# Missing rows with SELECT .. WHERE .. IN subquery
# with full GROUP BY and no aggr
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 e4e7e44ce7c..9ef28e1ce54 100644
--- a/mysql-test/r/innodb_ext_key.result
+++ b/mysql-test/r/innodb_ext_key.result
@@ -991,6 +991,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 5e9e6d647f8..fb467494525 100644
--- a/mysql-test/r/innodb_icp.result
+++ b/mysql-test/r/innodb_icp.result
@@ -910,5 +910,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/myisam_optimize.result b/mysql-test/r/myisam_optimize.result
index 5c9dee9a9ca..ae0c5b59d06 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 fce61687c83..dda732937ee 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
TRUNCATE TABLE time_zone;
TRUNCATE TABLE time_zone_name;
TRUNCATE TABLE time_zone_transition;
@@ -11,12 +12,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 06efaf65f5e..cf4f54658b4 100644
--- a/mysql-test/r/mysql_upgrade.result
+++ b/mysql-test/r/mysql_upgrade.result
@@ -126,6 +126,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 421afbbf1ba..e5d6cbc0e31 100644
--- a/mysql-test/r/mysqld--help.result
+++ b/mysql-test/r/mysqld--help.result
@@ -468,8 +468,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
@@ -1164,6 +1168,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 a8e610a561a..a8e5cbb295c 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
@@ -2905,4 +2911,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 3a55055acce..0d3948dd313 100644
--- a/mysql-test/r/plugin_auth.result
+++ b/mysql-test/r/plugin_auth.result
@@ -300,7 +300,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/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 241c32b4b40..c5faa27085e 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 190 "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump an" from storage engine MyISAM
+check table t1;
+Table Op Msg_type Msg_text
+test.t1 check Error Got error 190 "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump an" from storage engine MyISAM
+test.t1 check error Corrupt
+repair table t1;
+Table Op Msg_type Msg_text
+test.t1 repair Error Got error 190 "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump an" from storage engine 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/show_explain.result b/mysql-test/r/show_explain.result
index 5d7057a0937..a4d12ce05ce 100644
--- a/mysql-test/r/show_explain.result
+++ b/mysql-test/r/show_explain.result
@@ -1035,7 +1035,7 @@ INSERT INTO t3 VALUES
explain
SELECT b AS field1, b AS field2 FROM t1, t2, t3 WHERE d = b ORDER BY field1, field2;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t2 system NULL NULL NULL NULL 1 Using filesort
+1 SIMPLE t2 system NULL NULL NULL NULL 1
1 SIMPLE t1 index b b 6 NULL 107 Using where; Using index
1 SIMPLE t3 ref PRIMARY PRIMARY 5 test.t1.b 1 Using index
set @show_explain_probe_select_id=1;
diff --git a/mysql-test/r/sp-bugs.result b/mysql-test/r/sp-bugs.result
index e34f8f9e63a..b45944a3795 100644
--- a/mysql-test/r/sp-bugs.result
+++ b/mysql-test/r/sp-bugs.result
@@ -229,3 +229,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_mat.result b/mysql-test/r/subselect_mat.result
index 22a5c3abd78..cd78d9f93fb 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_sj.result b/mysql-test/r/subselect_sj.result
index 873f8eb662e..b5263163cb1 100644
--- a/mysql-test/r/subselect_sj.result
+++ b/mysql-test/r/subselect_sj.result
@@ -2931,10 +2931,10 @@ 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
-4 NULL x
-3 c x
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
diff --git a/mysql-test/r/subselect_sj_jcl6.result b/mysql-test/r/subselect_sj_jcl6.result
index 16e30253ea9..60e309cdf4a 100644
--- a/mysql-test/r/subselect_sj_jcl6.result
+++ b/mysql-test/r/subselect_sj_jcl6.result
@@ -2945,10 +2945,10 @@ 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
-4 NULL x
-3 c x
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
diff --git a/mysql-test/r/subselect_sj_mat.result b/mysql-test/r/subselect_sj_mat.result
index a5629d33bfe..efe1bcfe066 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/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_time.result b/mysql-test/r/type_time.result
index bdbfba84994..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')))
#
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result
index a926f975009..19fc1bda402 100644
--- a/mysql-test/r/view.result
+++ b/mysql-test/r/view.result
@@ -4950,6 +4950,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/federated/federated_archive.result b/mysql-test/suite/federated/federated_archive.result
index c2f43458126..6ff1da69725 100644
--- a/mysql-test/suite/federated/federated_archive.result
+++ b/mysql-test/suite/federated/federated_archive.result
@@ -20,13 +20,13 @@ id name
1 foo
2 bar
DELETE FROM federated.t1 WHERE id = 1;
-ERROR HY000: Got error 10000 'Error on remote system: 1031: Storage engine ARCHIVE of the table `federated`.`archive_table` doesn'' from FEDERATED
+ERROR HY000: Got error 10000 'Error on remote system: 1031: Storage engine ARCHIVE of the table `federated`.`archive_table` doesn't have this option' from FEDERATED
SELECT * FROM federated.t1;
id name
1 foo
2 bar
UPDATE federated.t1 SET name='baz' WHERE id = 1;
-ERROR HY000: Got error 10000 'Error on remote system: 1031: Storage engine ARCHIVE of the table `federated`.`archive_table` doesn'' from FEDERATED
+ERROR HY000: Got error 10000 'Error on remote system: 1031: Storage engine ARCHIVE of the table `federated`.`archive_table` doesn't have this option' from FEDERATED
SELECT * FROM federated.t1;
id name
1 foo
diff --git a/mysql-test/suite/handler/innodb.result b/mysql-test/suite/handler/innodb.result
index eb054136b8d..78660b0ef9c 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/handler/innodb.test b/mysql-test/suite/handler/innodb.test
index 6527c4bb8bb..d752da7dc31 100644
--- a/mysql-test/suite/handler/innodb.test
+++ b/mysql-test/suite/handler/innodb.test
@@ -9,6 +9,11 @@
# rename t/innodb_handler.test to t/handler_innodb.test
#
+if (`select plugin_auth_version < "5.6.15" from information_schema.plugins where plugin_name='innodb'`)
+{
+ --skip Not fixed in InnoDB before 5.6.15
+}
+
--source include/have_innodb.inc
let $engine_type= InnoDB;
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-autoinc-44030.test b/mysql-test/suite/innodb/t/innodb-autoinc-44030.test
index c3754b47ba5..256e7d838ea 100644
--- a/mysql-test/suite/innodb/t/innodb-autoinc-44030.test
+++ b/mysql-test/suite/innodb/t/innodb-autoinc-44030.test
@@ -2,11 +2,6 @@
# embedded server does not support restarting
-- source include/not_embedded.inc
-if (`select plugin_auth_version <= "5.6.10" from information_schema.plugins where plugin_name='innodb'`)
-{
- --skip Not fixed in InnoDB 5.6.10 or earlier
-}
-
#
# 44030: Error: (1500) Couldn't read the MAX(ID) autoinc value from
# the index (PRIMARY)
diff --git a/mysql-test/suite/innodb/t/innodb-index.test b/mysql-test/suite/innodb/t/innodb-index.test
index 01592ae9bb8..8598647de66 100644
--- a/mysql-test/suite/innodb/t/innodb-index.test
+++ b/mysql-test/suite/innodb/t/innodb-index.test
@@ -1,10 +1,5 @@
-- source include/have_innodb.inc
-if (`select plugin_auth_version <= "5.6.10" from information_schema.plugins where plugin_name='innodb'`)
-{
- --skip Not fixed in InnoDB 5.6.10 or earlier
-}
-
let $innodb_file_format_orig=`select @@innodb_file_format`;
let $innodb_file_format_max_orig=`select @@innodb_file_format_max`;
diff --git a/mysql-test/suite/innodb/t/innodb.test b/mysql-test/suite/innodb/t/innodb.test
index 157e2480740..f687f089d78 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/innodb/t/innodb_bug13510739.test b/mysql-test/suite/innodb/t/innodb_bug13510739.test
index f10bcd8e272..d2193996d68 100644
--- a/mysql-test/suite/innodb/t/innodb_bug13510739.test
+++ b/mysql-test/suite/innodb/t/innodb_bug13510739.test
@@ -2,6 +2,10 @@
# Bug#13510739 63775: SERVER CRASH ON HANDLER READ NEXT AFTER DELETE RECORD.
#
+if (`select plugin_auth_version < "5.6.15" from information_schema.plugins where plugin_name='innodb'`)
+{
+ --skip Not fixed in InnoDB before 5.6.15
+}
-- source include/have_innodb.inc
CREATE TABLE bug13510739 (c INTEGER NOT NULL, PRIMARY KEY (c)) ENGINE=INNODB;
diff --git a/mysql-test/suite/maria/alter.result b/mysql-test/suite/maria/alter.result
new file mode 100644
index 00000000000..1a7daf5a1ee
--- /dev/null
+++ b/mysql-test/suite/maria/alter.result
@@ -0,0 +1,33 @@
+drop table if exists t1;
+Warnings:
+Note 1051 Unknown table 'test.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 3b20282adff..257c16845dd 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
@@ -21,4 +21,7 @@ master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TEMPORARY TABLE IF NOT EXISTS tmp1 LIKE tmp
master-bin.000001 # Gtid # # GTID #-#-#
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 c0c7bac1175..337a35a7a92 100644
--- a/mysql-test/suite/rpl/r/rpl_mdev359.result
+++ b/mysql-test/suite/rpl/r/rpl_mdev359.result
@@ -8,4 +8,5 @@ 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";
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 6c419031f1f..da807748cee 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
@@ -2126,8 +2126,14 @@ DROP TABLE IF EXISTS tt_error_1;
DROP TABLE IF EXISTS nt_error_1;
DROP TABLE IF EXISTS tt_error_2;
DROP TABLE IF EXISTS nt_error_2;
+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_parallel.result b/mysql-test/suite/rpl/r/rpl_parallel.result
index b7fca7ea442..007b167bdd7 100644
--- a/mysql-test/suite/rpl/r/rpl_parallel.result
+++ b/mysql-test/suite/rpl/r/rpl_parallel.result
@@ -7,6 +7,7 @@ SET GLOBAL slave_parallel_threads=10;
CHANGE MASTER TO master_use_gtid=slave_pos;
include/start_slave.inc
*** Test long-running query in domain 1 can run in parallel with short queries in domain 0 ***
+ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
CREATE TABLE t1 (a int PRIMARY KEY) ENGINE=MyISAM;
CREATE TABLE t2 (a int PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
@@ -259,6 +260,416 @@ SET GLOBAL binlog_format=@old_format;
SET GLOBAL slave_parallel_threads=0;
SET GLOBAL slave_parallel_threads=10;
include/start_slave.inc
+*** Test killing slave threads at various wait points ***
+*** 1. Test killing transaction waiting in commit for previous transaction to commit ***
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (31, foo(31,
+'commit_before_prepare_ordered WAIT_FOR t2_waiting',
+'commit_after_prepare_ordered SIGNAL t1_ready WAIT_FOR t1_cont'));
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+INSERT INTO t3 VALUES (32, foo(32,
+'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+''));
+INSERT INTO t3 VALUES (33, foo(33,
+'group_commit_waiting_for_prior SIGNAL t2_waiting',
+'group_commit_waiting_for_prior_killed SIGNAL t2_killed'));
+COMMIT;
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (34, foo(34,
+'',
+''));
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+a b
+31 31
+32 32
+33 33
+34 34
+SET sql_log_bin=0;
+CALL mtr.add_suppression("Query execution was interrupted");
+CALL mtr.add_suppression("Commit failed due to failure of an earlier commit on which this one depends");
+CALL mtr.add_suppression("Slave: Connection was killed");
+SET sql_log_bin=1;
+SET debug_sync='now WAIT_FOR t2_query';
+SET debug_sync='now SIGNAL t2_cont';
+SET debug_sync='now WAIT_FOR t1_ready';
+KILL THD_ID;
+SET debug_sync='now WAIT_FOR t2_killed';
+SET debug_sync='now SIGNAL t1_cont';
+include/wait_for_slave_sql_error.inc [errno=1317,1963]
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+a b
+31 31
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+INSERT INTO t3 VALUES (39,0);
+include/start_slave.inc
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+a b
+31 31
+32 32
+33 33
+34 34
+39 0
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+IF d1 != '' THEN
+SET debug_sync = d1;
+END IF;
+IF d2 != '' THEN
+SET debug_sync = d2;
+END IF;
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+include/start_slave.inc
+*** 2. Same as (1), but without restarting IO thread after kill of SQL threads ***
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (41, foo(41,
+'commit_before_prepare_ordered WAIT_FOR t2_waiting',
+'commit_after_prepare_ordered SIGNAL t1_ready WAIT_FOR t1_cont'));
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+INSERT INTO t3 VALUES (42, foo(42,
+'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+''));
+INSERT INTO t3 VALUES (43, foo(43,
+'group_commit_waiting_for_prior SIGNAL t2_waiting',
+'group_commit_waiting_for_prior_killed SIGNAL t2_killed'));
+COMMIT;
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (44, foo(44,
+'',
+''));
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+a b
+41 41
+42 42
+43 43
+44 44
+SET debug_sync='now WAIT_FOR t2_query';
+SET debug_sync='now SIGNAL t2_cont';
+SET debug_sync='now WAIT_FOR t1_ready';
+KILL THD_ID;
+SET debug_sync='now WAIT_FOR t2_killed';
+SET debug_sync='now SIGNAL t1_cont';
+include/wait_for_slave_sql_error.inc [errno=1317,1963]
+SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+a b
+41 41
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+INSERT INTO t3 VALUES (49,0);
+START SLAVE SQL_THREAD;
+SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+a b
+41 41
+42 42
+43 43
+44 44
+49 0
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+IF d1 != '' THEN
+SET debug_sync = d1;
+END IF;
+IF d2 != '' THEN
+SET debug_sync = d2;
+END IF;
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+include/start_slave.inc
+*** 3. Same as (2), but not using gtid mode ***
+include/stop_slave.inc
+CHANGE MASTER TO master_use_gtid=no;
+include/start_slave.inc
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (51, foo(51,
+'commit_before_prepare_ordered WAIT_FOR t2_waiting',
+'commit_after_prepare_ordered SIGNAL t1_ready WAIT_FOR t1_cont'));
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+INSERT INTO t3 VALUES (52, foo(52,
+'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+''));
+INSERT INTO t3 VALUES (53, foo(53,
+'group_commit_waiting_for_prior SIGNAL t2_waiting',
+'group_commit_waiting_for_prior_killed SIGNAL t2_killed'));
+COMMIT;
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (54, foo(54,
+'',
+''));
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+a b
+51 51
+52 52
+53 53
+54 54
+SET debug_sync='now WAIT_FOR t2_query';
+SET debug_sync='now SIGNAL t2_cont';
+SET debug_sync='now WAIT_FOR t1_ready';
+KILL THD_ID;
+SET debug_sync='now WAIT_FOR t2_killed';
+SET debug_sync='now SIGNAL t1_cont';
+include/wait_for_slave_sql_error.inc [errno=1317,1963]
+SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+a b
+51 51
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+INSERT INTO t3 VALUES (59,0);
+START SLAVE SQL_THREAD;
+SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+a b
+51 51
+52 52
+53 53
+54 54
+59 0
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+IF d1 != '' THEN
+SET debug_sync = d1;
+END IF;
+IF d2 != '' THEN
+SET debug_sync = d2;
+END IF;
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+include/stop_slave.inc
+CHANGE MASTER TO master_use_gtid=slave_pos;
+include/start_slave.inc
+include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=3;
+include/start_slave.inc
+*** 4. Test killing thread that is waiting to start transaction until previous transaction commits ***
+SET binlog_format=statement;
+SET gtid_domain_id=2;
+INSERT INTO t3 VALUES (60, foo(60,
+'ha_write_row_end SIGNAL d2_query WAIT_FOR d2_cont2',
+'rpl_parallel_end_of_group SIGNAL d2_done WAIT_FOR d2_cont'));
+SET gtid_domain_id=0;
+SET debug_sync='now WAIT_FOR d2_query';
+SET gtid_domain_id=1;
+BEGIN;
+INSERT INTO t3 VALUES (61, foo(61,
+'rpl_parallel_start_waiting_for_prior SIGNAL t3_waiting',
+'rpl_parallel_start_waiting_for_prior_killed SIGNAL t3_killed'));
+INSERT INTO t3 VALUES (62, foo(62,
+'ha_write_row_end SIGNAL d1_query WAIT_FOR d1_cont2',
+'rpl_parallel_end_of_group SIGNAL d1_done WAIT_FOR d1_cont'));
+COMMIT;
+SET gtid_domain_id=0;
+SET debug_sync='now WAIT_FOR d1_query';
+SET gtid_domain_id=0;
+INSERT INTO t3 VALUES (63, foo(63,
+'ha_write_row_end SIGNAL d0_query WAIT_FOR d0_cont2',
+'rpl_parallel_end_of_group SIGNAL d0_done WAIT_FOR d0_cont'));
+SET debug_sync='now WAIT_FOR d0_query';
+SET debug_sync='now SIGNAL d2_cont2';
+SET debug_sync='now WAIT_FOR d2_done';
+SET debug_sync='now SIGNAL d1_cont2';
+SET debug_sync='now WAIT_FOR d1_done';
+SET debug_sync='now SIGNAL d0_cont2';
+SET debug_sync='now WAIT_FOR d0_done';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (64, foo(64,
+'commit_before_prepare_ordered SIGNAL t1_waiting WAIT_FOR t1_cont', ''));
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2 WAIT_FOR master_cont2';
+INSERT INTO t3 VALUES (65, foo(65, '', ''));
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+INSERT INTO t3 VALUES (66, foo(66, '', ''));
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued4';
+INSERT INTO t3 VALUES (67, foo(67, '', ''));
+SET debug_sync='now WAIT_FOR master_queued4';
+SET debug_sync='now SIGNAL master_cont2';
+SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+a b
+60 60
+61 61
+62 62
+63 63
+64 64
+65 65
+66 66
+67 67
+SET debug_sync='now SIGNAL d0_cont';
+SET debug_sync='now WAIT_FOR t1_waiting';
+SET debug_sync='now SIGNAL d1_cont';
+SET debug_sync='now WAIT_FOR t3_waiting';
+SET debug_sync='now SIGNAL d2_cont';
+KILL THD_ID;
+SET debug_sync='now WAIT_FOR t3_killed';
+SET debug_sync='now SIGNAL t1_cont';
+include/wait_for_slave_sql_error.inc [errno=1317,1927,1963]
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+a b
+60 60
+61 61
+62 62
+63 63
+64 64
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+INSERT INTO t3 VALUES (69,0);
+include/start_slave.inc
+SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+a b
+60 60
+61 61
+62 62
+63 63
+64 64
+65 65
+66 66
+67 67
+69 0
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+IF d1 != '' THEN
+SET debug_sync = d1;
+END IF;
+IF d2 != '' THEN
+SET debug_sync = d2;
+END IF;
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+include/start_slave.inc
+*** 5. Test killing thread that is waiting for queue of max length to shorten ***
+SET @old_max_queued= @@GLOBAL.slave_parallel_max_queued;
+SET GLOBAL slave_parallel_max_queued=9000;
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (70, foo(0,
+'ha_write_row_end SIGNAL query_waiting WAIT_FOR query_cont', ''));
+SET debug_sync='now WAIT_FOR query_waiting';
+SET @old_dbug= @@GLOBAL.debug_dbug;
+SET GLOBAL debug_dbug="+d,rpl_parallel_wait_queue_max";
+INSERT INTO t3 VALUES (72, 0);
+SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+a b
+70 0
+71 10000
+72 0
+SET debug_sync='now WAIT_FOR wait_queue_ready';
+KILL THD_ID;
+SET debug_sync='now WAIT_FOR wait_queue_killed';
+SET debug_sync='now SIGNAL query_cont';
+include/wait_for_slave_sql_error.inc [errno=1317,1927,1963]
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+a b
+70 0
+71 10000
+SET GLOBAL debug_dbug=@old_dbug;
+SET GLOBAL slave_parallel_max_queued= @old_max_queued;
+INSERT INTO t3 VALUES (73,0);
+include/start_slave.inc
+SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+a b
+70 0
+71 10000
+72 0
+73 0
+include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+include/start_slave.inc
include/stop_slave.inc
SET GLOBAL slave_parallel_threads=@old_parallel_threads;
include/start_slave.inc
diff --git a/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result b/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result
new file mode 100644
index 00000000000..067d92a962f
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_parallel_no_log_slave_updates.result
@@ -0,0 +1,122 @@
+include/rpl_init.inc [topology=1->2]
+*** Test killing transaction waiting in commit for previous transaction to commit, when not using 2-phase commit ***
+SET @old_parallel_threads=@@GLOBAL.slave_parallel_threads;
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=10;
+CHANGE MASTER TO master_use_gtid=slave_pos;
+include/start_slave.inc
+ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
+SET sql_log_bin=0;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+CREATE TABLE t3 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
+SET sql_log_bin=0;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+IF d1 != '' THEN
+SET debug_sync = d1;
+END IF;
+IF d2 != '' THEN
+SET debug_sync = d2;
+END IF;
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (31, foo(31,
+'ha_commit_one_phase WAIT_FOR t2_waiting',
+'commit_one_phase_2 SIGNAL t1_ready WAIT_FOR t1_cont'));
+SET debug_sync='now WAIT_FOR master_queued1';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+INSERT INTO t3 VALUES (32, foo(32,
+'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+''));
+INSERT INTO t3 VALUES (33, foo(33,
+'wait_for_prior_commit_waiting SIGNAL t2_waiting',
+'wait_for_prior_commit_killed SIGNAL t2_killed'));
+COMMIT;
+SET debug_sync='now WAIT_FOR master_queued2';
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (34, foo(34,
+'',
+''));
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+a b
+31 31
+32 32
+33 33
+34 34
+SET sql_log_bin=0;
+CALL mtr.add_suppression("Query execution was interrupted");
+CALL mtr.add_suppression("Commit failed due to failure of an earlier commit on which this one depends");
+CALL mtr.add_suppression("Slave: Connection was killed");
+SET sql_log_bin=1;
+SET debug_sync='now WAIT_FOR t2_query';
+SET debug_sync='now SIGNAL t2_cont';
+SET debug_sync='now WAIT_FOR t1_ready';
+KILL THD_ID;
+SET debug_sync='now WAIT_FOR t2_killed';
+SET debug_sync='now SIGNAL t1_cont';
+include/wait_for_slave_sql_error.inc [errno=1317,1927,1963]
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+a b
+31 31
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+INSERT INTO t3 VALUES (39,0);
+include/start_slave.inc
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+a b
+31 31
+32 32
+33 33
+34 34
+39 0
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+RETURNS INT DETERMINISTIC
+BEGIN
+IF d1 != '' THEN
+SET debug_sync = d1;
+END IF;
+IF d2 != '' THEN
+SET debug_sync = d2;
+END IF;
+RETURN x;
+END
+||
+SET sql_log_bin=1;
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+include/start_slave.inc
+include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=@old_parallel_threads;
+include/start_slave.inc
+DROP function foo;
+DROP TABLE t3;
+include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/r/rpl_rotate_logs.result b/mysql-test/suite/rpl/r/rpl_rotate_logs.result
index ecf6f5109f7..f2dbfa3cba4 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(*)
103
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 9c8088b4657..280955c66ef 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
@@ -2211,8 +2211,14 @@ DROP TABLE IF EXISTS tt_error_1;
DROP TABLE IF EXISTS nt_error_1;
DROP TABLE IF EXISTS tt_error_2;
DROP TABLE IF EXISTS nt_error_2;
+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_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 7d3984bb383..9dc86c0bfa7 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
@@ -2220,8 +2220,14 @@ DROP TABLE IF EXISTS tt_error_1;
DROP TABLE IF EXISTS nt_error_1;
DROP TABLE IF EXISTS tt_error_2;
DROP TABLE IF EXISTS nt_error_2;
+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 96c7ac859d9..3026c6d363e 100644
--- a/mysql-test/suite/rpl/t/rpl_mdev359.test
+++ b/mysql-test/suite/rpl/t/rpl_mdev359.test
@@ -27,5 +27,6 @@ SET DEBUG_SYNC= "now SIGNAL m1_cont";
connection master;
DROP TABLE t1;
+SET DEBUG_SYNC= "RESET";
--source include/rpl_end.inc
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_parallel.test b/mysql-test/suite/rpl/t/rpl_parallel.test
index 5709cab19c0..a0232ac71e0 100644
--- a/mysql-test/suite/rpl/t/rpl_parallel.test
+++ b/mysql-test/suite/rpl/t/rpl_parallel.test
@@ -19,6 +19,7 @@ CHANGE MASTER TO master_use_gtid=slave_pos;
--echo *** Test long-running query in domain 1 can run in parallel with short queries in domain 0 ***
--connection server_1
+ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
CREATE TABLE t1 (a int PRIMARY KEY) ENGINE=MyISAM;
CREATE TABLE t2 (a int PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
@@ -334,6 +335,682 @@ SELECT * FROM t3 WHERE a >= 20 ORDER BY a;
--connection server_2
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+--source include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+--source include/start_slave.inc
+
+
+--echo *** Test killing slave threads at various wait points ***
+--echo *** 1. Test killing transaction waiting in commit for previous transaction to commit ***
+
+# Set up three transactions on the master that will be group-committed
+# together so they can be replicated in parallel on the slave.
+--connection con_temp3
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (31, foo(31,
+ 'commit_before_prepare_ordered WAIT_FOR t2_waiting',
+ 'commit_after_prepare_ordered SIGNAL t1_ready WAIT_FOR t1_cont'));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connection con_temp4
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+# This insert is just so we can get T2 to wait while a query is running that we
+# can see in SHOW PROCESSLIST so we can get its thread_id to kill later.
+INSERT INTO t3 VALUES (32, foo(32,
+ 'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+ ''));
+# This insert sets up debug_sync points so that T2 will tell when it is at its
+# wait point where we want to kill it - and when it has been killed.
+INSERT INTO t3 VALUES (33, foo(33,
+ 'group_commit_waiting_for_prior SIGNAL t2_waiting',
+ 'group_commit_waiting_for_prior_killed SIGNAL t2_killed'));
+send COMMIT;
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+
+--connection con_temp5
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (34, foo(34,
+ '',
+ ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con_temp3
+REAP;
+--connection con_temp4
+REAP;
+--connection con_temp5
+REAP;
+
+--connection server_1
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+
+--connection server_2
+SET sql_log_bin=0;
+CALL mtr.add_suppression("Query execution was interrupted");
+CALL mtr.add_suppression("Commit failed due to failure of an earlier commit on which this one depends");
+CALL mtr.add_suppression("Slave: Connection was killed");
+SET sql_log_bin=1;
+# Wait until T2 is inside executing its insert of 32, then find it in SHOW
+# PROCESSLIST to know its thread id for KILL later.
+SET debug_sync='now WAIT_FOR t2_query';
+--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(32%' AND INFO NOT LIKE '%LIKE%'`
+SET debug_sync='now SIGNAL t2_cont';
+
+# Wait until T2 has entered its wait for T1 to commit, and T1 has
+# progressed into its commit phase.
+SET debug_sync='now WAIT_FOR t1_ready';
+
+# Now kill the transaction T2.
+--replace_result $thd_id THD_ID
+eval KILL $thd_id;
+
+# Wait until T2 has reacted on the kill.
+SET debug_sync='now WAIT_FOR t2_killed';
+
+# Now we can allow T1 to proceed.
+SET debug_sync='now SIGNAL t1_cont';
+
+--let $slave_sql_errno= 1317,1963
+--source include/wait_for_slave_sql_error.inc
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+
+# Now we have to disable the debug_sync statements, so they do not trigger
+# when the events are retried.
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+--connection server_1
+INSERT INTO t3 VALUES (39,0);
+--save_master_pos
+
+--connection server_2
+--source include/start_slave.inc
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+# Restore the foo() function.
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ IF d1 != '' THEN
+ SET debug_sync = d1;
+ END IF;
+ IF d2 != '' THEN
+ SET debug_sync = d2;
+ END IF;
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+
+--connection server_2
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+--source include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+--source include/start_slave.inc
+
+
+--echo *** 2. Same as (1), but without restarting IO thread after kill of SQL threads ***
+
+# Set up three transactions on the master that will be group-committed
+# together so they can be replicated in parallel on the slave.
+--connection con_temp3
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (41, foo(41,
+ 'commit_before_prepare_ordered WAIT_FOR t2_waiting',
+ 'commit_after_prepare_ordered SIGNAL t1_ready WAIT_FOR t1_cont'));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connection con_temp4
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+# This insert is just so we can get T2 to wait while a query is running that we
+# can see in SHOW PROCESSLIST so we can get its thread_id to kill later.
+INSERT INTO t3 VALUES (42, foo(42,
+ 'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+ ''));
+# This insert sets up debug_sync points so that T2 will tell when it is at its
+# wait point where we want to kill it - and when it has been killed.
+INSERT INTO t3 VALUES (43, foo(43,
+ 'group_commit_waiting_for_prior SIGNAL t2_waiting',
+ 'group_commit_waiting_for_prior_killed SIGNAL t2_killed'));
+send COMMIT;
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+
+--connection con_temp5
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (44, foo(44,
+ '',
+ ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con_temp3
+REAP;
+--connection con_temp4
+REAP;
+--connection con_temp5
+REAP;
+
+--connection server_1
+SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+
+--connection server_2
+# Wait until T2 is inside executing its insert of 42, then find it in SHOW
+# PROCESSLIST to know its thread id for KILL later.
+SET debug_sync='now WAIT_FOR t2_query';
+--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(42%' AND INFO NOT LIKE '%LIKE%'`
+SET debug_sync='now SIGNAL t2_cont';
+
+# Wait until T2 has entered its wait for T1 to commit, and T1 has
+# progressed into its commit phase.
+SET debug_sync='now WAIT_FOR t1_ready';
+
+# Now kill the transaction T2.
+--replace_result $thd_id THD_ID
+eval KILL $thd_id;
+
+# Wait until T2 has reacted on the kill.
+SET debug_sync='now WAIT_FOR t2_killed';
+
+# Now we can allow T1 to proceed.
+SET debug_sync='now SIGNAL t1_cont';
+
+--let $slave_sql_errno= 1317,1963
+--source include/wait_for_slave_sql_error.inc
+SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+
+# Now we have to disable the debug_sync statements, so they do not trigger
+# when the events are retried.
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+--connection server_1
+INSERT INTO t3 VALUES (49,0);
+--save_master_pos
+
+--connection server_2
+START SLAVE SQL_THREAD;
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 40 ORDER BY a;
+# Restore the foo() function.
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ IF d1 != '' THEN
+ SET debug_sync = d1;
+ END IF;
+ IF d2 != '' THEN
+ SET debug_sync = d2;
+ END IF;
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+
+--connection server_2
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+--source include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+--source include/start_slave.inc
+
+
+--echo *** 3. Same as (2), but not using gtid mode ***
+
+--connection server_2
+--source include/stop_slave.inc
+CHANGE MASTER TO master_use_gtid=no;
+--source include/start_slave.inc
+
+--connection server_1
+# Set up three transactions on the master that will be group-committed
+# together so they can be replicated in parallel on the slave.
+--connection con_temp3
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (51, foo(51,
+ 'commit_before_prepare_ordered WAIT_FOR t2_waiting',
+ 'commit_after_prepare_ordered SIGNAL t1_ready WAIT_FOR t1_cont'));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connection con_temp4
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+# This insert is just so we can get T2 to wait while a query is running that we
+# can see in SHOW PROCESSLIST so we can get its thread_id to kill later.
+INSERT INTO t3 VALUES (52, foo(52,
+ 'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+ ''));
+# This insert sets up debug_sync points so that T2 will tell when it is at its
+# wait point where we want to kill it - and when it has been killed.
+INSERT INTO t3 VALUES (53, foo(53,
+ 'group_commit_waiting_for_prior SIGNAL t2_waiting',
+ 'group_commit_waiting_for_prior_killed SIGNAL t2_killed'));
+send COMMIT;
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+
+--connection con_temp5
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (54, foo(54,
+ '',
+ ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con_temp3
+REAP;
+--connection con_temp4
+REAP;
+--connection con_temp5
+REAP;
+
+--connection server_1
+SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+
+--connection server_2
+# Wait until T2 is inside executing its insert of 52, then find it in SHOW
+# PROCESSLIST to know its thread id for KILL later.
+SET debug_sync='now WAIT_FOR t2_query';
+--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(52%' AND INFO NOT LIKE '%LIKE%'`
+SET debug_sync='now SIGNAL t2_cont';
+
+# Wait until T2 has entered its wait for T1 to commit, and T1 has
+# progressed into its commit phase.
+SET debug_sync='now WAIT_FOR t1_ready';
+
+# Now kill the transaction T2.
+--replace_result $thd_id THD_ID
+eval KILL $thd_id;
+
+# Wait until T2 has reacted on the kill.
+SET debug_sync='now WAIT_FOR t2_killed';
+
+# Now we can allow T1 to proceed.
+SET debug_sync='now SIGNAL t1_cont';
+
+--let $slave_sql_errno= 1317,1963
+--source include/wait_for_slave_sql_error.inc
+SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+
+# Now we have to disable the debug_sync statements, so they do not trigger
+# when the events are retried.
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+--connection server_1
+INSERT INTO t3 VALUES (59,0);
+--save_master_pos
+
+--connection server_2
+START SLAVE SQL_THREAD;
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 50 ORDER BY a;
+# Restore the foo() function.
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ IF d1 != '' THEN
+ SET debug_sync = d1;
+ END IF;
+ IF d2 != '' THEN
+ SET debug_sync = d2;
+ END IF;
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+
+--source include/stop_slave.inc
+CHANGE MASTER TO master_use_gtid=slave_pos;
+--source include/start_slave.inc
+
+--connection server_2
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+--source include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=3;
+--source include/start_slave.inc
+
+
+--echo *** 4. Test killing thread that is waiting to start transaction until previous transaction commits ***
+
+# We set up four transactions T1, T2, T3, and T4 on the master. T2, T3, and T4
+# can run in parallel with each other (same group commit and commit id),
+# but not in parallel with T1.
+#
+# We use three worker threads. T1 and T2 will be queued on the first, T3 on
+# the second, and T4 on the third. We will delay T1 commit, T3 will wait for
+# T1 to commit before it can start. We will kill T3 during this wait, and
+# check that everything works correctly.
+#
+# It is rather tricky to get the correct thread id of the worker to kill.
+# We start by injecting three dummy transactions in a debug_sync-controlled
+# manner to be able to get known thread ids for the workers in a pool with
+# just 3 worker threads. Then we let in each of the real test transactions
+# T1-T4 one at a time in a way which allows us to know which transaction
+# ends up with which thread id.
+
+--connection server_1
+SET binlog_format=statement;
+SET gtid_domain_id=2;
+INSERT INTO t3 VALUES (60, foo(60,
+ 'ha_write_row_end SIGNAL d2_query WAIT_FOR d2_cont2',
+ 'rpl_parallel_end_of_group SIGNAL d2_done WAIT_FOR d2_cont'));
+SET gtid_domain_id=0;
+
+--connection server_2
+SET debug_sync='now WAIT_FOR d2_query';
+--let $d2_thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(60%' AND INFO NOT LIKE '%LIKE%'`
+
+--connection server_1
+SET gtid_domain_id=1;
+BEGIN;
+# These debug_sync's will linger on and be used to control T3 later.
+INSERT INTO t3 VALUES (61, foo(61,
+ 'rpl_parallel_start_waiting_for_prior SIGNAL t3_waiting',
+ 'rpl_parallel_start_waiting_for_prior_killed SIGNAL t3_killed'));
+INSERT INTO t3 VALUES (62, foo(62,
+ 'ha_write_row_end SIGNAL d1_query WAIT_FOR d1_cont2',
+ 'rpl_parallel_end_of_group SIGNAL d1_done WAIT_FOR d1_cont'));
+COMMIT;
+SET gtid_domain_id=0;
+
+--connection server_2
+SET debug_sync='now WAIT_FOR d1_query';
+--let $d1_thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(62%' AND INFO NOT LIKE '%LIKE%'`
+
+--connection server_1
+SET gtid_domain_id=0;
+INSERT INTO t3 VALUES (63, foo(63,
+ 'ha_write_row_end SIGNAL d0_query WAIT_FOR d0_cont2',
+ 'rpl_parallel_end_of_group SIGNAL d0_done WAIT_FOR d0_cont'));
+
+--connection server_2
+SET debug_sync='now WAIT_FOR d0_query';
+--let $d0_thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(63%' AND INFO NOT LIKE '%LIKE%'`
+
+SET debug_sync='now SIGNAL d2_cont2';
+SET debug_sync='now WAIT_FOR d2_done';
+SET debug_sync='now SIGNAL d1_cont2';
+SET debug_sync='now WAIT_FOR d1_done';
+SET debug_sync='now SIGNAL d0_cont2';
+SET debug_sync='now WAIT_FOR d0_done';
+
+# Now prepare the real transactions T1, T2, T3, T4 on the master.
+
+--connection con_temp3
+# Create transaction T1.
+SET binlog_format=statement;
+INSERT INTO t3 VALUES (64, foo(64,
+ 'commit_before_prepare_ordered SIGNAL t1_waiting WAIT_FOR t1_cont', ''));
+
+# Create transaction T2, as a group commit leader on the master.
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2 WAIT_FOR master_cont2';
+send INSERT INTO t3 VALUES (65, foo(65, '', ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+
+--connection con_temp4
+# Create transaction T3, participating in T2's group commit.
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+send INSERT INTO t3 VALUES (66, foo(66, '', ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued3';
+
+--connection con_temp5
+# Create transaction T4, participating in group commit with T2 and T3.
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued4';
+send INSERT INTO t3 VALUES (67, foo(67, '', ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued4';
+SET debug_sync='now SIGNAL master_cont2';
+
+--connection con_temp3
+REAP;
+--connection con_temp4
+REAP;
+--connection con_temp5
+REAP;
+
+--connection server_1
+SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+
+--connection server_2
+# Now we have the four transactions pending for replication on the slave.
+# Let them be queued for our three worker threads in a controlled fashion.
+# We put them at a stage where T1 is delayed and T3 is waiting for T1 to
+# commit before T3 can start. Then we kill T3.
+
+# Make the worker D0 free, and wait for T1 to be queued in it.
+SET debug_sync='now SIGNAL d0_cont';
+SET debug_sync='now WAIT_FOR t1_waiting';
+
+# T2 will be queued on the same worker D0 as T1.
+# Now release worker D1, and wait for T3 to be queued in it.
+# T3 will wait for T1 to commit before it can start.
+SET debug_sync='now SIGNAL d1_cont';
+SET debug_sync='now WAIT_FOR t3_waiting';
+
+# Release worker D2. T4 may or may not have time to be queued on it, but
+# it will not be able to complete due to T3 being killed.
+SET debug_sync='now SIGNAL d2_cont';
+
+# Now we kill the waiting transaction T3 in worker D1.
+--replace_result $d1_thd_id THD_ID
+eval KILL $d1_thd_id;
+
+# Wait until T3 has reacted on the kill.
+SET debug_sync='now WAIT_FOR t3_killed';
+
+# Now we can allow T1 to proceed.
+SET debug_sync='now SIGNAL t1_cont';
+
+--let $slave_sql_errno= 1317,1927,1963
+--source include/wait_for_slave_sql_error.inc
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+
+# Now we have to disable the debug_sync statements, so they do not trigger
+# when the events are retried.
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+--connection server_1
+INSERT INTO t3 VALUES (69,0);
+--save_master_pos
+
+--connection server_2
+--source include/start_slave.inc
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 60 ORDER BY a;
+# Restore the foo() function.
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ IF d1 != '' THEN
+ SET debug_sync = d1;
+ END IF;
+ IF d2 != '' THEN
+ SET debug_sync = d2;
+ END IF;
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+--connection server_2
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+--source include/stop_slave.inc
+SET GLOBAL binlog_format=@old_format;
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+--source include/start_slave.inc
+
+
+--echo *** 5. Test killing thread that is waiting for queue of max length to shorten ***
+
+--let $wait_condition= SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%Slave has read all relay log%'
+--source include/wait_condition.inc
+--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%Slave has read all relay log%'`
+SET @old_max_queued= @@GLOBAL.slave_parallel_max_queued;
+SET GLOBAL slave_parallel_max_queued=9000;
+
+--connection server_1
+--let bigstring= `SELECT REPEAT('x', 10000)`
+SET binlog_format=statement;
+# Create an event that will wait to be signalled.
+INSERT INTO t3 VALUES (70, foo(0,
+ 'ha_write_row_end SIGNAL query_waiting WAIT_FOR query_cont', ''));
+--disable_query_log
+# Create an event that will fill up the queue.
+eval INSERT INTO t3 VALUES (71, LENGTH('$bigstring'));
+--enable_query_log
+
+--connection server_2
+SET debug_sync='now WAIT_FOR query_waiting';
+# Inject that the SQL driver thread will signal `wait_queue_ready' to debug_sync
+# as it goes to wait for the event queue to become smaller than the value of
+# @@slave_parallel_max_queued.
+SET @old_dbug= @@GLOBAL.debug_dbug;
+SET GLOBAL debug_dbug="+d,rpl_parallel_wait_queue_max";
+
+--connection server_1
+# This event will have to wait for the queue to become shorter before it can
+# be queued. We will test that things work when we kill the SQL driver thread
+# during this wait.
+INSERT INTO t3 VALUES (72, 0);
+SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+
+--connection server_2
+SET debug_sync='now WAIT_FOR wait_queue_ready';
+
+--replace_result $thd_id THD_ID
+eval KILL $thd_id;
+
+SET debug_sync='now WAIT_FOR wait_queue_killed';
+SET debug_sync='now SIGNAL query_cont';
+
+--let $slave_sql_errno= 1317,1927,1963
+--source include/wait_for_slave_sql_error.inc
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+
+SET GLOBAL debug_dbug=@old_dbug;
+SET GLOBAL slave_parallel_max_queued= @old_max_queued;
+
+--connection server_1
+INSERT INTO t3 VALUES (73,0);
+--save_master_pos
+
+--connection server_2
+--source include/start_slave.inc
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 70 ORDER BY a;
+
+
+--connection server_2
--source include/stop_slave.inc
SET GLOBAL binlog_format=@old_format;
SET GLOBAL slave_parallel_threads=0;
diff --git a/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates-slave.opt b/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates-slave.opt
new file mode 100644
index 00000000000..acd68493e0a
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates-slave.opt
@@ -0,0 +1 @@
+--log-slave-updates=0
diff --git a/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test b/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test
new file mode 100644
index 00000000000..98f919e4727
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_parallel_no_log_slave_updates.test
@@ -0,0 +1,199 @@
+--source include/have_innodb.inc
+--source include/have_debug.inc
+--source include/have_debug_sync.inc
+--source include/have_binlog_format_statement.inc
+--let $rpl_topology=1->2
+--source include/rpl_init.inc
+
+--echo *** Test killing transaction waiting in commit for previous transaction to commit, when not using 2-phase commit ***
+
+--connection server_2
+SET @old_parallel_threads=@@GLOBAL.slave_parallel_threads;
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=10;
+CHANGE MASTER TO master_use_gtid=slave_pos;
+--source include/start_slave.inc
+
+--connection server_1
+ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
+# Use a stored function to inject a debug_sync into the appropriate THD.
+# The function does nothing on the master, and on the slave it injects the
+# desired debug_sync action(s).
+SET sql_log_bin=0;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+CREATE TABLE t3 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
+--save_master_pos
+
+--connection server_2
+SET sql_log_bin=0;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ IF d1 != '' THEN
+ SET debug_sync = d1;
+ END IF;
+ IF d2 != '' THEN
+ SET debug_sync = d2;
+ END IF;
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+--sync_with_master
+
+
+# Set up three transactions on the master that will be group-committed
+# together so they can be replicated in parallel on the slave.
+--connect (con_temp3,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued1 WAIT_FOR master_cont1';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (31, foo(31,
+ 'ha_commit_one_phase WAIT_FOR t2_waiting',
+ 'commit_one_phase_2 SIGNAL t1_ready WAIT_FOR t1_cont'));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued1';
+
+--connect (con_temp4,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued2';
+SET binlog_format=statement;
+BEGIN;
+# This insert is just so we can get T2 to wait while a query is running that we
+# can see in SHOW PROCESSLIST so we can get its thread_id to kill later.
+INSERT INTO t3 VALUES (32, foo(32,
+ 'ha_write_row_end SIGNAL t2_query WAIT_FOR t2_cont',
+ ''));
+# This insert sets up debug_sync points so that T2 will tell when it is at its
+# wait point where we want to kill it - and when it has been killed.
+INSERT INTO t3 VALUES (33, foo(33,
+ 'wait_for_prior_commit_waiting SIGNAL t2_waiting',
+ 'wait_for_prior_commit_killed SIGNAL t2_killed'));
+send COMMIT;
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued2';
+
+--connect (con_temp5,127.0.0.1,root,,test,$SERVER_MYPORT_1,)
+SET debug_sync='commit_after_release_LOCK_prepare_ordered SIGNAL master_queued3';
+SET binlog_format=statement;
+send INSERT INTO t3 VALUES (34, foo(34,
+ '',
+ ''));
+
+--connection server_1
+SET debug_sync='now WAIT_FOR master_queued3';
+SET debug_sync='now SIGNAL master_cont1';
+
+--connection con_temp3
+REAP;
+--connection con_temp4
+REAP;
+--connection con_temp5
+REAP;
+
+--connection server_1
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+
+--connection server_2
+SET sql_log_bin=0;
+CALL mtr.add_suppression("Query execution was interrupted");
+CALL mtr.add_suppression("Commit failed due to failure of an earlier commit on which this one depends");
+CALL mtr.add_suppression("Slave: Connection was killed");
+SET sql_log_bin=1;
+# Wait until T2 is inside executing its insert of 32, then find it in SHOW
+# PROCESSLIST to know its thread id for KILL later.
+SET debug_sync='now WAIT_FOR t2_query';
+--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%foo(32%' AND INFO NOT LIKE '%LIKE%'`
+SET debug_sync='now SIGNAL t2_cont';
+
+# Wait until T2 has entered its wait for T1 to commit, and T1 has
+# progressed into its commit phase.
+SET debug_sync='now WAIT_FOR t1_ready';
+
+# Now kill the transaction T2.
+--replace_result $thd_id THD_ID
+eval KILL $thd_id;
+
+# Wait until T2 has reacted on the kill.
+SET debug_sync='now WAIT_FOR t2_killed';
+
+# Now we can allow T1 to proceed.
+SET debug_sync='now SIGNAL t1_cont';
+
+--let $slave_sql_errno= 1317,1927,1963
+--source include/wait_for_slave_sql_error.inc
+STOP SLAVE IO_THREAD;
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+
+# Now we have to disable the debug_sync statements, so they do not trigger
+# when the events are retried.
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+--connection server_1
+INSERT INTO t3 VALUES (39,0);
+--save_master_pos
+
+--connection server_2
+--source include/start_slave.inc
+--sync_with_master
+SELECT * FROM t3 WHERE a >= 30 ORDER BY a;
+# Restore the foo() function.
+SET sql_log_bin=0;
+DROP FUNCTION foo;
+--delimiter ||
+CREATE FUNCTION foo(x INT, d1 VARCHAR(500), d2 VARCHAR(500))
+ RETURNS INT DETERMINISTIC
+ BEGIN
+ IF d1 != '' THEN
+ SET debug_sync = d1;
+ END IF;
+ IF d2 != '' THEN
+ SET debug_sync = d2;
+ END IF;
+ RETURN x;
+ END
+||
+--delimiter ;
+SET sql_log_bin=1;
+
+
+--connection server_2
+# Respawn all worker threads to clear any left-over debug_sync or other stuff.
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=0;
+SET GLOBAL slave_parallel_threads=10;
+--source include/start_slave.inc
+
+
+--connection server_2
+--source include/stop_slave.inc
+SET GLOBAL slave_parallel_threads=@old_parallel_threads;
+--source include/start_slave.inc
+
+--connection server_1
+DROP function foo;
+DROP TABLE t3;
+
+--source include/rpl_end.inc
diff --git a/mysql-test/suite/rpl/t/rpl_rotate_logs.test b/mysql-test/suite/rpl/t/rpl_rotate_logs.test
index 4dd4fccc363..273786cf807 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_stm_000001.test b/mysql-test/suite/rpl/t/rpl_stm_000001.test
index 0805308aa73..3a87a8f1ef9 100644
--- a/mysql-test/suite/rpl/t/rpl_stm_000001.test
+++ b/mysql-test/suite/rpl/t/rpl_stm_000001.test
@@ -92,8 +92,8 @@ let $wait_condition= SELECT count(*) > 0 FROM information_schema.processlist WHE
source include/wait_condition.inc;
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/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/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 559a8b76280..4b1d7604b9d 100644
--- a/mysql-test/t/derived.test
+++ b/mysql-test/t/derived.test
@@ -394,6 +394,35 @@ 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
--echo #
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_time.test b/mysql-test/t/func_time.test
index 9b1d71db10d..0d1e0fe3fb2 100644
--- a/mysql-test/t/func_time.test
+++ b/mysql-test/t/func_time.test
@@ -1450,6 +1450,24 @@ 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;
--echo #
--echo # MDEV-4838 Wrong metadata for DATE_ADD('string', INVERVAL)
diff --git a/mysql-test/t/group_by.test b/mysql-test/t/group_by.test
index f88b6fbb2fe..8ee17d2b2d3 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;
@@ -1644,30 +1644,6 @@ 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;
-
---echo #
--echo # Bug #58782
--echo # Missing rows with SELECT .. WHERE .. IN subquery
--echo # with full GROUP BY and no aggr
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 d62217dd54f..9f3a89ff948 100644
--- a/mysql-test/t/innodb_ext_key.test
+++ b/mysql-test/t/innodb_ext_key.test
@@ -663,6 +663,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/myisam_optimize.test b/mysql-test/t/myisam_optimize.test
index 2d630f7dbd0..5f0b8fc7666 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 efb1551150f..0261928ac08 100644
--- a/mysql-test/t/mysql_upgrade.test
+++ b/mysql-test/t/mysql_upgrade.test
@@ -41,6 +41,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 d573c3b5b8a..c4a85e4b111 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
@@ -1913,6 +1916,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/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 6536c052019..5b78a352863 100644
--- a/mysql-test/t/repair.test
+++ b/mysql-test/t/repair.test
@@ -190,3 +190,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_ERRNO
+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 1ec154f1c69..8e6a25709aa 100644
--- a/mysql-test/t/sp-bugs.test
+++ b/mysql-test/t/sp-bugs.test
@@ -238,3 +238,59 @@ 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/subselect_sj.test b/mysql-test/t/subselect_sj.test
index 536606175bb..a6ce3f25617 100644
--- a/mysql-test/t/subselect_sj.test
+++ b/mysql-test/t/subselect_sj.test
@@ -2634,6 +2634,7 @@ 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:
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/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/view.test b/mysql-test/t/view.test
index 5cb9d920c0c..c7a7e332236 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 caca9e55610..f0d25dae6b9 100644
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -89,3 +89,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 9a7ed0e01d2..22def2e0923 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/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 0c84519fac0..bb9eb96f6d7 100644
--- a/plugin/semisync/semisync_master.cc
+++ b/plugin/semisync/semisync_master.cc
@@ -479,13 +479,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();
}
@@ -884,10 +888,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);
@@ -895,15 +896,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 126c8a548fb..81f71821aff 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 1870dc8b32f..3ae8d681b08 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()
@@ -491,7 +491,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
@@ -511,9 +511,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 beb99af8e90..38e6a547c1d 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,16 +40,16 @@ 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,'','','N', 'N');
-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,'','','N','N' 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,'','','N','N' 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,'','','N','N');
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,'','','N','N');
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;
CREATE TEMPORARY TABLE tmp_proxies_priv LIKE proxies_priv;
INSERT INTO tmp_proxies_priv VALUES ('localhost', 'root', '', '', TRUE, '', now());
-REPLACE INTO tmp_proxies_priv SELECT @current_hostname, 'root', '', '', TRUE, '', now() FROM DUAL WHERE LOWER (@current_hostname) != 'localhost';
+REPLACE INTO tmp_proxies_priv SELECT @current_hostname, 'root', '', '', TRUE, '', now() FROM DUAL WHERE @current_hostname != 'localhost';
INSERT INTO proxies_priv SELECT * FROM tmp_proxies_priv WHERE @had_proxies_priv_table=0;
DROP TABLE tmp_proxies_priv;
diff --git a/scripts/mysql_system_tables_fix.sql b/scripts/mysql_system_tables_fix.sql
index f444df60a83..795177e9321 100644
--- a/scripts/mysql_system_tables_fix.sql
+++ b/scripts/mysql_system_tables_fix.sql
@@ -645,6 +645,9 @@ 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;
+
# MDEV-4332 longer user names
alter table user modify User char(80) binary not null default '';
alter table db modify User char(80) binary not null default '';
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/ha_partition.cc b/sql/ha_partition.cc
index 603e0bf59dc..cd15fa8b20f 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -1488,7 +1488,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");
@@ -1531,6 +1532,7 @@ int ha_partition::prepare_new_partition(TABLE *tbl,
m_open_test_lock | HA_OPEN_NO_PSI_CALL)))
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()
@@ -1541,6 +1543,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();
@@ -1836,6 +1841,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();
@@ -1870,11 +1883,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);
}
@@ -1887,11 +1902,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];
}
}
@@ -7870,7 +7887,7 @@ void ha_partition::print_error(int error, myf errflag)
if ((error == HA_ERR_NO_PARTITION_FOUND) &&
! (thd->lex->alter_info.flags & Alter_info::ALTER_TRUNCATE_PARTITION))
- m_part_info->print_no_partition_found(table);
+ m_part_info->print_no_partition_found(table, errflag);
else if (error == HA_ERR_ROW_IN_WRONG_PARTITION)
{
/* Should only happen on DELETE or UPDATE! */
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 71a82b5af6d..05262e750f7 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -343,7 +343,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 and rename_table uses very similar logic which
is packed into this routine.
diff --git a/sql/handler.cc b/sql/handler.cc
index 0088d6010a5..521723e4049 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1308,7 +1308,10 @@ int ha_commit_trans(THD *thd, bool all)
Free resources and perform other cleanup even for 'empty' transactions.
*/
if (is_real_trans)
+ {
thd->transaction.cleanup();
+ thd->wakeup_subsequent_commits(error);
+ }
DBUG_RETURN(0);
}
@@ -1342,6 +1345,7 @@ int ha_commit_trans(THD *thd, bool all)
thd->variables.lock_wait_timeout))
{
ha_rollback_trans(thd, all);
+ thd->wakeup_subsequent_commits(1);
DBUG_RETURN(1);
}
@@ -1429,6 +1433,7 @@ done:
err:
error= 1; /* Transaction was rolled back */
ha_rollback_trans(thd, all);
+ thd->wakeup_subsequent_commits(error);
end:
if (rw_trans && mdl_request.ticket)
@@ -1474,8 +1479,12 @@ int ha_commit_one_phase(THD *thd, bool all)
bool is_real_trans=all || thd->transaction.all.ha_list == 0;
int res;
DBUG_ENTER("ha_commit_one_phase");
- if (is_real_trans && (res= thd->wait_for_prior_commit()))
- DBUG_RETURN(res);
+ if (is_real_trans)
+ {
+ DEBUG_SYNC(thd, "ha_commit_one_phase");
+ if ((res= thd->wait_for_prior_commit()))
+ DBUG_RETURN(res);
+ }
res= commit_one_phase_2(thd, all, trans, is_real_trans);
DBUG_RETURN(res);
}
@@ -1487,6 +1496,8 @@ commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans)
int error= 0;
Ha_trx_info *ha_info= trans->ha_list, *ha_info_next;
DBUG_ENTER("commit_one_phase_2");
+ if (is_real_trans)
+ DEBUG_SYNC(thd, "commit_one_phase_2");
if (ha_info)
{
for (; ha_info; ha_info= ha_info_next)
@@ -1599,10 +1610,7 @@ int ha_rollback_trans(THD *thd, bool all)
/* Always cleanup. Even if nht==0. There may be savepoints. */
if (is_real_trans)
- {
- thd->wakeup_subsequent_commits(error);
thd->transaction.cleanup();
- }
if (all)
thd->transaction_rollback_request= FALSE;
@@ -3493,7 +3501,7 @@ void handler::print_error(int error, myf errflag)
}
}
else
- my_error(ER_GET_ERRNO, errflag, error, table_type());
+ my_error(ER_GET_ERRNO, errflag, error, table_type());
DBUG_VOID_RETURN;
}
}
@@ -5564,8 +5572,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 5bc9d5816eb..1295902c1cd 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -4698,6 +4698,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.
@@ -4707,10 +4713,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:
@@ -4740,7 +4752,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
@@ -4759,6 +4776,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)
@@ -4775,7 +4801,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
@@ -4974,9 +5000,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);
@@ -5047,6 +5073,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
@@ -5132,11 +5159,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)
diff --git a/sql/item.h b/sql/item.h
index 6afeca66f0a..f0986e3728d 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
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 8858837188d..2ff93b5538a 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -2943,11 +2943,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;
@@ -2958,8 +2953,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,
+ std::min<uint>(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_strfunc.cc b/sql/item_strfunc.cc
index fc5dfe0994e..1947dae0c50 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
@@ -65,11 +65,6 @@ C_MODE_END
size_t username_char_length= 80;
-/**
- @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(),
@@ -2839,7 +2834,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))
@@ -3286,7 +3281,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 4b9ec50c164..a33f4910fd5 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -1206,7 +1206,5 @@ 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 367ff39eab6..32816551491 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -1595,8 +1595,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 6ffa8b2af46..cdbabfae962 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -2597,7 +2597,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
{
@@ -2648,16 +2648,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, Sql_condition::WARN_LEVEL_WARN,
- &str, MYSQL_TIMESTAMP_TIME, NullS);
-
- return (null_value= 0);
+ return (null_value= adjust_time_range_with_warn(ltime, decimals));
}
@@ -2695,7 +2686,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);
@@ -2739,12 +2730,7 @@ 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);
-
- if (was_cut)
- make_truncated_value_warning(current_thd, Sql_condition::WARN_LEVEL_WARN,
- &str, MYSQL_TIMESTAMP_TIME, NullS);
- return (null_value= 0);
+ return (null_value= adjust_time_range_with_warn(ltime, decimals));
}
/**
diff --git a/sql/log.cc b/sql/log.cc
index 90305ec227e..f531d301b63 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -6628,16 +6628,17 @@ MYSQL_BIN_LOG::write_transaction_to_binlog(THD *thd,
to commit. If so, we add those to the queue as well, transitively for all
waiters.
- @retval TRUE If queued as the first entry in the queue (meaning this
- is the leader)
- @retval FALSE Otherwise
+ @retval < 0 Error
+ @retval > 0 If queued as the first entry in the queue (meaning this
+ is the leader)
+ @retval 0 Otherwise (queued as participant, leader handles the commit)
*/
-bool
+int
MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
{
group_commit_entry *entry, *orig_queue;
- wait_for_commit *list, *cur, *last;
+ wait_for_commit *cur, *last;
wait_for_commit *wfc;
DBUG_ENTER("MYSQL_BIN_LOG::queue_for_group_commit");
@@ -6657,6 +6658,7 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
/* Do an extra check here, this time safely under lock. */
if (wfc->waiting_for_commit)
{
+ PSI_stage_info old_stage;
/*
By setting wfc->opaque_pointer to our own entry, we mark that we are
ready to commit, but waiting for another transaction to commit before
@@ -6667,16 +6669,58 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
queued_by_other flag is set.
*/
wfc->opaque_pointer= orig_entry;
+ orig_entry->thd->ENTER_COND(&wfc->COND_wait_commit,
+ &wfc->LOCK_wait_commit,
+ &stage_waiting_for_prior_transaction_to_commit,
+ &old_stage);
DEBUG_SYNC(orig_entry->thd, "group_commit_waiting_for_prior");
- do
- {
+ while (wfc->waiting_for_commit && !orig_entry->thd->check_killed())
mysql_cond_wait(&wfc->COND_wait_commit, &wfc->LOCK_wait_commit);
- } while (wfc->waiting_for_commit);
wfc->opaque_pointer= NULL;
DBUG_PRINT("info", ("After waiting for prior commit, queued_by_other=%d",
orig_entry->queued_by_other));
+
+ if (wfc->waiting_for_commit)
+ {
+ /* Wait terminated due to kill. */
+ wait_for_commit *loc_waitee= wfc->waitee;
+ mysql_mutex_lock(&loc_waitee->LOCK_wait_commit);
+ if (loc_waitee->wakeup_subsequent_commits_running ||
+ orig_entry->queued_by_other)
+ {
+ /* Our waitee is already waking us up, so ignore the kill. */
+ mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+ do
+ {
+ mysql_cond_wait(&wfc->COND_wait_commit, &wfc->LOCK_wait_commit);
+ } while (wfc->waiting_for_commit);
+ }
+ else
+ {
+ /* We were killed, so remove us from the list of waitee. */
+ wfc->remove_from_list(&loc_waitee->subsequent_commits_list);
+ mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+
+ orig_entry->thd->EXIT_COND(&old_stage);
+ /* Interrupted by kill. */
+ DEBUG_SYNC(orig_entry->thd, "group_commit_waiting_for_prior_killed");
+ wfc->wakeup_error= orig_entry->thd->killed_errno();
+ if (wfc->wakeup_error)
+ wfc->wakeup_error= ER_QUERY_INTERRUPTED;
+ my_message(wfc->wakeup_error, ER(wfc->wakeup_error), MYF(0));
+ DBUG_RETURN(-1);
+ }
+ }
+ orig_entry->thd->EXIT_COND(&old_stage);
+ }
+ else
+ mysql_mutex_unlock(&wfc->LOCK_wait_commit);
+
+ if (wfc->wakeup_error)
+ {
+ my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
+ DBUG_RETURN(-1);
}
- mysql_mutex_unlock(&wfc->LOCK_wait_commit);
}
/*
@@ -6685,7 +6729,7 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
then there is nothing else to do.
*/
if (orig_entry->queued_by_other)
- DBUG_RETURN(false);
+ DBUG_RETURN(0);
/* Now enqueue ourselves in the group commit queue. */
DEBUG_SYNC(orig_entry->thd, "commit_before_enqueue");
@@ -6723,9 +6767,8 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
used by the caller or any other function.
*/
- list= wfc;
- cur= list;
- last= list;
+ cur= wfc;
+ last= wfc;
entry= orig_entry;
for (;;)
{
@@ -6751,11 +6794,11 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
*/
if (cur->subsequent_commits_list)
{
- bool have_lock;
wait_for_commit *waiter;
+ wait_for_commit *wakeup_list= NULL;
+ wait_for_commit **wakeup_next_ptr= &wakeup_list;
mysql_mutex_lock(&cur->LOCK_wait_commit);
- have_lock= true;
/*
Grab the list, now safely under lock, and process it if still
non-empty.
@@ -6796,18 +6839,68 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
For this, we need to set the "wakeup running" flag and release
the waitee lock to avoid a deadlock, see comments on
THD::wakeup_subsequent_commits2() for details.
+
+ So we need to put these on a list and delay the wakeup until we
+ have released the lock.
*/
- if (have_lock)
+ *wakeup_next_ptr= waiter;
+ wakeup_next_ptr= &waiter->next_subsequent_commit;
+ }
+ waiter= next;
+ }
+ if (wakeup_list)
+ {
+ /* Now release our lock and do the wakeups that were delayed above. */
+ cur->wakeup_subsequent_commits_running= true;
+ mysql_mutex_unlock(&cur->LOCK_wait_commit);
+ for (;;)
+ {
+ wait_for_commit *next;
+
+ /*
+ ToDo: We wakeup the waiter here, so that it can have the chance to
+ reach its own commit state and queue up for this same group commit,
+ if it is still pending.
+
+ One problem with this is that if the waiter does not reach its own
+ commit state before this group commit starts, and then the group
+ commit fails (binlog write failure), we do not get to propagate
+ the error to the waiter.
+
+ A solution for this could be to delay the wakeup until commit is
+ successful. But then we need to set a flag in the waitee that it is
+ already queued for group commit, so that the waiter can check this
+ flag and queue itself if it _does_ reach the commit state in time.
+
+ (But error handling in case of binlog write failure is currently
+ broken in other ways, as well).
+ */
+ if (&wakeup_list->next_subsequent_commit == wakeup_next_ptr)
{
- have_lock= false;
- cur->wakeup_subsequent_commits_running= true;
- mysql_mutex_unlock(&cur->LOCK_wait_commit);
+ /* The last one in the list. */
+ wakeup_list->wakeup(0);
+ break;
}
- waiter->wakeup(0);
+ /*
+ Important: don't access wakeup_list->next after the wakeup() call,
+ it may be invalidated by the other thread.
+ */
+ next= wakeup_list->next_subsequent_commit;
+ wakeup_list->wakeup(0);
+ wakeup_list= next;
}
- waiter= next;
+ /*
+ We need a full memory barrier between walking the list and clearing
+ the flag wakeup_subsequent_commits_running. This barrier is needed
+ to ensure that no other thread will start to modify the list
+ pointers before we are done traversing the list.
+
+ But wait_for_commit::wakeup(), which was called above, does a full
+ memory barrier already (it locks a mutex).
+ */
+ cur->wakeup_subsequent_commits_running= false;
}
- if (have_lock)
+ else
mysql_mutex_unlock(&cur->LOCK_wait_commit);
}
if (cur == last)
@@ -6821,29 +6914,6 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
DBUG_ASSERT(entry != NULL);
}
- /*
- Now we need to clear the wakeup_subsequent_commits_running flags.
-
- We need a full memory barrier between walking the list above, and clearing
- the flag wakeup_subsequent_commits_running below. This barrier is needed
- to ensure that no other thread will start to modify the list pointers
- before we are done traversing the list.
-
- But wait_for_commit::wakeup(), which was called above for any other thread
- that might modify the list in parallel, does a full memory barrier already
- (it locks a mutex).
- */
- if (list)
- {
- for (;;)
- {
- list->wakeup_subsequent_commits_running= false;
- if (list == last)
- break;
- list= list->next_subsequent_commit;
- }
- }
-
if (opt_binlog_commit_wait_count > 0)
mysql_cond_signal(&COND_prepare_ordered);
mysql_mutex_unlock(&LOCK_prepare_ordered);
@@ -6857,13 +6927,15 @@ MYSQL_BIN_LOG::queue_for_group_commit(group_commit_entry *orig_entry)
bool
MYSQL_BIN_LOG::write_transaction_to_binlog_events(group_commit_entry *entry)
{
- bool is_leader= queue_for_group_commit(entry);
+ int is_leader= queue_for_group_commit(entry);
/*
The first in the queue handles group commit for all; the others just wait
to be signalled when group commit is done.
*/
- if (is_leader)
+ if (is_leader < 0)
+ return true; /* Error */
+ else if (is_leader)
trx_group_commit_leader(entry);
else if (!entry->queued_by_other)
entry->thd->wait_for_wakeup_ready();
diff --git a/sql/log.h b/sql/log.h
index 73518d2594f..45381152d97 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -540,7 +540,7 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG
void do_checkpoint_request(ulong binlog_id);
void purge();
int write_transaction_or_stmt(group_commit_entry *entry, uint64 commit_id);
- bool queue_for_group_commit(group_commit_entry *entry);
+ int queue_for_group_commit(group_commit_entry *entry);
bool write_transaction_to_binlog_events(group_commit_entry *entry);
void trx_group_commit_leader(group_commit_entry *leader);
bool is_xidlist_idle_nolock();
diff --git a/sql/log_event.cc b/sql/log_event.cc
index f24e85eff70..0af7a2ed344 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -6988,9 +6988,7 @@ int Intvar_log_event::do_apply_event(rpl_group_info *rgi)
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:
@@ -7255,7 +7253,7 @@ int Xid_log_event::do_apply_event(rpl_group_info *rgi)
res= trans_commit(thd); /* Automatically rolls back on error. */
thd->mdl_context.release_transactional_locks();
- if (sub_id)
+ if (!res && sub_id)
rpl_global_gtid_slave_state.update_state_hash(sub_id, &gtid);
/*
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 5dbb3407428..984d9cbc968 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3390,7 +3390,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= Sql_condition::WARN_LEVEL_NOTE;
@@ -3413,6 +3412,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;);
@@ -9414,6 +9415,8 @@ PSI_stage_info stage_binlog_waiting_background_tasks= { 0, "Waiting for backgrou
PSI_stage_info stage_binlog_processing_checkpoint_notify= { 0, "Processing binlog checkpoint notification", 0};
PSI_stage_info stage_binlog_stopping_background_thread= { 0, "Stopping binlog background thread", 0};
PSI_stage_info stage_waiting_for_work_from_sql_thread= { 0, "Waiting for work from SQL thread", 0};
+PSI_stage_info stage_waiting_for_prior_transaction_to_commit= { 0, "Waiting for prior transaction to commit", 0};
+PSI_stage_info stage_waiting_for_room_in_worker_thread= { 0, "Waiting for room in worker thread event queue", 0};
#ifdef HAVE_PSI_INTERFACE
@@ -9421,6 +9424,12 @@ PSI_stage_info *all_server_stages[]=
{
& stage_after_create,
& stage_allocating_local_table,
+ & stage_alter_inplace,
+ & stage_alter_inplace_commit,
+ & stage_alter_inplace_prepare,
+ & stage_binlog_processing_checkpoint_notify,
+ & stage_binlog_stopping_background_thread,
+ & stage_binlog_waiting_background_tasks,
& stage_changing_master,
& stage_checking_master_version,
& stage_checking_permissions,
@@ -9430,9 +9439,9 @@ PSI_stage_info *all_server_stages[]=
& stage_closing_tables,
& stage_connecting_to_master,
& stage_converting_heap_to_myisam,
+ & stage_copy_to_tmp_table,
& stage_copying_to_group_table,
& stage_copying_to_tmp_table,
- & stage_copy_to_tmp_table,
& stage_creating_delayed_handler,
& stage_creating_sort_index,
& stage_creating_table,
@@ -9481,8 +9490,13 @@ PSI_stage_info *all_server_stages[]=
& stage_sending_cached_result_to_client,
& stage_sending_data,
& stage_setup,
- & stage_slave_has_read_all_relay_log,
& stage_show_explain,
+ & stage_slave_has_read_all_relay_log,
+ & stage_slave_waiting_event_from_coordinator,
+ & stage_slave_waiting_worker_queue,
+ & stage_slave_waiting_worker_to_free_events,
+ & stage_slave_waiting_worker_to_release_partition,
+ & stage_slave_waiting_workers_to_exit,
& stage_sorting,
& stage_sorting_for_group,
& stage_sorting_for_order,
@@ -9501,18 +9515,23 @@ PSI_stage_info *all_server_stages[]=
& stage_user_sleep,
& stage_verifying_table,
& stage_waiting_for_delay_list,
+ & stage_waiting_for_gtid_to_be_written_to_binary_log,
& stage_waiting_for_handler_insert,
& stage_waiting_for_handler_lock,
& stage_waiting_for_handler_open,
& stage_waiting_for_insert,
& stage_waiting_for_master_to_send_event,
& stage_waiting_for_master_update,
+ & stage_waiting_for_prior_transaction_to_commit,
+ & stage_waiting_for_query_cache_lock,
+ & stage_waiting_for_relay_log_space,
+ & stage_waiting_for_room_in_worker_thread,
& stage_waiting_for_slave_mutex_on_exit,
& stage_waiting_for_slave_thread_to_start,
& stage_waiting_for_table_flush,
- & stage_waiting_for_query_cache_lock,
& stage_waiting_for_the_next_event_in_relay_log,
& stage_waiting_for_the_slave_thread_to_advance_position,
+ & stage_waiting_for_work_from_sql_thread,
& stage_waiting_to_finalize_termination,
& stage_waiting_to_get_readlock
};
diff --git a/sql/mysqld.h b/sql/mysqld.h
index 12b5d857e6e..1b34c485101 100644
--- a/sql/mysqld.h
+++ b/sql/mysqld.h
@@ -432,6 +432,9 @@ extern PSI_stage_info stage_binlog_waiting_background_tasks;
extern PSI_stage_info stage_binlog_processing_checkpoint_notify;
extern PSI_stage_info stage_binlog_stopping_background_thread;
extern PSI_stage_info stage_waiting_for_work_from_sql_thread;
+extern PSI_stage_info stage_waiting_for_prior_transaction_to_commit;
+extern PSI_stage_info stage_waiting_for_room_in_worker_thread;
+
#ifdef HAVE_PSI_STATEMENT_INTERFACE
/**
Statement instrumentation keys (sql).
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index fcb08bfbfc9..b7ee46361ae 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -1,5 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
- Copyright (c) 2010, 2012, Monty Program Ab.
+/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
+ Copyright (c) 2010, 2014, SkySQL Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 6982db898fb..22566ffc7e0 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -10778,15 +10778,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->user_defined_key_parts-1)
+ if ((table_key->flags & HA_NOSAME) &&
+ key_tree->part == table_key->user_defined_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;
}
}
}
@@ -10816,7 +10817,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 a9bff4b37bf..8c38a2d4eb9 100644
--- a/sql/opt_subselect.cc
+++ b/sql/opt_subselect.cc
@@ -1529,7 +1529,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 */
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 44407bd737f..ca455c0d7bc 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -1852,7 +1852,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;
@@ -1866,7 +1866,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
{
@@ -1882,7 +1882,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 777cd6065eb..e5029c385c1 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -317,7 +317,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 e534c04935a..1b230c41156 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/rpl_parallel.cc b/sql/rpl_parallel.cc
index 80125e8aa29..cc65856e37b 100644
--- a/sql/rpl_parallel.cc
+++ b/sql/rpl_parallel.cc
@@ -2,6 +2,7 @@
#include "rpl_parallel.h"
#include "slave.h"
#include "rpl_mi.h"
+#include "debug_sync.h"
/*
@@ -24,7 +25,7 @@ static int
rpt_handle_event(rpl_parallel_thread::queued_event *qev,
struct rpl_parallel_thread *rpt)
{
- int err __attribute__((unused));
+ int err;
rpl_group_info *rgi= qev->rgi;
Relay_log_info *rli= rgi->rli;
THD *thd= rgi->thd;
@@ -142,7 +143,7 @@ finish_event_group(THD *thd, int err, uint64 sub_id,
if (err)
wfc->unregister_wait_for_prior_commit();
else
- wfc->wait_for_prior_commit();
+ err= wfc->wait_for_prior_commit(thd);
thd->wait_for_commit_ptr= NULL;
/*
@@ -172,6 +173,18 @@ finish_event_group(THD *thd, int err, uint64 sub_id,
}
+static void
+signal_error_to_sql_driver_thread(THD *thd, rpl_group_info *rgi)
+{
+ rgi->is_error= true;
+ rgi->cleanup_context(thd, true);
+ rgi->rli->abort_slave= true;
+ mysql_mutex_lock(rgi->rli->relay_log.get_log_lock());
+ mysql_mutex_unlock(rgi->rli->relay_log.get_log_lock());
+ rgi->rli->relay_log.signal_update();
+}
+
+
pthread_handler_t
handle_rpl_parallel_thread(void *arg)
{
@@ -207,6 +220,7 @@ handle_rpl_parallel_thread(void *arg)
thd->variables.log_slow_filter= global_system_variables.log_slow_filter;
set_slave_thread_options(thd);
thd->client_capabilities = CLIENT_LOCAL_FILES;
+ thd->net.reading_or_writing= 0;
thd_proc_info(thd, "Waiting for work from main SQL threads");
thd->set_time();
thd->variables.lock_wait_timeout= LONG_TIMEOUT;
@@ -284,21 +298,42 @@ handle_rpl_parallel_thread(void *arg)
wait_start_sub_id= rgi->wait_start_sub_id;
if (wait_for_sub_id || wait_start_sub_id)
{
+ bool did_enter_cond= false;
+ PSI_stage_info old_stage;
+
mysql_mutex_lock(&entry->LOCK_parallel_entry);
if (wait_start_sub_id)
{
- while (wait_start_sub_id > entry->last_committed_sub_id)
+ thd->ENTER_COND(&entry->COND_parallel_entry,
+ &entry->LOCK_parallel_entry,
+ &stage_waiting_for_prior_transaction_to_commit,
+ &old_stage);
+ did_enter_cond= true;
+ DEBUG_SYNC(thd, "rpl_parallel_start_waiting_for_prior");
+ while (wait_start_sub_id > entry->last_committed_sub_id &&
+ !thd->check_killed())
mysql_cond_wait(&entry->COND_parallel_entry,
&entry->LOCK_parallel_entry);
+ if (wait_start_sub_id > entry->last_committed_sub_id)
+ {
+ /* The thread got a kill signal. */
+ DEBUG_SYNC(thd, "rpl_parallel_start_waiting_for_prior_killed");
+ thd->send_kill_message();
+ slave_output_error_info(rgi->rli, thd);
+ signal_error_to_sql_driver_thread(thd, rgi);
+ }
+ rgi->wait_start_sub_id= 0; /* No need to check again. */
}
- rgi->wait_start_sub_id= 0; /* No need to check again. */
if (wait_for_sub_id > entry->last_committed_sub_id)
{
wait_for_commit *waitee=
&rgi->wait_commit_group_info->commit_orderer;
rgi->commit_orderer.register_wait_for_prior_commit(waitee);
}
- mysql_mutex_unlock(&entry->LOCK_parallel_entry);
+ if (did_enter_cond)
+ thd->EXIT_COND(&old_stage);
+ else
+ mysql_mutex_unlock(&entry->LOCK_parallel_entry);
}
if(thd->wait_for_commit_ptr)
@@ -341,10 +376,8 @@ handle_rpl_parallel_thread(void *arg)
if (err)
{
- rgi->is_error= true;
slave_output_error_info(rgi->rli, thd);
- rgi->cleanup_context(thd, true);
- rgi->rli->abort_slave= true;
+ signal_error_to_sql_driver_thread(thd, rgi);
}
if (end_of_group)
{
@@ -353,6 +386,7 @@ handle_rpl_parallel_thread(void *arg)
&rgi->commit_orderer);
delete rgi;
group_rgi= rgi= NULL;
+ DEBUG_SYNC(thd, "rpl_parallel_end_of_group");
}
events= next;
@@ -383,11 +417,9 @@ handle_rpl_parallel_thread(void *arg)
half-processed event group.
*/
mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
- group_rgi->is_error= true;
finish_event_group(thd, 1, group_rgi->gtid_sub_id,
group_rgi->parallel_entry, &group_rgi->commit_orderer);
- group_rgi->cleanup_context(thd, true);
- group_rgi->rli->abort_slave= true;
+ signal_error_to_sql_driver_thread(thd, group_rgi);
in_event_group= false;
delete group_rgi;
group_rgi= NULL;
@@ -752,6 +784,8 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
Relay_log_info *rli= serial_rgi->rli;
enum Log_event_type typ;
bool is_group_event;
+ bool did_enter_cond= false;
+ PSI_stage_info old_stage;
/* ToDo: what to do with this lock?!? */
mysql_mutex_unlock(&rli->data_lock);
@@ -766,6 +800,7 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
sql_thread_stopping= true;
if (sql_thread_stopping)
{
+ delete ev;
/* QQ: Need a better comment why we return false here */
return false;
}
@@ -774,6 +809,7 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
MYF(0))))
{
my_error(ER_OUT_OF_RESOURCES, MYF(0));
+ delete ev;
return true;
}
qev->ev= ev;
@@ -796,6 +832,8 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
{
my_error(ER_OUT_OF_RESOURCES, MYF(MY_WME));
delete rgi;
+ my_free(qev);
+ delete ev;
return true;
}
rgi->is_parallel_exec = true;
@@ -813,6 +851,10 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
However, the commit of this event must wait for the commit of the prior
event, to preserve binlog commit order and visibility across all
servers in the replication hierarchy.
+
+ In addition, we must not start executing this event until we have
+ finished the previous collection of event groups that group-committed
+ together; we use rgi->wait_start_sub_id to control this.
*/
rpl_parallel_thread *rpt= global_rpl_thread_pool.get_thread(e);
rgi->wait_commit_sub_id= e->current_sub_id;
@@ -859,6 +901,21 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
}
else if (cur_thread->queued_size <= opt_slave_parallel_max_queued)
break; // The thread is ready to queue into
+ else if (rli->sql_driver_thd->check_killed())
+ {
+ mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
+ my_error(ER_CONNECTION_KILLED, MYF(0));
+ delete rgi;
+ my_free(qev);
+ delete ev;
+ DBUG_EXECUTE_IF("rpl_parallel_wait_queue_max",
+ {
+ debug_sync_set_action(rli->sql_driver_thd,
+ STRING_WITH_LEN("now SIGNAL wait_queue_killed"));
+ };);
+ slave_output_error_info(rli, rli->sql_driver_thd);
+ return true;
+ }
else
{
/*
@@ -866,6 +923,18 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
use for queuing events, so wait for the thread to consume some
of its queue.
*/
+ if (!did_enter_cond)
+ {
+ rli->sql_driver_thd->ENTER_COND(&cur_thread->COND_rpl_thread,
+ &cur_thread->LOCK_rpl_thread,
+ &stage_waiting_for_room_in_worker_thread, &old_stage);
+ did_enter_cond= true;
+ DBUG_EXECUTE_IF("rpl_parallel_wait_queue_max",
+ {
+ debug_sync_set_action(rli->sql_driver_thd,
+ STRING_WITH_LEN("now SIGNAL wait_queue_ready"));
+ };);
+ }
mysql_cond_wait(&cur_thread->COND_rpl_thread,
&cur_thread->LOCK_rpl_thread);
}
@@ -1015,7 +1084,10 @@ rpl_parallel::do_event(rpl_group_info *serial_rgi, Log_event *ev,
*/
rli->event_relay_log_pos= rli->future_event_relay_log_pos;
cur_thread->enqueue(qev);
- mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
+ if (did_enter_cond)
+ rli->sql_driver_thd->EXIT_COND(&old_stage);
+ else
+ mysql_mutex_unlock(&cur_thread->LOCK_rpl_thread);
mysql_cond_signal(&cur_thread->COND_rpl_thread);
return false;
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index 9036f810020..ac93f9640e8 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -886,11 +886,11 @@ void Relay_log_info::inc_group_relay_log_pos(ulonglong log_pos,
int cmp= strcmp(group_relay_log_name, event_relay_log_name);
if (cmp < 0)
{
- group_relay_log_pos= event_relay_log_pos;
+ group_relay_log_pos= rgi->future_event_relay_log_pos;
strmake_buf(group_relay_log_name, event_relay_log_name);
notify_group_relay_log_name_update();
- } else if (cmp == 0 && group_relay_log_pos < event_relay_log_pos)
- group_relay_log_pos= event_relay_log_pos;
+ } else if (cmp == 0 && group_relay_log_pos < rgi->future_event_relay_log_pos)
+ group_relay_log_pos= rgi->future_event_relay_log_pos;
/*
In the parallel case we need to update the master_log_name here, rather
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 4d218bcc35b..617ce2298b1 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -212,7 +212,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)))
{
@@ -546,10 +545,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;
}
@@ -697,6 +696,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 318bc04e16e..a6c3b9daccd 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -145,6 +145,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;
@@ -158,7 +159,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 8da5b3a5c12..25017cef42c 100644
--- a/sql/share/errmsg-utf8.txt
+++ b/sql/share/errmsg-utf8.txt
@@ -1732,30 +1732,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ř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"
- 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: 接続準備完了。\nバージョン: '%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_9
+ eng "You should never see it"
ER_NORMAL_SHUTDOWN
cze "%s: normální ukončení\n"
dan "%s: Normal nedlukning\n"
@@ -5055,19 +5033,19 @@ 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"
- jpn "エラー %d '%-.100s' が %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"
+ jpn "エラー %d '%-.200s' が %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"
- jpn "一時エラー %d '%-.100s' が %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"
+ jpn "一時エラー %d '%-.200s' が %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 835b0d9b15a..6854d2bd6de 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1794,10 +1794,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
{
@@ -6200,6 +6204,17 @@ static Log_event* next_event(rpl_group_info *rgi, ulonglong *event_size)
}
/*
+ We have to check sql_slave_killed() here an extra time.
+ Otherwise we may miss a wakeup, since last check was done
+ without holding LOCK_log.
+ */
+ if (sql_slave_killed(rgi))
+ {
+ mysql_mutex_unlock(log_lock);
+ break;
+ }
+
+ /*
We can, and should release data_lock while we are waiting for
update. If we do not, show slave status will block
*/
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index a297e18ab47..d9155b38066 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -163,10 +163,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 e3ce2adf862..44d68f35ab2 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -2494,6 +2494,7 @@ retry_share:
err_lock:
tdc_release_share(share);
+ DBUG_PRINT("exit", ("failed"));
DBUG_RETURN(TRUE);
}
@@ -6456,7 +6457,7 @@ find_field_in_tables(THD *thd, Item_ident *item,
*/
if (db)
return cur_field;
-
+
if (found)
{
if (report_error == REPORT_ALL_ERRORS ||
@@ -6471,7 +6472,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
@@ -7398,10 +7399,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)
@@ -7411,6 +7418,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. */
@@ -7427,22 +7447,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;
}
@@ -7456,8 +7469,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);
}
@@ -7803,12 +7819,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);
@@ -8059,7 +8072,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;
@@ -8187,11 +8200,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 541318c93a8..bcaea00b081 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -1239,6 +1239,7 @@ Sql_condition* THD::raise_condition(uint sql_errno,
got_warning= 1;
break;
case Sql_condition::WARN_LEVEL_ERROR:
+ mysql_audit_general(this, MYSQL_AUDIT_GENERAL_ERROR, sql_errno, msg);
break;
default:
DBUG_ASSERT(FALSE);
@@ -2461,6 +2462,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,
@@ -2469,7 +2471,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;
@@ -6202,12 +6204,54 @@ wait_for_commit::register_wait_for_prior_commit(wait_for_commit *waitee)
returns immediately.
*/
int
-wait_for_commit::wait_for_prior_commit2()
+wait_for_commit::wait_for_prior_commit2(THD *thd)
{
+ PSI_stage_info old_stage;
+ wait_for_commit *loc_waitee;
+
mysql_mutex_lock(&LOCK_wait_commit);
- while (waiting_for_commit)
+ DEBUG_SYNC(thd, "wait_for_prior_commit_waiting");
+ thd->ENTER_COND(&COND_wait_commit, &LOCK_wait_commit,
+ &stage_waiting_for_prior_transaction_to_commit,
+ &old_stage);
+ while (waiting_for_commit && !thd->check_killed())
mysql_cond_wait(&COND_wait_commit, &LOCK_wait_commit);
- mysql_mutex_unlock(&LOCK_wait_commit);
+ if (!waiting_for_commit)
+ {
+ if (wakeup_error)
+ my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
+ goto end;
+ }
+ /*
+ Wait was interrupted by kill. We need to unregister our wait and give the
+ error. But if a wakeup is already in progress, then we must ignore the
+ kill and not give error, otherwise we get inconsistency between waitee and
+ waiter as to whether we succeed or fail (eg. we may roll back but waitee
+ might attempt to commit both us and any subsequent commits waiting for us).
+ */
+ loc_waitee= this->waitee;
+ mysql_mutex_lock(&loc_waitee->LOCK_wait_commit);
+ if (loc_waitee->wakeup_subsequent_commits_running)
+ {
+ /* We are being woken up; ignore the kill and just wait. */
+ mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+ do
+ {
+ mysql_cond_wait(&COND_wait_commit, &LOCK_wait_commit);
+ } while (waiting_for_commit);
+ goto end;
+ }
+ remove_from_list(&loc_waitee->subsequent_commits_list);
+ mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
+
+ DEBUG_SYNC(thd, "wait_for_prior_commit_killed");
+ wakeup_error= thd->killed_errno();
+ if (!wakeup_error)
+ wakeup_error= ER_QUERY_INTERRUPTED;
+ my_message(wakeup_error, ER(wakeup_error), MYF(0));
+
+end:
+ thd->EXIT_COND(&old_stage);
waitee= NULL;
return wakeup_error;
}
@@ -6295,7 +6339,6 @@ wait_for_commit::unregister_wait_for_prior_commit2()
if (waiting_for_commit)
{
wait_for_commit *loc_waitee= this->waitee;
- wait_for_commit **next_ptr_ptr, *cur;
mysql_mutex_lock(&loc_waitee->LOCK_wait_commit);
if (loc_waitee->wakeup_subsequent_commits_running)
{
@@ -6313,17 +6356,7 @@ wait_for_commit::unregister_wait_for_prior_commit2()
else
{
/* Remove ourselves from the list in the waitee. */
- next_ptr_ptr= &loc_waitee->subsequent_commits_list;
- while ((cur= *next_ptr_ptr) != NULL)
- {
- if (cur == this)
- {
- *next_ptr_ptr= this->next_subsequent_commit;
- break;
- }
- next_ptr_ptr= &cur->next_subsequent_commit;
- }
- waiting_for_commit= false;
+ remove_from_list(&loc_waitee->subsequent_commits_list);
mysql_mutex_unlock(&loc_waitee->LOCK_wait_commit);
}
}
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 19c1ac8f4b6..5c0684f5d68 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -119,6 +119,10 @@ enum enum_filetype { FILETYPE_CSV, FILETYPE_XML };
#define MODE_NO_ENGINE_SUBSTITUTION (1ULL << 30)
#define MODE_PAD_CHAR_TO_FULL_LENGTH (1ULL << 31)
+/* Bits for different old style modes */
+#define OLD_MODE_NO_DUP_KEY_WARNINGS_WITH_IGNORE 1
+#define OLD_MODE_NO_PROGRESS_INFO 2
+
extern char internal_table_name[2];
extern char empty_c_string[1];
extern LEX_STRING EMPTY_STR;
@@ -498,6 +502,7 @@ typedef struct system_variables
ulonglong long_query_time;
ulonglong optimizer_switch;
sql_mode_t sql_mode; ///< which non-standard SQL behaviour should be enabled
+ sql_mode_t 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;
@@ -1681,14 +1686,14 @@ struct wait_for_commit
bool wakeup_subsequent_commits_running;
void register_wait_for_prior_commit(wait_for_commit *waitee);
- int wait_for_prior_commit()
+ int wait_for_prior_commit(THD *thd)
{
/*
Quick inline check, to avoid function call and locking in the common case
where no wakeup is registered, or a registered wait was already signalled.
*/
if (waiting_for_commit)
- return wait_for_prior_commit2();
+ return wait_for_prior_commit2(thd);
else
return wakeup_error;
}
@@ -1714,10 +1719,29 @@ struct wait_for_commit
if (waiting_for_commit)
unregister_wait_for_prior_commit2();
}
+ /*
+ Remove a waiter from the list in the waitee. Used to unregister a wait.
+ The caller must be holding the locks of both waiter and waitee.
+ */
+ void remove_from_list(wait_for_commit **next_ptr_ptr)
+ {
+ wait_for_commit *cur;
+
+ while ((cur= *next_ptr_ptr) != NULL)
+ {
+ if (cur == this)
+ {
+ *next_ptr_ptr= this->next_subsequent_commit;
+ break;
+ }
+ next_ptr_ptr= &cur->next_subsequent_commit;
+ }
+ waiting_for_commit= false;
+ }
void wakeup(int wakeup_error);
- int wait_for_prior_commit2();
+ int wait_for_prior_commit2(THD *thd);
void wakeup_subsequent_commits2(int wakeup_error);
void unregister_wait_for_prior_commit2();
@@ -3571,12 +3595,7 @@ public:
int wait_for_prior_commit()
{
if (wait_for_commit_ptr)
- {
- int err= wait_for_commit_ptr->wait_for_prior_commit();
- if (err)
- my_error(ER_PRIOR_COMMIT_FAILED, MYF(0));
- return err;
- }
+ return wait_for_commit_ptr->wait_for_prior_commit(this);
return 0;
}
void wakeup_subsequent_commits(int wakeup_error)
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index 712b1606c11..ebd06a66f60 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 b764263265e..e0ecfcac72e 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1749,7 +1749,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;
@@ -1877,7 +1879,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;
}
@@ -2428,6 +2432,10 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
goto error;
dfield_ptr= copy->default_field;
}
+
+ /* 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 96dce0acf2a..7096c886281 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -497,13 +497,13 @@ 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->m_sql_cmd= NULL;
lex->duplicates= DUP_ERROR;
lex->ignore= 0;
lex->spname= NULL;
lex->sphead= NULL;
lex->spcont= NULL;
- lex->m_sql_cmd= NULL;
lex->proc_list.first= 0;
lex->escape_used= FALSE;
lex->query_tables= 0;
@@ -2109,14 +2109,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);
@@ -2309,7 +2310,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)
@@ -2575,7 +2579,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();
@@ -3312,6 +3318,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;
@@ -3340,6 +3347,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 +4085,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 +4114,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 479fa81edd7..b84aea6c140 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -2641,6 +2641,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 221ed09c215..15d7e19188e 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2221,6 +2221,7 @@ mysql_execute_command(THD *thd)
Rpl_filter *rpl_filter= thd->rpl_filter;
#endif
DBUG_ENTER("mysql_execute_command");
+
#ifdef WITH_PARTITION_STORAGE_ENGINE
thd->work_part_info= 0;
#endif
@@ -5091,6 +5092,7 @@ finish:
DBUG_ASSERT(!thd->in_active_multi_stmt_transaction() ||
thd->in_multi_stmt_transaction_mode());
+ lex->unit.cleanup();
if (! thd->in_sub_stmt)
{
@@ -5122,7 +5124,6 @@ finish:
ha_maria::implicit_commit(thd, FALSE);
#endif
}
- lex->unit.cleanup();
/* Free tables */
THD_STAGE_INFO(thd, stage_closing_tables);
@@ -6739,7 +6740,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 3e19a33ee32..5e256522119 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -5225,6 +5225,8 @@ that are reorganised.
}
else if (alter_info->flags & Alter_info::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 747e51df16d..c7b7b7948a0 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;
@@ -203,7 +204,7 @@ ulong dlopen_count;
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;
@@ -290,8 +291,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 *,
@@ -1037,8 +1038,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;
@@ -1075,7 +1075,6 @@ static bool plugin_add(MEM_ROOT *tmp_root,
dupes++;
continue; // already installed
}
-
struct st_plugin_int *tmp_plugin_ptr;
if (*(int*)plugin->info <
min_plugin_info_interface_version[plugin->type] ||
@@ -1106,14 +1105,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);
goto err;
- }
plugin_array_version++;
if (my_hash_insert(&plugin_hash[plugin->type], (uchar*)tmp_plugin_ptr))
tmp_plugin_ptr->state= PLUGIN_IS_FREED;
@@ -1128,8 +1122,6 @@ static bool plugin_add(MEM_ROOT *tmp_root,
err:
errs++;
- if (tmp.nbackups)
- restore_ptr_backup(tmp.nbackups, tmp.ptr_backup);
if (name->str)
break;
}
@@ -1198,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);
+
+ mysql_del_sys_var_chain(plugin->system_vars);
}
static void plugin_del(struct st_plugin_int *plugin)
@@ -1205,11 +1199,8 @@ 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_ptr_backup(plugin->nbackups, plugin->ptr_backup);
plugin_vars_free_values(plugin->system_vars);
+ restore_ptr_backup(plugin->nbackups, plugin->ptr_backup);
my_hash_delete(&plugin_hash[plugin->plugin->type], (uchar*)plugin);
plugin_dl_del(plugin->plugin_dl);
plugin->state= PLUGIN_IS_FREED;
@@ -1343,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");
@@ -1353,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))
@@ -1412,6 +1416,9 @@ static int plugin_initialize(struct st_plugin_int *plugin)
ret= 0;
err:
+ if (ret)
+ mysql_del_sys_var_chain(plugin->system_vars);
+
mysql_mutex_lock(&LOCK_plugin);
plugin->state= state;
@@ -1504,6 +1511,7 @@ int plugin_init(int *argc, char **argv, int flags)
#endif
init_alloc_root(&plugin_mem_root, 4096, 4096, MYF(0));
+ init_alloc_root(&plugin_vars_mem_root, 4096, 4096, MYF(0));
init_alloc_root(&tmp_root, 4096, 4096, MYF(0));
if (my_hash_init(&bookmark_hash, &my_charset_bin, 16, 0, 0,
@@ -1571,10 +1579,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;
@@ -1589,15 +1594,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;
}
/*
@@ -1625,15 +1627,12 @@ int plugin_init(int *argc, char **argv, int flags)
I_List_iterator<i_string> iter(opt_plugin_load_list);
i_string *item;
while (NULL != (item= iter++))
- plugin_load_list(&tmp_root, argc, argv, item->ptr);
+ plugin_load_list(&tmp_root, item->ptr);
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
*/
@@ -1645,9 +1644,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;
@@ -1674,7 +1674,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);
@@ -1713,7 +1712,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)
{
TABLE_LIST tables;
TABLE *table;
@@ -1772,7 +1771,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));
@@ -1794,8 +1793,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;
@@ -1830,14 +1828,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);
@@ -1995,6 +1993,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;
@@ -2006,28 +2005,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, Sql_condition::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.");
@@ -2035,6 +2028,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, Sql_condition::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
@@ -2084,6 +2084,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.
@@ -2110,23 +2116,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);
@@ -2134,22 +2129,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);
}
@@ -2872,7 +2865,7 @@ 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]= plugin_var_bookmark_key(flags);
memcpy(result->key, varname, length);
@@ -3840,7 +3833,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 62c935db544..1450d5c03ea 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -881,7 +881,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 1a1a39ad166..dd23400f387 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -1078,8 +1078,10 @@ JOIN::optimize_inner()
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();
+
/*
In fact we transform underlying subqueries after their 'prepare' phase and
before 'optimize' from upper query 'optimize' to allow semijoin
@@ -1158,11 +1160,8 @@ TODO: make view to decide if it is possible to write to WHERE directly or make S
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;
@@ -2431,6 +2430,7 @@ void JOIN::exec_inner()
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()) &&
@@ -2441,16 +2441,15 @@ void JOIN::exec_inner()
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->get_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 */
@@ -3391,7 +3390,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
@@ -11452,6 +11451,16 @@ void JOIN::cleanup(bool full)
{
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;
@@ -11672,6 +11681,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.
@@ -11679,9 +11690,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
@@ -11694,7 +11706,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;
@@ -11708,7 +11720,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
@@ -11777,6 +11788,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;
@@ -15420,7 +15442,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)));
@@ -15868,23 +15891,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++;
@@ -16855,7 +16863,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_STAGE_INFO(thd, stage_removing_tmp_table);
@@ -18815,19 +18824,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 */
@@ -19481,7 +19477,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)
@@ -19505,11 +19501,12 @@ 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.
@@ -19518,7 +19515,7 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx,
reverse == 0)
{
key_parts= 0;
- reverse= 1;
+ reverse= 1; // Key is ok to use
goto ok;
}
}
@@ -20103,7 +20100,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.
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 17767a2afb3..2ab34ece903 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -2220,7 +2220,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;
@@ -2292,6 +2293,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;
@@ -2326,7 +2328,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_time.cc b/sql/sql_time.cc
index b194d46643e..5ef7b2c7c34 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, Sql_condition::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.
diff --git a/sql/sql_time.h b/sql/sql_time.h
index 6a8c78ecd5e..e27102b15d3 100644
--- a/sql/sql_time.h
+++ b/sql/sql_time.h
@@ -127,5 +127,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 d143930908d..ff2da863db8 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -653,7 +653,10 @@ bool st_select_lex_unit::exec()
{
ha_rows records_at_start= 0;
thd->lex->current_select= sl;
- fake_select_lex->uncacheable|= sl->uncacheable;
+ if (sl != &thd->lex->select_lex)
+ fake_select_lex->uncacheable|= sl->uncacheable;
+ else
+ fake_select_lex->uncacheable= 0;
{
set_limit(sl);
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index e1c92a81604..5093398fa40 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -1093,11 +1093,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 f8724943676..3315c2d4d17 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -10263,7 +10263,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
@@ -10272,7 +10272,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 edd6e7b12a4..77f437243c8 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
@@ -1951,7 +1951,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(
@@ -2361,9 +2361,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",
@@ -2787,6 +2791,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 08a12b91a7a..87cd2adc542 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -773,7 +773,6 @@ static bool create_key_infos(const uchar *strpos, const uchar *frm_image_end,
keyinfo->ext_key_part_map= 0;
if (share->use_ext_keys && i && !(keyinfo->flags & HA_NOSAME))
{
- keyinfo->ext_key_part_map= 0;
for (j= 0;
j < first_key_parts && keyinfo->ext_key_parts < MAX_REF_PARTS;
j++)
@@ -4126,8 +4125,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())
@@ -4148,7 +4148,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.
*/
@@ -4161,13 +4161,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 */
@@ -4187,12 +4184,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);
}
diff --git a/sql/tztime.cc b/sql/tztime.cc
index 2026ed425f2..94fcfc7bfcf 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
{
@@ -2387,7 +2391,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.
@@ -2472,6 +2475,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
@@ -2480,6 +2492,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
@@ -2495,7 +2509,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;
@@ -2536,12 +2550,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;
@@ -2554,10 +2577,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));
}
@@ -2576,34 +2617,114 @@ 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;
}
-
- 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;
}
@@ -2614,32 +2735,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, MYF(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/maria/ha_maria.cc b/storage/maria/ha_maria.cc
index 6edf7b2574f..5c410151456 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
@@ -1547,7 +1548,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;
@@ -1581,7 +1582,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;
@@ -1651,6 +1652,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)
{
@@ -1674,7 +1680,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();
@@ -1969,6 +1976,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 a3928234010..e21690a6b53 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>
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 3645bf69960..33d97a186dd 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 433862ea54a..421dc8392e3 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 065063fcb07..a9af6e69154 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 d2d14092cac..daccf3550c2 100644
--- a/storage/maria/trnman.c
+++ b/storage/maria/trnman.c
@@ -386,8 +386,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 4fb51e610bb..0178e2abfa9 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
@@ -774,7 +775,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 */
}
@@ -1079,7 +1080,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/oqgraph/mysql-test/oqgraph/create_attr.result b/storage/oqgraph/mysql-test/oqgraph/create_attr.result
index 57b44c05770..e9499cb7d21 100644
--- a/storage/oqgraph/mysql-test/oqgraph/create_attr.result
+++ b/storage/oqgraph/mysql-test/oqgraph/create_attr.result
@@ -91,7 +91,7 @@ DROP TABLE IF EXISTS oqtable;
CREATE TABLE oqtable ( latch varchar(32) NULL, origid BIGINT UNSIGNED NULL, destid BIGINT UNSIGNED NULL, weight DOUBLE NULL, seq BIGINT UNSIGNED NULL, linkid BIGINT UNSIGNED NULL, KEY (latch, origid, destid) USING HASH, KEY (latch, destid, origid) USING HASH ) ENGINE=OQGRAPH, DATA_TABLE='backing',ORIGID='id',DESTID='not_id_type';
# Expect 'Column 'backing.not_id_type' is not a not-null integer type'
DESCRIBE oqtable;
-ERROR HY000: Got error -1 'Column 'backing.not_id_type' (destid) is not a not-null integer type or is a different type to origi' from OQGRAPH
+ERROR HY000: Got error -1 'Column 'backing.not_id_type' (destid) is not a not-null integer type or is a different type to origid attribute.' from OQGRAPH
DROP TABLE IF EXISTS oqtable;
CREATE TABLE oqtable ( latch varchar(32) NULL, origid BIGINT UNSIGNED NULL, destid BIGINT UNSIGNED NULL, weight DOUBLE NULL, seq BIGINT UNSIGNED NULL, linkid BIGINT UNSIGNED NULL, KEY (latch, origid, destid) USING HASH, KEY (latch, destid, origid) USING HASH ) ENGINE=OQGRAPH, DATA_TABLE='backing',ORIGID='id',DESTID='id';
# Expect 'Invalid OQGRAPH backing store ('/oqtable'.destid attribute set to same column as origid attribute)'
diff --git a/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.result b/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.result
index 3af2359506d..02b30eed85b 100644
--- a/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.result
+++ b/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.result
@@ -89,7 +89,7 @@ CREATE TABLE oqtable ( latch SMALLINT UNSIGNED NULL, origid BIGINT UNSIGNED NULL
Warnings:
Warning 1287 'latch SMALLINT UNSIGNED NULL' is deprecated and will be removed in a future release. Please use 'latch VARCHAR(32) NULL' instead
DESCRIBE oqtable;
-ERROR HY000: Got error -1 'Column 'backing.not_id_type' (destid) is not a not-null integer type or is a different type to origi' from OQGRAPH
+ERROR HY000: Got error -1 'Column 'backing.not_id_type' (destid) is not a not-null integer type or is a different type to origid attribute.' from OQGRAPH
DROP TABLE IF EXISTS oqtable;
CREATE TABLE oqtable ( latch SMALLINT UNSIGNED NULL, origid BIGINT UNSIGNED NULL, destid BIGINT UNSIGNED NULL, weight DOUBLE NULL, seq BIGINT UNSIGNED NULL, linkid BIGINT UNSIGNED NULL, KEY (latch, origid, destid) USING HASH, KEY (latch, destid, origid) USING HASH ) ENGINE=OQGRAPH, DATA_TABLE='backing',ORIGID='bogus',DESTID='id';
Warnings:
diff --git a/storage/sequence/mysql-test/sequence/suite.pm b/storage/sequence/mysql-test/sequence/suite.pm
index 42333bb2870..3964415db73 100644
--- a/storage/sequence/mysql-test/sequence/suite.pm
+++ b/storage/sequence/mysql-test/sequence/suite.pm
@@ -1,5 +1,4 @@
package My::Suite::Sequence;
-
@ISA = qw(My::Suite);
sub is_default { 1 }
diff --git a/storage/test_sql_discovery/mysql-test/sql_discovery/suite.pm b/storage/test_sql_discovery/mysql-test/sql_discovery/suite.pm
index b60e189f2b0..22f22514b3a 100644
--- a/storage/test_sql_discovery/mysql-test/sql_discovery/suite.pm
+++ b/storage/test_sql_discovery/mysql-test/sql_discovery/suite.pm
@@ -1,5 +1,4 @@
package My::Suite::SQL_Discovery;
-
@ISA = qw(My::Suite);
sub is_default { 1 }
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 da086d2b7da..a45809b719a 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 index i_a on s(a) clustering=yes;
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/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.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_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/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/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/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/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/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/strings/CMakeLists.txt b/strings/CMakeLists.txt
index 1b26b3d962a..7905c46e11a 100644
--- a/strings/CMakeLists.txt
+++ b/strings/CMakeLists.txt
@@ -35,3 +35,8 @@ ADD_CONVENIENCE_LIBRARY(strings ${STRINGS_SOURCES})
ADD_EXECUTABLE(conf_to_src EXCLUDE_FROM_ALL conf_to_src.c)
TARGET_LINK_LIBRARIES(conf_to_src strings)
+
+INSTALL_DEBUG_SYMBOLS(strings)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(strings DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 800b333a5cf..d8de3a41e7f 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -1058,7 +1058,9 @@ echo "=====" >> $STATUS_HISTORY
%doc release/Docs/INFO_BIN*
%doc release/support-files/my-*.cnf
+%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*
@@ -1215,6 +1217,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/vio/CMakeLists.txt b/vio/CMakeLists.txt
index 43171179e66..f4429fb65b6 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 viopipe.c vioshm.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()
+