diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-09-15 22:09:12 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-09-15 22:09:12 -0600 |
commit | 3479f42807eb1bbd78804e4b6b06791635c60639 (patch) | |
tree | a22c542bd158059ed3e759903dce0a59eb493006 /mysql-test/t/rpl000006.test | |
parent | 45ea63fec3b9cf740c363508730bb2ce63de719a (diff) | |
download | mariadb-git-3479f42807eb1bbd78804e4b6b06791635c60639.tar.gz |
fixed bug in mysqltest
updated mysql-test-run with features from 4.0
added a test case for broken load data from master for MyISAM tables
with checksum
client/mysqltest.c:
fixed parser bug
mysql-test/mysql-test-run.sh:
backported changes from 4.0 ( needed to be able to run client in gdb)
mysql-test/t/rpl000006.test:
updated test case for a bug
Diffstat (limited to 'mysql-test/t/rpl000006.test')
-rw-r--r-- | mysql-test/t/rpl000006.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000006.test b/mysql-test/t/rpl000006.test index 8668aac0b72..b8ee690837e 100644 --- a/mysql-test/t/rpl000006.test +++ b/mysql-test/t/rpl000006.test @@ -15,3 +15,21 @@ drop table foo; save_master_pos; connection slave; sync_with_master; +connection master; +set SQL_LOG_BIN=1; +CREATE TABLE t1 ( + a int not null +) TYPE=MyISAM MAX_ROWS=4000 CHECKSUM=1; + +INSERT INTO t1 VALUES (1); +save_master_pos; +connection slave; +sync_with_master; +drop table t1; +load table t1 from master; +check table t1; +connection master; +drop table t1; +save_master_pos; +connection slave; +sync_with_master; |