CREATE TABLE t3 (c int) ENGINE = MYISAM; --echo don't need to keep track of insert statements --disable_query_log let $input= 4000; while ($input) { eval INSERT INTO t3 VALUES($input); dec $input; } --enable_query_log CREATE TABLE t4 (c int) ENGINE = MYISAM; --echo don't need to keep track of insert statements --disable_query_log let $input= 4000; while ($input) { eval INSERT INTO t4 VALUES($input*2); dec $input; } --enable_query_log --echo merge t3, t4 = success #Merging into existing table t6 #Can vary as needed to include t6 in param list CREATE TABLE t6 (c int) ENGINE = MYISAM; --exec $MYISAMPACK --join=$MYSQLTEST_VARDIR/master-data/test/t6 $MYSQLTEST_VARDIR/master-data/test/t3 $MYSQLTEST_VARDIR/master-data/test/t4