summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/btr/btr0cur.c31
-rw-r--r--storage/innobase/btr/btr0pcur.c46
-rw-r--r--storage/innobase/dict/dict0dict.c13
-rw-r--r--storage/innobase/fil/fil0fil.c2
-rw-r--r--storage/innobase/handler/ha_innodb.cc82
-rw-r--r--storage/innobase/ibuf/ibuf0ibuf.c29
-rw-r--r--storage/innobase/include/btr0cur.h15
-rw-r--r--storage/innobase/include/btr0pcur.h44
-rw-r--r--storage/innobase/include/btr0pcur.ic4
-rw-r--r--storage/innobase/include/btr0sea.h2
-rw-r--r--storage/innobase/include/dict0types.h5
-rw-r--r--storage/innobase/include/ibuf0ibuf.h5
-rw-r--r--storage/innobase/include/log0log.h2
-rw-r--r--storage/innobase/log/log0log.c110
-rw-r--r--storage/innobase/row/row0sel.c103
-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/CMakeLists.txt34
-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--storage/tokudb/tokudb.cnf6
-rw-r--r--storage/xtradb/btr/btr0cur.c31
-rw-r--r--storage/xtradb/btr/btr0pcur.c46
-rw-r--r--storage/xtradb/buf/buf0buf.c6
-rw-r--r--storage/xtradb/buf/buf0flu.c10
-rw-r--r--storage/xtradb/dict/dict0dict.c13
-rw-r--r--storage/xtradb/fil/fil0fil.c3
-rw-r--r--storage/xtradb/handler/ha_innodb.cc82
-rw-r--r--storage/xtradb/handler/i_s.cc4
-rw-r--r--storage/xtradb/ibuf/ibuf0ibuf.c29
-rw-r--r--storage/xtradb/include/btr0cur.h15
-rw-r--r--storage/xtradb/include/btr0pcur.h44
-rw-r--r--storage/xtradb/include/btr0pcur.ic4
-rw-r--r--storage/xtradb/include/btr0sea.h2
-rw-r--r--storage/xtradb/include/dict0types.h5
-rw-r--r--storage/xtradb/include/ibuf0ibuf.h5
-rw-r--r--storage/xtradb/include/log0log.h2
-rw-r--r--storage/xtradb/include/univ.i2
-rw-r--r--storage/xtradb/log/log0log.c116
-rw-r--r--storage/xtradb/log/log0online.c19
-rw-r--r--storage/xtradb/row/row0sel.c103
-rw-r--r--storage/xtradb/trx/trx0trx.c8
103 files changed, 9399 insertions, 297 deletions
diff --git a/storage/innobase/btr/btr0cur.c b/storage/innobase/btr/btr0cur.c
index 81a482e2854..7762907b6aa 100644
--- a/storage/innobase/btr/btr0cur.c
+++ b/storage/innobase/btr/btr0cur.c
@@ -61,6 +61,7 @@ Created 10/16/1994 Heikki Tuuri
#include "row0upd.h"
#include "trx0rec.h"
#include "trx0roll.h" /* trx_is_recv() */
+#include "trx0undo.h"
#include "que0que.h"
#include "row0row.h"
#include "srv0srv.h"
@@ -1631,7 +1632,7 @@ btr_cur_upd_lock_and_undo(
/***********************************************************//**
Writes a redo log record of updating a record in-place. */
-UNIV_INLINE
+UNIV_INTERN
void
btr_cur_update_in_place_log(
/*========================*/
@@ -1659,18 +1660,30 @@ btr_cur_update_in_place_log(
return;
}
- /* The code below assumes index is a clustered index: change index to
- the clustered index if we are updating a secondary index record (or we
- could as well skip writing the sys col values to the log in this case
- because they are not needed for a secondary index record update) */
-
- index = dict_table_get_first_index(index->table);
+ /* For secondary indexes, we could skip writing the dummy system fields
+ to the redo log but we have to change redo log parsing of
+ MLOG_REC_UPDATE_IN_PLACE/MLOG_COMP_REC_UPDATE_IN_PLACE or we have to add
+ new redo log record. For now, just write dummy sys fields to the redo
+ log if we are updating a secondary index record.
+ */
mach_write_to_1(log_ptr, flags);
log_ptr++;
- log_ptr = row_upd_write_sys_vals_to_log(index, trx, roll_ptr, log_ptr,
- mtr);
+ if (dict_index_is_clust(index)) {
+ log_ptr = row_upd_write_sys_vals_to_log(
+ index, trx, roll_ptr, log_ptr, mtr);
+ } else {
+ /* Dummy system fields for a secondary index */
+ /* TRX_ID Position */
+ log_ptr += mach_write_compressed(log_ptr, 0);
+ /* ROLL_PTR */
+ trx_write_roll_ptr(log_ptr, 0);
+ log_ptr += DATA_ROLL_PTR_LEN;
+ /* TRX_ID */
+ log_ptr += mach_ull_write_compressed(log_ptr, 0);
+ }
+
mach_write_to_2(log_ptr, page_offset(rec));
log_ptr += 2;
diff --git a/storage/innobase/btr/btr0pcur.c b/storage/innobase/btr/btr0pcur.c
index 0cfdf138bad..09b3715e096 100644
--- a/storage/innobase/btr/btr0pcur.c
+++ b/storage/innobase/btr/btr0pcur.c
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -110,7 +110,7 @@ btr_pcur_store_position(
page_t* page;
ulint offs;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
block = btr_pcur_get_block(cursor);
@@ -124,7 +124,6 @@ btr_pcur_store_position(
ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_S_FIX)
|| mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX));
- ut_a(cursor->latch_mode != BTR_NO_LATCHES);
if (UNIV_UNLIKELY(page_get_n_recs(page) == 0)) {
/* It must be an empty index tree; NOTE that in this case
@@ -235,21 +234,12 @@ btr_pcur_restore_position_func(
ut_ad(mtr);
ut_ad(mtr->state == MTR_ACTIVE);
+ ut_ad(cursor->old_stored == BTR_PCUR_OLD_STORED);
+ ut_ad(cursor->pos_state == BTR_PCUR_WAS_POSITIONED
+ || cursor->pos_state == BTR_PCUR_IS_POSITIONED);
index = btr_cur_get_index(btr_pcur_get_btr_cur(cursor));
- if (UNIV_UNLIKELY(cursor->old_stored != BTR_PCUR_OLD_STORED)
- || UNIV_UNLIKELY(cursor->pos_state != BTR_PCUR_WAS_POSITIONED
- && cursor->pos_state != BTR_PCUR_IS_POSITIONED)) {
- ut_print_buf(stderr, cursor, sizeof(btr_pcur_t));
- putc('\n', stderr);
- if (cursor->trx_if_known) {
- trx_print(stderr, cursor->trx_if_known, 0);
- }
-
- ut_error;
- }
-
if (UNIV_UNLIKELY
(cursor->rel_pos == BTR_PCUR_AFTER_LAST_IN_TREE
|| cursor->rel_pos == BTR_PCUR_BEFORE_FIRST_IN_TREE)) {
@@ -273,14 +263,14 @@ btr_pcur_restore_position_func(
if (UNIV_LIKELY(latch_mode == BTR_SEARCH_LEAF)
|| UNIV_LIKELY(latch_mode == BTR_MODIFY_LEAF)) {
- /* Try optimistic restoration */
+ /* Try optimistic restoration. */
- if (UNIV_LIKELY(buf_page_optimistic_get(
- latch_mode,
- cursor->block_when_stored,
- cursor->modify_clock,
- file, line, mtr))) {
+ if (buf_page_optimistic_get(latch_mode,
+ cursor->block_when_stored,
+ cursor->modify_clock,
+ file, line, mtr)) {
cursor->pos_state = BTR_PCUR_IS_POSITIONED;
+ cursor->latch_mode = latch_mode;
buf_block_dbg_add_level(
btr_pcur_get_block(cursor),
@@ -292,9 +282,6 @@ btr_pcur_restore_position_func(
const rec_t* rec;
const ulint* offsets1;
const ulint* offsets2;
-#endif /* UNIV_DEBUG */
- cursor->latch_mode = latch_mode;
-#ifdef UNIV_DEBUG
rec = btr_pcur_get_rec(cursor);
heap = mem_heap_create(256);
@@ -312,7 +299,13 @@ btr_pcur_restore_position_func(
#endif /* UNIV_DEBUG */
return(TRUE);
}
-
+ /* This is the same record as stored,
+ may need to be adjusted for BTR_PCUR_BEFORE/AFTER,
+ depending on search mode and direction. */
+ if (btr_pcur_is_on_user_rec(cursor)) {
+ cursor->pos_state
+ = BTR_PCUR_IS_POSITIONED_OPTIMISTIC;
+ }
return(FALSE);
}
}
@@ -414,7 +407,7 @@ btr_pcur_move_to_next_page(
buf_block_t* next_block;
page_t* next_page;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_after_last_on_page(cursor));
@@ -469,7 +462,6 @@ btr_pcur_move_backward_from_page(
ulint latch_mode;
ulint latch_mode2;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_before_first_on_page(cursor));
ut_ad(!btr_pcur_is_before_first_in_tree(cursor, mtr));
diff --git a/storage/innobase/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c
index c3f64046da0..546794be26c 100644
--- a/storage/innobase/dict/dict0dict.c
+++ b/storage/innobase/dict/dict0dict.c
@@ -36,6 +36,11 @@ UNIV_INTERN dict_index_t* dict_ind_redundant;
/** dummy index for ROW_FORMAT=COMPACT supremum and infimum records */
UNIV_INTERN dict_index_t* dict_ind_compact;
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+UNIV_INTERN uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#ifndef UNIV_HOTBACKUP
#include "buf0buf.h"
#include "data0type.h"
@@ -4480,6 +4485,8 @@ dict_update_statistics(
dict_index_t* index;
ulint sum_of_index_sizes = 0;
+ DBUG_EXECUTE_IF("skip_innodb_statistics", return;);
+
if (table->ibd_file_missing) {
ut_print_timestamp(stderr);
fprintf(stderr,
@@ -4520,6 +4527,12 @@ dict_update_statistics(
continue;
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug && !dict_index_is_clust(index)) {
+ goto fake_statistics;
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
if (UNIV_LIKELY
(srv_force_recovery < SRV_FORCE_NO_IBUF_MERGE
|| (srv_force_recovery < SRV_FORCE_NO_LOG_REDO
diff --git a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c
index 3a19a730126..700d1404193 100644
--- a/storage/innobase/fil/fil0fil.c
+++ b/storage/innobase/fil/fil0fil.c
@@ -3531,7 +3531,7 @@ fil_load_single_table_tablespace(
if (check_msg) {
fprintf(stderr,
- "InnoDB: Error: %s in file %s",
+ "InnoDB: Error: %s in file %s\n",
check_msg, filepath);
goto func_exit;
}
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 414661ca275..3ea36355d67 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -53,6 +53,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <innodb_priv.h>
#include <mysql/psi/psi.h>
#include <my_sys.h>
+#include <my_check_opt.h>
#ifdef _WIN32
#include <io.h>
@@ -8036,6 +8037,10 @@ ha_innobase::records_in_range(
/* There exists possibility of not being able to find requested
index due to inconsistency between MySQL and InoDB dictionary info.
Necessary message should have been printed in innobase_get_index() */
+ if (prebuilt->table->ibd_file_missing) {
+ n_rows = HA_POS_ERROR;
+ goto func_exit;
+ }
if (UNIV_UNLIKELY(!index)) {
n_rows = HA_POS_ERROR;
goto func_exit;
@@ -8764,8 +8769,7 @@ int
ha_innobase::check(
/*===============*/
THD* thd, /*!< in: user thread handle */
- HA_CHECK_OPT* check_opt) /*!< in: check options, currently
- ignored */
+ HA_CHECK_OPT* check_opt) /*!< in: check options */
{
dict_index_t* index;
ulint n_rows;
@@ -8822,11 +8826,6 @@ ha_innobase::check(
do additional check */
prebuilt->table->corrupted = FALSE;
- /* Enlarge the fatal lock wait timeout during CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold += SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
for (index = dict_table_get_first_index(prebuilt->table);
index != NULL;
index = dict_table_get_next_index(index)) {
@@ -8839,20 +8838,41 @@ ha_innobase::check(
/* If this is an index being created, break */
if (*index->name == TEMP_INDEX_PREFIX) {
- break;
- } else if (!btr_validate_index(index, prebuilt->trx)) {
- is_ok = FALSE;
+ continue;
+ }
+ if (!(check_opt->flags & T_QUICK)) {
+ /* Enlarge the fatal lock wait timeout during
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold +=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ ibool valid = TRUE;
+ valid = btr_validate_index(index, prebuilt->trx);
+
+ /* Restore the fatal lock wait timeout after
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold -=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ if (!valid) {
+ is_ok = FALSE;
- innobase_format_name(
- index_name, sizeof index_name,
- prebuilt->index->name, TRUE);
+ innobase_format_name(
+ index_name, sizeof index_name,
+ index->name, TRUE);
+ push_warning_printf(thd,
+ MYSQL_ERROR::WARN_LEVEL_WARN,
+ ER_NOT_KEYFILE,
+ "InnoDB: The B-tree of"
+ " index %s is corrupted.",
+ index_name);
- push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- ER_NOT_KEYFILE,
- "InnoDB: The B-tree of"
- " index %s is corrupted.",
- index_name);
- continue;
+ continue;
+ }
}
/* Instead of invoking change_active_index(), set up
@@ -8956,21 +8976,17 @@ ha_innobase::check(
/* Restore the original isolation level */
prebuilt->trx->isolation_level = old_isolation_level;
- /* We validate also the whole adaptive hash index for all tables
- at every CHECK TABLE */
+#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
+ /* We validate the whole adaptive hash index for all tables
+ at every CHECK TABLE only when QUICK flag is not present. */
- if (!btr_search_validate()) {
+ if (!(check_opt->flags & T_QUICK) && !btr_search_validate()) {
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
ER_NOT_KEYFILE,
"InnoDB: The adaptive hash index is corrupted.");
is_ok = FALSE;
}
-
- /* Restore the fatal lock wait timeout after CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold -= SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
+#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
prebuilt->trx->op_info = "";
if (thd_kill_level(user_thd)) {
my_error(ER_QUERY_INTERRUPTED, MYF(0));
@@ -9824,7 +9840,7 @@ innodb_show_status(
const long MAX_STATUS_SIZE = 1048576;
ulint trx_list_start = ULINT_UNDEFINED;
ulint trx_list_end = ULINT_UNDEFINED;
- bool res;
+ bool ret_val;
DBUG_ENTER("innodb_show_status");
DBUG_ASSERT(hton == innodb_hton_ptr);
@@ -9889,13 +9905,13 @@ innodb_show_status(
mutex_exit(&srv_monitor_file_mutex);
- res= stat_print(thd, innobase_hton_name,
- (uint) strlen(innobase_hton_name),
- STRING_WITH_LEN(""), str, flen);
+ ret_val= stat_print(thd, innobase_hton_name,
+ (uint) strlen(innobase_hton_name),
+ STRING_WITH_LEN(""), str, flen);
my_free(str);
- DBUG_RETURN(res);
+ DBUG_RETURN(ret_val);
}
/************************************************************************//**
diff --git a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c
index 306cdefc304..d22fc8b9962 100644
--- a/storage/innobase/ibuf/ibuf0ibuf.c
+++ b/storage/innobase/ibuf/ibuf0ibuf.c
@@ -193,11 +193,6 @@ access order rules. */
/** Operations that can currently be buffered. */
UNIV_INTERN ibuf_use_t ibuf_use = IBUF_USE_ALL;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-UNIV_INTERN uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
UNIV_INTERN ibuf_t* ibuf = NULL;
@@ -2649,6 +2644,12 @@ ibuf_contract_ext(
return(0);
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug) {
+ return(0);
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
ibuf_mtr_start(&mtr);
/* Open a cursor to a randomly chosen leaf of the tree, at a random
@@ -4016,6 +4017,24 @@ updated_in_place:
to btr_cur_update_in_place(). */
row_upd_rec_in_place(rec, index, offsets,
update, page_zip);
+
+ /* Log the update in place operation. During recovery
+ MLOG_COMP_REC_UPDATE_IN_PLACE/MLOG_REC_UPDATE_IN_PLACE
+ expects trx_id, roll_ptr for secondary indexes. So we
+ just write dummy trx_id(0), roll_ptr(0) */
+ btr_cur_update_in_place_log(BTR_KEEP_SYS_FLAG, rec,
+ index, update,
+ NULL, 0, mtr);
+ DBUG_EXECUTE_IF(
+ "crash_after_log_ibuf_upd_inplace",
+ log_buffer_flush_to_disk();
+ fprintf(stderr,
+ "InnoDB: Wrote log record for ibuf "
+ "update in place operation\n");
+ DBUG_SUICIDE();
+ );
+
+
goto updated_in_place;
}
diff --git a/storage/innobase/include/btr0cur.h b/storage/innobase/include/btr0cur.h
index 283a6eec852..78637ea7295 100644
--- a/storage/innobase/include/btr0cur.h
+++ b/storage/innobase/include/btr0cur.h
@@ -636,6 +636,21 @@ btr_cur_set_deleted_flag_for_ibuf(
uncompressed */
ibool val, /*!< in: value to set */
mtr_t* mtr); /*!< in/out: mini-transaction */
+
+/***********************************************************//**
+Writes a redo log record of updating a record in-place. */
+UNIV_INTERN
+void
+btr_cur_update_in_place_log(
+/*========================*/
+ ulint flags, /*!< in: flags */
+ rec_t* rec, /*!< in: record */
+ dict_index_t* index, /*!< in: index where cursor positioned */
+ const upd_t* update, /*!< in: update vector */
+ trx_t* trx, /*!< in: transaction */
+ roll_ptr_t roll_ptr, /*!< in: roll ptr */
+ mtr_t* mtr); /*!< in: mtr */
+
/*######################################################################*/
/** In the pessimistic delete, if the page data size drops below this
diff --git a/storage/innobase/include/btr0pcur.h b/storage/innobase/include/btr0pcur.h
index 4312f73ca4a..d9ce02283d7 100644
--- a/storage/innobase/include/btr0pcur.h
+++ b/storage/innobase/include/btr0pcur.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -447,6 +447,27 @@ btr_pcur_move_to_prev_on_page(
/*==========================*/
btr_pcur_t* cursor);/*!< in/out: persistent cursor */
+/** Position state of persistent B-tree cursor. */
+enum pcur_pos_t {
+ /** The persistent cursor is not positioned. */
+ BTR_PCUR_NOT_POSITIONED = 0,
+ /** The persistent cursor was previously positioned.
+ TODO: currently, the state can be BTR_PCUR_IS_POSITIONED,
+ though it really should be BTR_PCUR_WAS_POSITIONED,
+ because we have no obligation to commit the cursor with
+ mtr; similarly latch_mode may be out of date. This can
+ lead to problems if btr_pcur is not used the right way;
+ all current code should be ok. */
+ BTR_PCUR_WAS_POSITIONED,
+ /** The persistent cursor is positioned by optimistic get to the same
+ record as it was positioned at. Not used for rel_pos == BTR_PCUR_ON.
+ It may need adjustment depending on previous/current search direction
+ and rel_pos. */
+ BTR_PCUR_IS_POSITIONED_OPTIMISTIC,
+ /** The persistent cursor is positioned by index search.
+ Or optimistic get for rel_pos == BTR_PCUR_ON. */
+ BTR_PCUR_IS_POSITIONED
+};
/* The persistent B-tree cursor structure. This is used mainly for SQL
selects, updates, and deletes. */
@@ -480,10 +501,8 @@ struct btr_pcur_struct{
ib_uint64_t modify_clock; /*!< the modify clock value of the
buffer block when the cursor position
was stored */
- ulint pos_state; /*!< see TODO note below!
- BTR_PCUR_IS_POSITIONED,
- BTR_PCUR_WAS_POSITIONED,
- BTR_PCUR_NOT_POSITIONED */
+ enum pcur_pos_t pos_state; /*!< btr_pcur_store_position() and
+ btr_pcur_restore_position() state. */
ulint search_mode; /*!< PAGE_CUR_G, ... */
trx_t* trx_if_known; /*!< the transaction, if we know it;
otherwise this field is not defined;
@@ -499,21 +518,6 @@ struct btr_pcur_struct{
is not NULL */
};
-#define BTR_PCUR_IS_POSITIONED 1997660512 /* TODO: currently, the state
- can be BTR_PCUR_IS_POSITIONED,
- though it really should be
- BTR_PCUR_WAS_POSITIONED,
- because we have no obligation
- to commit the cursor with
- mtr; similarly latch_mode may
- be out of date. This can
- lead to problems if btr_pcur
- is not used the right way;
- all current code should be
- ok. */
-#define BTR_PCUR_WAS_POSITIONED 1187549791
-#define BTR_PCUR_NOT_POSITIONED 1328997689
-
#define BTR_PCUR_OLD_STORED 908467085
#define BTR_PCUR_OLD_NOT_STORED 122766467
diff --git a/storage/innobase/include/btr0pcur.ic b/storage/innobase/include/btr0pcur.ic
index 696dfc728dc..647e8d0cde9 100644
--- a/storage/innobase/include/btr0pcur.ic
+++ b/storage/innobase/include/btr0pcur.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -379,7 +379,7 @@ btr_pcur_commit_specify_mtr(
btr_pcur_t* pcur, /*!< in: persistent cursor */
mtr_t* mtr) /*!< in: mtr to commit */
{
- ut_a(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
pcur->latch_mode = BTR_NO_LATCHES;
diff --git a/storage/innobase/include/btr0sea.h b/storage/innobase/include/btr0sea.h
index 0ee68101ee7..081dc88435e 100644
--- a/storage/innobase/include/btr0sea.h
+++ b/storage/innobase/include/btr0sea.h
@@ -188,8 +188,6 @@ UNIV_INTERN
ibool
btr_search_validate(void);
/*======================*/
-#else
-# define btr_search_validate() TRUE
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
/** The search info struct in an index */
diff --git a/storage/innobase/include/dict0types.h b/storage/innobase/include/dict0types.h
index 330e6a25114..22407e2408e 100644
--- a/storage/innobase/include/dict0types.h
+++ b/storage/innobase/include/dict0types.h
@@ -63,4 +63,9 @@ typedef enum dict_err_ignore dict_err_ignore_t;
#define TEMP_TABLE_PREFIX "#sql"
#define TEMP_TABLE_PATH_PREFIX "/" TEMP_TABLE_PREFIX
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+extern uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#endif
diff --git a/storage/innobase/include/ibuf0ibuf.h b/storage/innobase/include/ibuf0ibuf.h
index 7fa077d5c8f..b34d06ffde3 100644
--- a/storage/innobase/include/ibuf0ibuf.h
+++ b/storage/innobase/include/ibuf0ibuf.h
@@ -63,11 +63,6 @@ typedef enum {
/** Operations that can currently be buffered. */
extern ibuf_use_t ibuf_use;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-extern uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
extern ibuf_t* ibuf;
diff --git a/storage/innobase/include/log0log.h b/storage/innobase/include/log0log.h
index f280deeee77..dea16080465 100644
--- a/storage/innobase/include/log0log.h
+++ b/storage/innobase/include/log0log.h
@@ -816,6 +816,8 @@ struct log_struct{
later; this is advanced when a flush
operation is completed to all the log
groups */
+ volatile ibool is_extending; /*!< this is set to true during extend
+ the log buffer size */
ib_uint64_t written_to_some_lsn;
/*!< first log sequence number not yet
written to any log group; for this to
diff --git a/storage/innobase/log/log0log.c b/storage/innobase/log/log0log.c
index 412fab86858..233d35ea4c4 100644
--- a/storage/innobase/log/log0log.c
+++ b/storage/innobase/log/log0log.c
@@ -214,6 +214,85 @@ log_buf_pool_get_oldest_modification(void)
return(lsn);
}
+/** Extends the log buffer.
+@param[in] len requested minimum size in bytes */
+static
+void
+log_buffer_extend(
+ ulint len)
+{
+ ulint move_start;
+ ulint move_end;
+ byte tmp_buf[OS_FILE_LOG_BLOCK_SIZE];
+
+ mutex_enter(&(log_sys->mutex));
+
+ while (log_sys->is_extending) {
+ /* Another thread is trying to extend already.
+ Needs to wait for. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+
+ if (srv_log_buffer_size > len / UNIV_PAGE_SIZE) {
+ /* Already extended enough by the others */
+ mutex_exit(&(log_sys->mutex));
+ return;
+ }
+ }
+
+ log_sys->is_extending = TRUE;
+
+ while (log_sys->n_pending_writes != 0
+ || ut_calc_align_down(log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE)
+ != ut_calc_align_down(log_sys->buf_next_to_write,
+ OS_FILE_LOG_BLOCK_SIZE)) {
+ /* Buffer might have >1 blocks to write still. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+ }
+
+ move_start = ut_calc_align_down(
+ log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE);
+ move_end = log_sys->buf_free;
+
+ /* store the last log block in buffer */
+ ut_memcpy(tmp_buf, log_sys->buf + move_start,
+ move_end - move_start);
+
+ log_sys->buf_free -= move_start;
+ log_sys->buf_next_to_write -= move_start;
+
+ /* reallocate log buffer */
+ srv_log_buffer_size = len / UNIV_PAGE_SIZE + 1;
+ mem_free(log_sys->buf_ptr);
+ log_sys->buf_ptr = mem_alloc(LOG_BUFFER_SIZE + OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf_size = LOG_BUFFER_SIZE;
+ memset(log_sys->buf, '\0', LOG_BUFFER_SIZE);
+ log_sys->max_buf_free = log_sys->buf_size / LOG_BUF_FLUSH_RATIO
+ - LOG_BUF_FLUSH_MARGIN;
+
+ /* restore the last log block */
+ ut_memcpy(log_sys->buf, tmp_buf, move_end - move_start);
+
+ ut_ad(log_sys->is_extending);
+ log_sys->is_extending = FALSE;
+
+ mutex_exit(&(log_sys->mutex));
+
+ fprintf(stderr,
+ "InnoDB: innodb_log_buffer_size was extended to %lu.\n",
+ LOG_BUFFER_SIZE);
+}
+
/************************************************************//**
Opens the log for log_write_low. The log must be closed with log_close and
released with log_release.
@@ -234,11 +313,39 @@ log_reserve_and_open(
ulint count = 0;
#endif /* UNIV_DEBUG */
- ut_a(len < log->buf_size / 2);
+ if (len >= log->buf_size / 2) {
+ DBUG_EXECUTE_IF("ib_log_buffer_is_short_crash",
+ DBUG_SUICIDE(););
+
+ /* log_buffer is too small. try to extend instead of crash. */
+ ut_print_timestamp(stderr);
+ fprintf(stderr,
+ " InnoDB: Warning: "
+ "The transaction log size is too large"
+ " for innodb_log_buffer_size (%lu >= %lu / 2). "
+ "Trying to extend it.\n",
+ len, LOG_BUFFER_SIZE);
+
+ log_buffer_extend((len + 1) * 2);
+ }
loop:
mutex_enter(&(log->mutex));
ut_ad(!recv_no_log_write);
+ if (log->is_extending) {
+
+ mutex_exit(&(log->mutex));
+
+ /* Log buffer size is extending. Writing up to the next block
+ should wait for the extending finished. */
+
+ os_thread_sleep(100000);
+
+ ut_ad(++count < 50);
+
+ goto loop;
+ }
+
/* Calculate an upper limit for the space the string may take in the
log buffer */
@@ -789,6 +896,7 @@ log_init(void)
log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->is_extending = FALSE;
memset(log_sys->buf, '\0', LOG_BUFFER_SIZE);
diff --git a/storage/innobase/row/row0sel.c b/storage/innobase/row/row0sel.c
index 518eba975ab..b8336f88532 100644
--- a/storage/innobase/row/row0sel.c
+++ b/storage/innobase/row/row0sel.c
@@ -3095,48 +3095,78 @@ sel_restore_position_for_mysql(
mtr_t* mtr) /*!< in: mtr; CAUTION: may commit
mtr temporarily! */
{
- ibool success;
- ulint relative_position;
-
- relative_position = pcur->rel_pos;
+ ibool success;
success = btr_pcur_restore_position(latch_mode, pcur, mtr);
*same_user_rec = success;
- if (relative_position == BTR_PCUR_ON) {
- if (success) {
- return(FALSE);
- }
-
- if (moves_up) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
- return(TRUE);
+ ut_ad(!success || pcur->rel_pos == BTR_PCUR_ON);
+#ifdef UNIV_DEBUG
+ if (pcur->pos_state == BTR_PCUR_IS_POSITIONED_OPTIMISTIC) {
+ ut_ad(pcur->rel_pos == BTR_PCUR_BEFORE
+ || pcur->rel_pos == BTR_PCUR_AFTER);
+ } else {
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad((pcur->rel_pos == BTR_PCUR_ON)
+ == btr_pcur_is_on_user_rec(pcur));
}
+#endif
- if (relative_position == BTR_PCUR_AFTER
- || relative_position == BTR_PCUR_AFTER_LAST_IN_TREE) {
+ /* The position may need be adjusted for rel_pos and moves_up. */
- if (moves_up) {
+ switch (pcur->rel_pos) {
+ case BTR_PCUR_ON:
+ if (!success && moves_up) {
+next:
+ btr_pcur_move_to_next(pcur, mtr);
return(TRUE);
}
-
- if (btr_pcur_is_on_user_rec(pcur)) {
+ return(!success);
+ case BTR_PCUR_AFTER_LAST_IN_TREE:
+ case BTR_PCUR_BEFORE_FIRST_IN_TREE:
+ return(TRUE);
+ case BTR_PCUR_AFTER:
+ /* positioned to record after pcur->old_rec. */
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+prev:
+ if (btr_pcur_is_on_user_rec(pcur) && !moves_up) {
btr_pcur_move_to_prev(pcur, mtr);
}
-
return(TRUE);
+ case BTR_PCUR_BEFORE:
+ /* For non optimistic restoration:
+ The position is now set to the record before pcur->old_rec.
+
+ For optimistic restoration:
+ The position also needs to take the previous search_mode into
+ consideration. */
+
+ switch (pcur->pos_state) {
+ case BTR_PCUR_IS_POSITIONED_OPTIMISTIC:
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+ if (pcur->search_mode == PAGE_CUR_GE) {
+ /* Positioned during Greater or Equal search
+ with BTR_PCUR_BEFORE. Optimistic restore to
+ the same record. If scanning for lower then
+ we must move to previous record.
+ This can happen with:
+ HANDLER READ idx a = (const);
+ HANDLER READ idx PREV; */
+ goto prev;
+ }
+ return(TRUE);
+ case BTR_PCUR_IS_POSITIONED:
+ if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
+ goto next;
+ }
+ return(TRUE);
+ case BTR_PCUR_WAS_POSITIONED:
+ case BTR_PCUR_NOT_POSITIONED:
+ break;
+ }
}
-
- ut_ad(relative_position == BTR_PCUR_BEFORE
- || relative_position == BTR_PCUR_BEFORE_FIRST_IN_TREE);
-
- if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
+ ut_ad(0);
return(TRUE);
}
@@ -4120,6 +4150,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
/* ut_print_name(stderr, index->name);
fputs(" record not found 3\n", stderr); */
@@ -4159,6 +4197,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
/* ut_print_name(stderr, index->name);
fputs(" record not found 4\n", stderr); */
@@ -4736,6 +4782,7 @@ normal_return:
if (prebuilt->n_fetch_cached > 0) {
row_sel_pop_cached_row_for_mysql(buf, prebuilt);
+ DEBUG_SYNC_C("row_search_cached_row");
err = DB_SUCCESS;
}
diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc
index ef2ee01c0e4..74f3f819f37 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
@@ -1543,7 +1544,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;
@@ -1577,7 +1578,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;
@@ -1647,6 +1648,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)
{
@@ -1670,7 +1676,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();
@@ -1965,6 +1972,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 304a37a9633..b954bb9743e 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 bd2bde1c89a..a8bb638b534 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 65035e77c76..814e7a0fe58 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 ebb59677fc0..fda1453e0b2 100644
--- a/storage/maria/trnman.c
+++ b/storage/maria/trnman.c
@@ -383,8 +383,8 @@ TRN *trnman_new_trn(WT_THD *wt)
return 0;
}
- DBUG_PRINT("exit", ("trn: 0x%lx trid: 0x%lu",
- (ulong) trn, (ulong) trn->trid));
+ DBUG_PRINT("exit", ("trn: %p trid: 0x%lu min_read_from: 0x%lu",
+ trn, (ulong) trn->trid, (ulong) trn->min_read_from));
DBUG_RETURN(trn);
}
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 08989e3db66..16af138b74e 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
@@ -761,7 +762,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 */
}
@@ -1066,7 +1067,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/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt
index 593fced6235..7b110b7de5a 100644
--- a/storage/oqgraph/CMakeLists.txt
+++ b/storage/oqgraph/CMakeLists.txt
@@ -11,26 +11,44 @@ IF(MSVC)
SET(BOOST_OK 0)
ELSE()
SET(BOOST_OK 1)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
ENDIF()
ELSE()
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -fno-strict-aliasing")
+ STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
+ STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# See if that works. On old gcc it'll fail because of -fno-rtti
CHECK_CXX_SOURCE_COMPILES(
"
#include <boost/config.hpp>
#include <boost/property_map/property_map.hpp>
-int main() { return 0; }
+#include <boost/graph/adjacency_list.hpp>
+
+using namespace boost;
+struct VertexInfo { int id; };
+
+namespace boost
+{
+ namespace graph
+ {
+ template<> struct internal_vertex_name<VertexInfo>
+ { typedef multi_index::member<VertexInfo, int , &VertexInfo::id> type; };
+ }
+}
+
+typedef adjacency_list<vecS, vecS, bidirectionalS, VertexInfo> Graph;
+int main()
+{
+ graph_traits<Graph>::vertex_descriptor *orig;
+ Graph *g;
+ remove_vertex(*orig, *g);
+ return 0;
+}
" BOOST_OK)
ENDIF()
IF(BOOST_OK)
ADD_DEFINITIONS(-DHAVE_OQGRAPH)
- IF(MSVC)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
- ELSE(MSVC)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -fno-strict-aliasing")
- STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
- STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
- ENDIF(MSVC)
MYSQL_ADD_PLUGIN(oqgraph ha_oqgraph.cc graphcore.cc STORAGE_ENGINE
MODULE_ONLY)
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result
index 6e6874f6d8b..398e50ea7a7 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-0.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
delete from s where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result
index 3ab09c07935..c992937afd8 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-1.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create clustering index i_a on s(a);
delete from s where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
index ecb2d225181..a7be06f34ee 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-fast.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
create index i_a on s(a);
delete from s where a=10000;
show create table s;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
index e1e298eb29f..a2c90f0ce6b 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-del-slow.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
delete from s where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result
index 78515053ff6..d6734e0df73 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-0.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
insert into s values (1000000000,10000);
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result
index 3306f55147c..4d2e5ed6b76 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-insert-1.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a) clustering=yes;
insert into s values (1000000000,10000);
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result
index 8ec9af009bb..85838eefb5d 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-0.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a);
update s set a=20000+10000 where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result
index e94bba339ef..7561c61f10b 100644
--- a/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result
+++ b/storage/tokudb/mysql-test/tokudb/r/hotindex-update-1.result
@@ -2,6 +2,7 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
# Establish connection conn1 (user = root)
drop table if exists s;
create table s (a int, b int);
+begin;
insert into s values (10000,0),(10000,1),(10000,2),(10000,3),(10000,4),(10000,5),(10000,6),(10000,7),(10000,8),(10000,9);
insert into s values (9999,0),(9999,1),(9999,2),(9999,3),(9999,4),(9999,5),(9999,6),(9999,7),(9999,8),(9999,9);
insert into s values (9998,0),(9998,1),(9998,2),(9998,3),(9998,4),(9998,5),(9998,6),(9998,7),(9998,8),(9998,9);
@@ -10002,6 +10003,7 @@ insert into s values (4,0),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(4,7),(4,8),(4,9)
insert into s values (3,0),(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),(3,7),(3,8),(3,9);
insert into s values (2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(2,8),(2,9);
insert into s values (1,0),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9);
+commit;
set tokudb_create_index_online=1;
create index i_a on s(a) clustering=yes;
update s set a=20000+10000 where a=10000;
diff --git a/storage/tokudb/mysql-test/tokudb/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/storage/tokudb/tokudb.cnf b/storage/tokudb/tokudb.cnf
index 84f98e6d9b9..11e5e832bab 100644
--- a/storage/tokudb/tokudb.cnf
+++ b/storage/tokudb/tokudb.cnf
@@ -5,5 +5,11 @@
# See https://mariadb.com/kb/en/tokudb-differences/ for differences
# between TokuDB in MariaDB and TokuDB from http://www.tokutek.com/
+# Note, that only one plugin-load option will be recognized by the
+# MariaDB server. If you uncomment the line below, make sure that
+# you don't also have plugin-load options in your other
+# my.cnf files. Otherwise, add ha_tokudb.so to the existing
+# plugin-load option, instead of uncommenting the line below.
+
#plugin-load=ha_tokudb.so
diff --git a/storage/xtradb/btr/btr0cur.c b/storage/xtradb/btr/btr0cur.c
index 8904270197a..e5d0f002af6 100644
--- a/storage/xtradb/btr/btr0cur.c
+++ b/storage/xtradb/btr/btr0cur.c
@@ -61,6 +61,7 @@ Created 10/16/1994 Heikki Tuuri
#include "row0upd.h"
#include "trx0rec.h"
#include "trx0roll.h" /* trx_is_recv() */
+#include "trx0undo.h"
#include "que0que.h"
#include "row0row.h"
#include "srv0srv.h"
@@ -1757,7 +1758,7 @@ btr_cur_upd_lock_and_undo(
/***********************************************************//**
Writes a redo log record of updating a record in-place. */
-UNIV_INLINE
+UNIV_INTERN
void
btr_cur_update_in_place_log(
/*========================*/
@@ -1785,18 +1786,30 @@ btr_cur_update_in_place_log(
return;
}
- /* The code below assumes index is a clustered index: change index to
- the clustered index if we are updating a secondary index record (or we
- could as well skip writing the sys col values to the log in this case
- because they are not needed for a secondary index record update) */
-
- index = dict_table_get_first_index(index->table);
+ /* For secondary indexes, we could skip writing the dummy system fields
+ to the redo log but we have to change redo log parsing of
+ MLOG_REC_UPDATE_IN_PLACE/MLOG_COMP_REC_UPDATE_IN_PLACE or we have to add
+ new redo log record. For now, just write dummy sys fields to the redo
+ log if we are updating a secondary index record.
+ */
mach_write_to_1(log_ptr, flags);
log_ptr++;
- log_ptr = row_upd_write_sys_vals_to_log(index, trx, roll_ptr, log_ptr,
- mtr);
+ if (dict_index_is_clust(index)) {
+ log_ptr = row_upd_write_sys_vals_to_log(
+ index, trx, roll_ptr, log_ptr, mtr);
+ } else {
+ /* Dummy system fields for a secondary index */
+ /* TRX_ID Position */
+ log_ptr += mach_write_compressed(log_ptr, 0);
+ /* ROLL_PTR */
+ trx_write_roll_ptr(log_ptr, 0);
+ log_ptr += DATA_ROLL_PTR_LEN;
+ /* TRX_ID */
+ log_ptr += mach_ull_write_compressed(log_ptr, 0);
+ }
+
mach_write_to_2(log_ptr, page_offset(rec));
log_ptr += 2;
diff --git a/storage/xtradb/btr/btr0pcur.c b/storage/xtradb/btr/btr0pcur.c
index 3929c4a9c2d..d1b3dc4a3e6 100644
--- a/storage/xtradb/btr/btr0pcur.c
+++ b/storage/xtradb/btr/btr0pcur.c
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -111,7 +111,7 @@ btr_pcur_store_position(
page_t* page;
ulint offs;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
block = btr_pcur_get_block(cursor);
@@ -128,7 +128,6 @@ btr_pcur_store_position(
ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_S_FIX)
|| mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX));
- ut_a(cursor->latch_mode != BTR_NO_LATCHES);
if (UNIV_UNLIKELY(page_get_n_recs(page) == 0)) {
/* It must be an empty index tree; NOTE that in this case
@@ -239,21 +238,12 @@ btr_pcur_restore_position_func(
ut_ad(mtr);
ut_ad(mtr->state == MTR_ACTIVE);
+ ut_ad(cursor->old_stored == BTR_PCUR_OLD_STORED);
+ ut_ad(cursor->pos_state == BTR_PCUR_WAS_POSITIONED
+ || cursor->pos_state == BTR_PCUR_IS_POSITIONED);
index = btr_cur_get_index(btr_pcur_get_btr_cur(cursor));
- if (UNIV_UNLIKELY(cursor->old_stored != BTR_PCUR_OLD_STORED)
- || UNIV_UNLIKELY(cursor->pos_state != BTR_PCUR_WAS_POSITIONED
- && cursor->pos_state != BTR_PCUR_IS_POSITIONED)) {
- ut_print_buf(stderr, cursor, sizeof(btr_pcur_t));
- putc('\n', stderr);
- if (cursor->trx_if_known) {
- trx_print(stderr, cursor->trx_if_known, 0);
- }
-
- ut_error;
- }
-
if (UNIV_UNLIKELY
(cursor->rel_pos == BTR_PCUR_AFTER_LAST_IN_TREE
|| cursor->rel_pos == BTR_PCUR_BEFORE_FIRST_IN_TREE)) {
@@ -277,14 +267,14 @@ btr_pcur_restore_position_func(
if (UNIV_LIKELY(latch_mode == BTR_SEARCH_LEAF)
|| UNIV_LIKELY(latch_mode == BTR_MODIFY_LEAF)) {
- /* Try optimistic restoration */
+ /* Try optimistic restoration. */
- if (UNIV_LIKELY(buf_page_optimistic_get(
- latch_mode,
- cursor->block_when_stored,
- cursor->modify_clock,
- file, line, mtr))) {
+ if (buf_page_optimistic_get(latch_mode,
+ cursor->block_when_stored,
+ cursor->modify_clock,
+ file, line, mtr)) {
cursor->pos_state = BTR_PCUR_IS_POSITIONED;
+ cursor->latch_mode = latch_mode;
buf_block_dbg_add_level(
btr_pcur_get_block(cursor),
@@ -296,9 +286,6 @@ btr_pcur_restore_position_func(
const rec_t* rec;
const ulint* offsets1;
const ulint* offsets2;
-#endif /* UNIV_DEBUG */
- cursor->latch_mode = latch_mode;
-#ifdef UNIV_DEBUG
rec = btr_pcur_get_rec(cursor);
heap = mem_heap_create(256);
@@ -316,7 +303,13 @@ btr_pcur_restore_position_func(
#endif /* UNIV_DEBUG */
return(TRUE);
}
-
+ /* This is the same record as stored,
+ may need to be adjusted for BTR_PCUR_BEFORE/AFTER,
+ depending on search mode and direction. */
+ if (btr_pcur_is_on_user_rec(cursor)) {
+ cursor->pos_state
+ = BTR_PCUR_IS_POSITIONED_OPTIMISTIC;
+ }
return(FALSE);
}
}
@@ -418,7 +411,7 @@ btr_pcur_move_to_next_page(
buf_block_t* next_block;
page_t* next_page;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_after_last_on_page(cursor));
@@ -484,7 +477,6 @@ btr_pcur_move_backward_from_page(
ulint latch_mode;
ulint latch_mode2;
- ut_a(cursor->pos_state == BTR_PCUR_IS_POSITIONED);
ut_ad(cursor->latch_mode != BTR_NO_LATCHES);
ut_ad(btr_pcur_is_before_first_on_page(cursor));
ut_ad(!btr_pcur_is_before_first_in_tree(cursor, mtr));
diff --git a/storage/xtradb/buf/buf0buf.c b/storage/xtradb/buf/buf0buf.c
index f06fd4abfb1..efecef4cece 100644
--- a/storage/xtradb/buf/buf0buf.c
+++ b/storage/xtradb/buf/buf0buf.c
@@ -4815,12 +4815,16 @@ buf_get_latched_pages_number_instance(
case BUF_BLOCK_FILE_PAGE:
/* uncompressed page */
break;
+ case BUF_BLOCK_REMOVE_HASH:
+ /* We hold flush list but not LRU list mutex here.
+ Thus encountering BUF_BLOCK_REMOVE_HASH pages is
+ possible. */
+ break;
case BUF_BLOCK_ZIP_FREE:
case BUF_BLOCK_ZIP_PAGE:
case BUF_BLOCK_NOT_USED:
case BUF_BLOCK_READY_FOR_USE:
case BUF_BLOCK_MEMORY:
- case BUF_BLOCK_REMOVE_HASH:
ut_error;
break;
}
diff --git a/storage/xtradb/buf/buf0flu.c b/storage/xtradb/buf/buf0flu.c
index fea665eba40..d47f2d6fa9a 100644
--- a/storage/xtradb/buf/buf0flu.c
+++ b/storage/xtradb/buf/buf0flu.c
@@ -1605,6 +1605,16 @@ buf_flush_page_and_try_neighbors(
ut_ad(block_mutex);
}
+ if (UNIV_UNLIKELY(buf_page_get_state(bpage)
+ == BUF_BLOCK_REMOVE_HASH)) {
+
+ /* In case we don't hold the LRU list mutex, we may see a page
+ that is about to be relocated on the flush list. Do not
+ attempt to flush it. */
+ ut_ad(flush_type == BUF_FLUSH_LIST);
+ return (flushed);
+ }
+
ut_a(buf_page_in_file(bpage));
if (buf_flush_ready_for_flush(bpage, flush_type)) {
diff --git a/storage/xtradb/dict/dict0dict.c b/storage/xtradb/dict/dict0dict.c
index 50da1c97beb..5a61e39eb8b 100644
--- a/storage/xtradb/dict/dict0dict.c
+++ b/storage/xtradb/dict/dict0dict.c
@@ -36,6 +36,11 @@ UNIV_INTERN dict_index_t* dict_ind_redundant;
/** dummy index for ROW_FORMAT=COMPACT supremum and infimum records */
UNIV_INTERN dict_index_t* dict_ind_compact;
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+UNIV_INTERN uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#ifndef UNIV_HOTBACKUP
#include "buf0buf.h"
#include "data0type.h"
@@ -4855,6 +4860,8 @@ dict_update_statistics(
dict_index_t* index;
ulint sum_of_index_sizes = 0;
+ DBUG_EXECUTE_IF("skip_innodb_statistics", return;);
+
if (table->ibd_file_missing) {
ut_print_timestamp(stderr);
fprintf(stderr,
@@ -4916,6 +4923,12 @@ dict_update_statistics(
continue;
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug && !dict_index_is_clust(index)) {
+ goto fake_statistics;
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
if (UNIV_LIKELY
(srv_force_recovery < SRV_FORCE_NO_IBUF_MERGE
|| (srv_force_recovery < SRV_FORCE_NO_LOG_REDO
diff --git a/storage/xtradb/fil/fil0fil.c b/storage/xtradb/fil/fil0fil.c
index 19e656dfd92..f598c717e00 100644
--- a/storage/xtradb/fil/fil0fil.c
+++ b/storage/xtradb/fil/fil0fil.c
@@ -4369,7 +4369,7 @@ fil_load_single_table_tablespace(
if (check_msg) {
fprintf(stderr,
- "InnoDB: Error: %s in file %s",
+ "InnoDB: Error: %s in file %s\n",
check_msg, filepath);
goto func_exit;
}
@@ -4967,6 +4967,7 @@ fil_extend_space_to_desired_size(
space->size += (size_after_extend - start_page_no);
os_has_said_disk_full = FALSE;
}
+ fil_node_complete_io(node, fil_system, OS_FILE_READ);
goto complete_io;
}
#endif
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc
index 9f5adf06a57..d424269cc5e 100644
--- a/storage/xtradb/handler/ha_innodb.cc
+++ b/storage/xtradb/handler/ha_innodb.cc
@@ -55,6 +55,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <innodb_priv.h>
#include <mysql/psi/psi.h>
#include <my_sys.h>
+#include <my_check_opt.h>
#ifdef MYSQL_SERVER
#include <rpl_mi.h>
@@ -9134,6 +9135,10 @@ ha_innobase::records_in_range(
/* There exists possibility of not being able to find requested
index due to inconsistency between MySQL and InoDB dictionary info.
Necessary message should have been printed in innobase_get_index() */
+ if (prebuilt->table->ibd_file_missing) {
+ n_rows = HA_POS_ERROR;
+ goto func_exit;
+ }
if (UNIV_UNLIKELY(!index)) {
n_rows = HA_POS_ERROR;
goto func_exit;
@@ -9904,8 +9909,7 @@ int
ha_innobase::check(
/*===============*/
THD* thd, /*!< in: user thread handle */
- HA_CHECK_OPT* check_opt) /*!< in: check options, currently
- ignored */
+ HA_CHECK_OPT* check_opt) /*!< in: check options */
{
dict_index_t* index;
ulint n_rows;
@@ -9962,11 +9966,6 @@ ha_innobase::check(
do additional check */
prebuilt->table->corrupted = FALSE;
- /* Enlarge the fatal lock wait timeout during CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold += SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
for (index = dict_table_get_first_index(prebuilt->table);
index != NULL;
index = dict_table_get_next_index(index)) {
@@ -9979,20 +9978,41 @@ ha_innobase::check(
/* If this is an index being created, break */
if (*index->name == TEMP_INDEX_PREFIX) {
- break;
- } else if (!btr_validate_index(index, prebuilt->trx)) {
- is_ok = FALSE;
+ continue;
+ }
+ if (!(check_opt->flags & T_QUICK)) {
+ /* Enlarge the fatal lock wait timeout during
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold +=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ ibool valid = TRUE;
+ valid = btr_validate_index(index, prebuilt->trx);
+
+ /* Restore the fatal lock wait timeout after
+ CHECK TABLE. */
+ mutex_enter(&kernel_mutex);
+ srv_fatal_semaphore_wait_threshold -=
+ SRV_SEMAPHORE_WAIT_EXTENSION;
+ mutex_exit(&kernel_mutex);
+
+ if (!valid) {
+ is_ok = FALSE;
- innobase_format_name(
- index_name, sizeof index_name,
- prebuilt->index->name, TRUE);
+ innobase_format_name(
+ index_name, sizeof index_name,
+ index->name, TRUE);
+ push_warning_printf(thd,
+ MYSQL_ERROR::WARN_LEVEL_WARN,
+ ER_NOT_KEYFILE,
+ "InnoDB: The B-tree of"
+ " index %s is corrupted.",
+ index_name);
- push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- ER_NOT_KEYFILE,
- "InnoDB: The B-tree of"
- " index %s is corrupted.",
- index_name);
- continue;
+ continue;
+ }
}
/* Instead of invoking change_active_index(), set up
@@ -10096,21 +10116,17 @@ ha_innobase::check(
/* Restore the original isolation level */
prebuilt->trx->isolation_level = old_isolation_level;
- /* We validate also the whole adaptive hash index for all tables
- at every CHECK TABLE */
+#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
+ /* We validate the whole adaptive hash index for all tables
+ at every CHECK TABLE only when QUICK flag is not present. */
- if (!btr_search_validate()) {
+ if (!(check_opt->flags & T_QUICK) && !btr_search_validate()) {
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
ER_NOT_KEYFILE,
"InnoDB: The adaptive hash index is corrupted.");
is_ok = FALSE;
}
-
- /* Restore the fatal lock wait timeout after CHECK TABLE. */
- mutex_enter(&kernel_mutex);
- srv_fatal_semaphore_wait_threshold -= SRV_SEMAPHORE_WAIT_EXTENSION;
- mutex_exit(&kernel_mutex);
-
+#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
prebuilt->trx->op_info = "";
if (thd_kill_level(user_thd)) {
my_error(ER_QUERY_INTERRUPTED, MYF(0));
@@ -10995,7 +11011,7 @@ innodb_show_status(
const long MAX_STATUS_SIZE = 1048576;
ulint trx_list_start = ULINT_UNDEFINED;
ulint trx_list_end = ULINT_UNDEFINED;
- bool res;
+ bool ret_val;
DBUG_ENTER("innodb_show_status");
DBUG_ASSERT(hton == innodb_hton_ptr);
@@ -11060,13 +11076,13 @@ innodb_show_status(
mutex_exit(&srv_monitor_file_mutex);
- res= stat_print(thd, innobase_hton_name,
- (uint) strlen(innobase_hton_name),
- STRING_WITH_LEN(""), str, flen);
+ ret_val= stat_print(thd, innobase_hton_name,
+ (uint) strlen(innobase_hton_name),
+ STRING_WITH_LEN(""), str, flen);
my_free(str);
- DBUG_RETURN(res);
+ DBUG_RETURN(ret_val);
}
/************************************************************************//**
diff --git a/storage/xtradb/handler/i_s.cc b/storage/xtradb/handler/i_s.cc
index 71808bcd0e6..9bede650549 100644
--- a/storage/xtradb/handler/i_s.cc
+++ b/storage/xtradb/handler/i_s.cc
@@ -50,17 +50,21 @@ extern "C" {
#include "dict0load.h" /* for file sys_tables related info. */
#include "buf0buddy.h"
#include "buf0buf.h"
+#include "buf0lru.h"
#include "ibuf0ibuf.h"
#include "dict0mem.h"
#include "dict0types.h"
#include "srv0srv.h" /* for srv_max_changed_pages */
#include "dict0boot.h"
+#include "dict0load.h"
#include "ha_prototypes.h"
#include "srv0start.h"
+#include "srv0srv.h"
#include "trx0i_s.h"
#include "trx0trx.h" /* for TRX_QUE_STATE_STR_MAX_LEN */
#include "buf0lru.h" /* for XTRA_LRU_[DUMP/RESTORE] */
#include "trx0rseg.h"
+#include "trx0trx.h"
#include "trx0undo.h"
#include "log0online.h"
#include "btr0btr.h"
diff --git a/storage/xtradb/ibuf/ibuf0ibuf.c b/storage/xtradb/ibuf/ibuf0ibuf.c
index 65489d13285..e04b6ac3ba6 100644
--- a/storage/xtradb/ibuf/ibuf0ibuf.c
+++ b/storage/xtradb/ibuf/ibuf0ibuf.c
@@ -194,11 +194,6 @@ access order rules. */
/** Operations that can currently be buffered. */
UNIV_INTERN ibuf_use_t ibuf_use = IBUF_USE_ALL;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-UNIV_INTERN uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
UNIV_INTERN ibuf_t* ibuf = NULL;
@@ -2693,6 +2688,12 @@ ibuf_contract_ext(
return(0);
}
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+ if (ibuf_debug) {
+ return(0);
+ }
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
ibuf_mtr_start(&mtr);
/* Open a cursor to a randomly chosen leaf of the tree, at a random
@@ -4066,6 +4067,24 @@ updated_in_place:
to btr_cur_update_in_place(). */
row_upd_rec_in_place(rec, index, offsets,
update, page_zip);
+
+ /* Log the update in place operation. During recovery
+ MLOG_COMP_REC_UPDATE_IN_PLACE/MLOG_REC_UPDATE_IN_PLACE
+ expects trx_id, roll_ptr for secondary indexes. So we
+ just write dummy trx_id(0), roll_ptr(0) */
+ btr_cur_update_in_place_log(BTR_KEEP_SYS_FLAG, rec,
+ index, update,
+ NULL, 0, mtr);
+ DBUG_EXECUTE_IF(
+ "crash_after_log_ibuf_upd_inplace",
+ log_buffer_flush_to_disk();
+ fprintf(stderr,
+ "InnoDB: Wrote log record for ibuf "
+ "update in place operation\n");
+ DBUG_SUICIDE();
+ );
+
+
goto updated_in_place;
}
diff --git a/storage/xtradb/include/btr0cur.h b/storage/xtradb/include/btr0cur.h
index 97929d44159..7b56c1bbb6e 100644
--- a/storage/xtradb/include/btr0cur.h
+++ b/storage/xtradb/include/btr0cur.h
@@ -637,6 +637,21 @@ btr_cur_set_deleted_flag_for_ibuf(
uncompressed */
ibool val, /*!< in: value to set */
mtr_t* mtr); /*!< in/out: mini-transaction */
+
+/***********************************************************//**
+Writes a redo log record of updating a record in-place. */
+UNIV_INTERN
+void
+btr_cur_update_in_place_log(
+/*========================*/
+ ulint flags, /*!< in: flags */
+ rec_t* rec, /*!< in: record */
+ dict_index_t* index, /*!< in: index where cursor positioned */
+ const upd_t* update, /*!< in: update vector */
+ trx_t* trx, /*!< in: transaction */
+ roll_ptr_t roll_ptr, /*!< in: roll ptr */
+ mtr_t* mtr); /*!< in: mtr */
+
/*######################################################################*/
/** In the pessimistic delete, if the page data size drops below this
diff --git a/storage/xtradb/include/btr0pcur.h b/storage/xtradb/include/btr0pcur.h
index 4312f73ca4a..d9ce02283d7 100644
--- a/storage/xtradb/include/btr0pcur.h
+++ b/storage/xtradb/include/btr0pcur.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -447,6 +447,27 @@ btr_pcur_move_to_prev_on_page(
/*==========================*/
btr_pcur_t* cursor);/*!< in/out: persistent cursor */
+/** Position state of persistent B-tree cursor. */
+enum pcur_pos_t {
+ /** The persistent cursor is not positioned. */
+ BTR_PCUR_NOT_POSITIONED = 0,
+ /** The persistent cursor was previously positioned.
+ TODO: currently, the state can be BTR_PCUR_IS_POSITIONED,
+ though it really should be BTR_PCUR_WAS_POSITIONED,
+ because we have no obligation to commit the cursor with
+ mtr; similarly latch_mode may be out of date. This can
+ lead to problems if btr_pcur is not used the right way;
+ all current code should be ok. */
+ BTR_PCUR_WAS_POSITIONED,
+ /** The persistent cursor is positioned by optimistic get to the same
+ record as it was positioned at. Not used for rel_pos == BTR_PCUR_ON.
+ It may need adjustment depending on previous/current search direction
+ and rel_pos. */
+ BTR_PCUR_IS_POSITIONED_OPTIMISTIC,
+ /** The persistent cursor is positioned by index search.
+ Or optimistic get for rel_pos == BTR_PCUR_ON. */
+ BTR_PCUR_IS_POSITIONED
+};
/* The persistent B-tree cursor structure. This is used mainly for SQL
selects, updates, and deletes. */
@@ -480,10 +501,8 @@ struct btr_pcur_struct{
ib_uint64_t modify_clock; /*!< the modify clock value of the
buffer block when the cursor position
was stored */
- ulint pos_state; /*!< see TODO note below!
- BTR_PCUR_IS_POSITIONED,
- BTR_PCUR_WAS_POSITIONED,
- BTR_PCUR_NOT_POSITIONED */
+ enum pcur_pos_t pos_state; /*!< btr_pcur_store_position() and
+ btr_pcur_restore_position() state. */
ulint search_mode; /*!< PAGE_CUR_G, ... */
trx_t* trx_if_known; /*!< the transaction, if we know it;
otherwise this field is not defined;
@@ -499,21 +518,6 @@ struct btr_pcur_struct{
is not NULL */
};
-#define BTR_PCUR_IS_POSITIONED 1997660512 /* TODO: currently, the state
- can be BTR_PCUR_IS_POSITIONED,
- though it really should be
- BTR_PCUR_WAS_POSITIONED,
- because we have no obligation
- to commit the cursor with
- mtr; similarly latch_mode may
- be out of date. This can
- lead to problems if btr_pcur
- is not used the right way;
- all current code should be
- ok. */
-#define BTR_PCUR_WAS_POSITIONED 1187549791
-#define BTR_PCUR_NOT_POSITIONED 1328997689
-
#define BTR_PCUR_OLD_STORED 908467085
#define BTR_PCUR_OLD_NOT_STORED 122766467
diff --git a/storage/xtradb/include/btr0pcur.ic b/storage/xtradb/include/btr0pcur.ic
index 696dfc728dc..647e8d0cde9 100644
--- a/storage/xtradb/include/btr0pcur.ic
+++ b/storage/xtradb/include/btr0pcur.ic
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -379,7 +379,7 @@ btr_pcur_commit_specify_mtr(
btr_pcur_t* pcur, /*!< in: persistent cursor */
mtr_t* mtr) /*!< in: mtr to commit */
{
- ut_a(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
pcur->latch_mode = BTR_NO_LATCHES;
diff --git a/storage/xtradb/include/btr0sea.h b/storage/xtradb/include/btr0sea.h
index 6fa7a2d87bf..39c0a66fb9a 100644
--- a/storage/xtradb/include/btr0sea.h
+++ b/storage/xtradb/include/btr0sea.h
@@ -196,8 +196,6 @@ UNIV_INTERN
ibool
btr_search_validate(void);
/*======================*/
-#else
-# define btr_search_validate() TRUE
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
/********************************************************************//**
diff --git a/storage/xtradb/include/dict0types.h b/storage/xtradb/include/dict0types.h
index 330e6a25114..22407e2408e 100644
--- a/storage/xtradb/include/dict0types.h
+++ b/storage/xtradb/include/dict0types.h
@@ -63,4 +63,9 @@ typedef enum dict_err_ignore dict_err_ignore_t;
#define TEMP_TABLE_PREFIX "#sql"
#define TEMP_TABLE_PATH_PREFIX "/" TEMP_TABLE_PREFIX
+#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
+/** Flag to control insert buffer debugging. */
+extern uint ibuf_debug;
+#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
+
#endif
diff --git a/storage/xtradb/include/ibuf0ibuf.h b/storage/xtradb/include/ibuf0ibuf.h
index 03ea0629af4..d0d09d3c753 100644
--- a/storage/xtradb/include/ibuf0ibuf.h
+++ b/storage/xtradb/include/ibuf0ibuf.h
@@ -63,11 +63,6 @@ typedef enum {
/** Operations that can currently be buffered. */
extern ibuf_use_t ibuf_use;
-#if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
-/** Flag to control insert buffer debugging. */
-extern uint ibuf_debug;
-#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
-
/** The insert buffer control structure */
extern ibuf_t* ibuf;
diff --git a/storage/xtradb/include/log0log.h b/storage/xtradb/include/log0log.h
index 31afe5d8555..bdac76dcaf8 100644
--- a/storage/xtradb/include/log0log.h
+++ b/storage/xtradb/include/log0log.h
@@ -844,6 +844,8 @@ struct log_struct{
later; this is advanced when a flush
operation is completed to all the log
groups */
+ volatile ibool is_extending; /*!< this is set to true during extend
+ the log buffer size */
ib_uint64_t written_to_some_lsn;
/*!< first log sequence number not yet
written to any log group; for this to
diff --git a/storage/xtradb/include/univ.i b/storage/xtradb/include/univ.i
index 0b105f573c2..7474be81bd6 100644
--- a/storage/xtradb/include/univ.i
+++ b/storage/xtradb/include/univ.i
@@ -64,7 +64,7 @@ component, i.e. we show M.N.P as M.N */
(INNODB_VERSION_MAJOR << 8 | INNODB_VERSION_MINOR)
#ifndef PERCONA_INNODB_VERSION
-#define PERCONA_INNODB_VERSION 31.1
+#define PERCONA_INNODB_VERSION 33.0
#endif
#define INNODB_VERSION_STR MYSQL_SERVER_VERSION "-" IB_TO_STR(PERCONA_INNODB_VERSION)
diff --git a/storage/xtradb/log/log0log.c b/storage/xtradb/log/log0log.c
index 9b09d52e576..74b0abb2087 100644
--- a/storage/xtradb/log/log0log.c
+++ b/storage/xtradb/log/log0log.c
@@ -36,6 +36,12 @@ Created 12/9/1995 Heikki Tuuri
#include "log0log.ic"
#endif
+#ifdef HAVE_ALLOCA_H
+#include "alloca.h"
+#elif defined(HAVE_MALLOC_H)
+#include "malloc.h"
+#endif
+
#ifndef UNIV_HOTBACKUP
#include "mem0mem.h"
#include "buf0buf.h"
@@ -264,6 +270,85 @@ log_check_tracking_margin(
return tracked_lsn_age + lsn_advance > log_sys->max_checkpoint_age;
}
+/** Extends the log buffer.
+@param[in] len requested minimum size in bytes */
+static
+void
+log_buffer_extend(
+ ulint len)
+{
+ ulint move_start;
+ ulint move_end;
+ byte *tmp_buf=alloca(OS_FILE_LOG_BLOCK_SIZE);
+
+ mutex_enter(&(log_sys->mutex));
+
+ while (log_sys->is_extending) {
+ /* Another thread is trying to extend already.
+ Needs to wait for. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+
+ if (srv_log_buffer_size > len / UNIV_PAGE_SIZE) {
+ /* Already extended enough by the others */
+ mutex_exit(&(log_sys->mutex));
+ return;
+ }
+ }
+
+ log_sys->is_extending = TRUE;
+
+ while (log_sys->n_pending_writes != 0
+ || ut_calc_align_down(log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE)
+ != ut_calc_align_down(log_sys->buf_next_to_write,
+ OS_FILE_LOG_BLOCK_SIZE)) {
+ /* Buffer might have >1 blocks to write still. */
+ mutex_exit(&(log_sys->mutex));
+
+ log_buffer_flush_to_disk();
+
+ mutex_enter(&(log_sys->mutex));
+ }
+
+ move_start = ut_calc_align_down(
+ log_sys->buf_free,
+ OS_FILE_LOG_BLOCK_SIZE);
+ move_end = log_sys->buf_free;
+
+ /* store the last log block in buffer */
+ ut_memcpy(tmp_buf, log_sys->buf + move_start,
+ move_end - move_start);
+
+ log_sys->buf_free -= move_start;
+ log_sys->buf_next_to_write -= move_start;
+
+ /* reallocate log buffer */
+ srv_log_buffer_size = len / UNIV_PAGE_SIZE + 1;
+ mem_free(log_sys->buf_ptr);
+ log_sys->buf_ptr = mem_alloc(LOG_BUFFER_SIZE + OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
+ log_sys->buf_size = LOG_BUFFER_SIZE;
+ memset(log_sys->buf, '\0', LOG_BUFFER_SIZE);
+ log_sys->max_buf_free = log_sys->buf_size / LOG_BUF_FLUSH_RATIO
+ - LOG_BUF_FLUSH_MARGIN;
+
+ /* restore the last log block */
+ ut_memcpy(log_sys->buf, tmp_buf, move_end - move_start);
+
+ ut_ad(log_sys->is_extending);
+ log_sys->is_extending = FALSE;
+
+ mutex_exit(&(log_sys->mutex));
+
+ fprintf(stderr,
+ "InnoDB: innodb_log_buffer_size was extended to %lu.\n",
+ LOG_BUFFER_SIZE);
+}
+
/************************************************************//**
Opens the log for log_write_low. The log must be closed with log_close.
@return start lsn of the log record */
@@ -281,10 +366,38 @@ log_open(
#endif /* UNIV_LOG_ARCHIVE */
ulint count = 0;
- ut_a(len < log->buf_size / 2);
+ if (len >= log->buf_size / 2) {
+ DBUG_EXECUTE_IF("ib_log_buffer_is_short_crash",
+ DBUG_SUICIDE(););
+
+ /* log_buffer is too small. try to extend instead of crash. */
+ ut_print_timestamp(stderr);
+ fprintf(stderr,
+ " InnoDB: Warning: "
+ "The transaction log size is too large"
+ " for innodb_log_buffer_size (%lu >= %lu / 2). "
+ "Trying to extend it.\n",
+ len, LOG_BUFFER_SIZE);
+
+ log_buffer_extend((len + 1) * 2);
+ }
loop:
ut_ad(!recv_no_log_write);
+ if (log->is_extending) {
+
+ mutex_exit(&(log->mutex));
+
+ /* Log buffer size is extending. Writing up to the next block
+ should wait for the extending finished. */
+
+ os_thread_sleep(100000);
+
+ ut_ad(++count < 50);
+
+ goto loop;
+ }
+
/* Calculate an upper limit for the space the string may take in the
log buffer */
@@ -901,6 +1014,7 @@ log_init(void)
log_sys->buf = ut_align(log_sys->buf_ptr, OS_FILE_LOG_BLOCK_SIZE);
log_sys->buf_size = LOG_BUFFER_SIZE;
+ log_sys->is_extending = FALSE;
memset(log_sys->buf, '\0', LOG_BUFFER_SIZE);
diff --git a/storage/xtradb/log/log0online.c b/storage/xtradb/log/log0online.c
index 5dfe08a4b65..d195a881348 100644
--- a/storage/xtradb/log/log0online.c
+++ b/storage/xtradb/log/log0online.c
@@ -1790,7 +1790,8 @@ log_online_purge_changed_page_bitmaps(
mutex_enter(&log_bmp_sys->mutex);
}
- if (!log_online_setup_bitmap_file_range(&bitmap_files, 0, lsn)) {
+ if (!log_online_setup_bitmap_file_range(&bitmap_files, 0,
+ IB_ULONGLONG_MAX)) {
if (srv_track_changed_pages) {
mutex_exit(&log_bmp_sys->mutex);
}
@@ -1805,8 +1806,20 @@ log_online_purge_changed_page_bitmaps(
}
for (i = 0; i < bitmap_files.count; i++) {
- if (bitmap_files.files[i].seq_num == 0
- || bitmap_files.files[i].start_lsn >= lsn) {
+
+ /* We consider the end LSN of the current bitmap, derived from
+ the start LSN of the subsequent bitmap file, to determine
+ whether to remove the current bitmap. Note that bitmap_files
+ does not contain an entry for the bitmap past the given LSN so
+ we must check the boundary conditions as well. For example,
+ consider 1_0.xdb and 2_10.xdb and querying LSN 5. bitmap_files
+ will only contain 1_0.xdb and we must not delete it since it
+ represents LSNs 0-9. */
+ if ((i + 1 == bitmap_files.count
+ || bitmap_files.files[i + 1].seq_num == 0
+ || bitmap_files.files[i + 1].start_lsn > lsn)
+ && (lsn != IB_ULONGLONG_MAX)) {
+
break;
}
if (!os_file_delete_if_exists(bitmap_files.files[i].name)) {
diff --git a/storage/xtradb/row/row0sel.c b/storage/xtradb/row/row0sel.c
index a902854d4ca..276a2cf1171 100644
--- a/storage/xtradb/row/row0sel.c
+++ b/storage/xtradb/row/row0sel.c
@@ -3130,48 +3130,78 @@ sel_restore_position_for_mysql(
mtr_t* mtr) /*!< in: mtr; CAUTION: may commit
mtr temporarily! */
{
- ibool success;
- ulint relative_position;
-
- relative_position = pcur->rel_pos;
+ ibool success;
success = btr_pcur_restore_position(latch_mode, pcur, mtr);
*same_user_rec = success;
- if (relative_position == BTR_PCUR_ON) {
- if (success) {
- return(FALSE);
- }
-
- if (moves_up) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
- return(TRUE);
+ ut_ad(!success || pcur->rel_pos == BTR_PCUR_ON);
+#ifdef UNIV_DEBUG
+ if (pcur->pos_state == BTR_PCUR_IS_POSITIONED_OPTIMISTIC) {
+ ut_ad(pcur->rel_pos == BTR_PCUR_BEFORE
+ || pcur->rel_pos == BTR_PCUR_AFTER);
+ } else {
+ ut_ad(pcur->pos_state == BTR_PCUR_IS_POSITIONED);
+ ut_ad((pcur->rel_pos == BTR_PCUR_ON)
+ == btr_pcur_is_on_user_rec(pcur));
}
+#endif
- if (relative_position == BTR_PCUR_AFTER
- || relative_position == BTR_PCUR_AFTER_LAST_IN_TREE) {
+ /* The position may need be adjusted for rel_pos and moves_up. */
- if (moves_up) {
+ switch (pcur->rel_pos) {
+ case BTR_PCUR_ON:
+ if (!success && moves_up) {
+next:
+ btr_pcur_move_to_next(pcur, mtr);
return(TRUE);
}
-
- if (btr_pcur_is_on_user_rec(pcur)) {
+ return(!success);
+ case BTR_PCUR_AFTER_LAST_IN_TREE:
+ case BTR_PCUR_BEFORE_FIRST_IN_TREE:
+ return(TRUE);
+ case BTR_PCUR_AFTER:
+ /* positioned to record after pcur->old_rec. */
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+prev:
+ if (btr_pcur_is_on_user_rec(pcur) && !moves_up) {
btr_pcur_move_to_prev(pcur, mtr);
}
-
return(TRUE);
+ case BTR_PCUR_BEFORE:
+ /* For non optimistic restoration:
+ The position is now set to the record before pcur->old_rec.
+
+ For optimistic restoration:
+ The position also needs to take the previous search_mode into
+ consideration. */
+
+ switch (pcur->pos_state) {
+ case BTR_PCUR_IS_POSITIONED_OPTIMISTIC:
+ pcur->pos_state = BTR_PCUR_IS_POSITIONED;
+ if (pcur->search_mode == PAGE_CUR_GE) {
+ /* Positioned during Greater or Equal search
+ with BTR_PCUR_BEFORE. Optimistic restore to
+ the same record. If scanning for lower then
+ we must move to previous record.
+ This can happen with:
+ HANDLER READ idx a = (const);
+ HANDLER READ idx PREV; */
+ goto prev;
+ }
+ return(TRUE);
+ case BTR_PCUR_IS_POSITIONED:
+ if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
+ goto next;
+ }
+ return(TRUE);
+ case BTR_PCUR_WAS_POSITIONED:
+ case BTR_PCUR_NOT_POSITIONED:
+ break;
+ }
}
-
- ut_ad(relative_position == BTR_PCUR_BEFORE
- || relative_position == BTR_PCUR_BEFORE_FIRST_IN_TREE);
-
- if (moves_up && btr_pcur_is_on_user_rec(pcur)) {
- btr_pcur_move_to_next(pcur, mtr);
- }
-
+ ut_ad(0);
return(TRUE);
}
@@ -4278,6 +4308,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
/* ut_print_name(stderr, index->name);
fputs(" record not found 3\n", stderr); */
@@ -4317,6 +4355,14 @@ wrong_offs:
btr_pcur_store_position(pcur, &mtr);
+ /* The found record was not a match, but may be used
+ as NEXT record (index_next). Set the relative position
+ to BTR_PCUR_BEFORE, to reflect that the position of
+ the persistent cursor is before the found/stored row
+ (pcur->old_rec). */
+ ut_ad(pcur->rel_pos == BTR_PCUR_ON);
+ pcur->rel_pos = BTR_PCUR_BEFORE;
+
err = DB_RECORD_NOT_FOUND;
/* ut_print_name(stderr, index->name);
fputs(" record not found 4\n", stderr); */
@@ -4950,6 +4996,7 @@ normal_return:
if (prebuilt->n_fetch_cached > 0) {
row_sel_pop_cached_row_for_mysql(buf, prebuilt);
+ DEBUG_SYNC_C("row_search_cached_row");
err = DB_SUCCESS;
}
diff --git a/storage/xtradb/trx/trx0trx.c b/storage/xtradb/trx/trx0trx.c
index b2df6d471f1..fb81e130747 100644
--- a/storage/xtradb/trx/trx0trx.c
+++ b/storage/xtradb/trx/trx0trx.c
@@ -1306,7 +1306,15 @@ trx_cleanup_at_db_startup(
}
trx->state = TRX_NOT_STARTED;
+
+ /* This code is executed in a single threaded context, but we acquire
+ kernel_mutex to satisfy a debug assertion in
+ trx_release_descriptor(). */
+
+ mutex_enter(&kernel_mutex);
trx_release_descriptor(trx);
+ mutex_exit(&kernel_mutex);
+
trx->rseg = NULL;
trx->undo_no = 0;
trx->last_sql_stat_start.least_undo_no = 0;