diff options
author | sasha@mysql.sashanet.com <> | 2001-06-11 20:26:24 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-06-11 20:26:24 -0600 |
commit | 824a3bb4068e6a224340514fba9f6203b8fa843e (patch) | |
tree | 3c24d57faaa30800620be86906896f7e391f9d62 /mysql-test | |
parent | e17764dc7925574c86b49777df9a9c3d754a9e32 (diff) | |
download | mariadb-git-824a3bb4068e6a224340514fba9f6203b8fa843e.tar.gz |
send a separate commit message to internals
added a test for check table
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/check.result | 2 | ||||
-rw-r--r-- | mysql-test/t/check.test | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/r/check.result b/mysql-test/r/check.result new file mode 100644 index 00000000000..694d7429a14 --- /dev/null +++ b/mysql-test/r/check.result @@ -0,0 +1,2 @@ +Table Op Msg_type Msg_text +test.t1 check status OK diff --git a/mysql-test/t/check.test b/mysql-test/t/check.test new file mode 100644 index 00000000000..e65a61d86da --- /dev/null +++ b/mysql-test/t/check.test @@ -0,0 +1,18 @@ +connect (con1,localhost,root,,); +connect (con2,localhost,root,,); +connection con1; +drop table if exists t1; +#add a lot of keys to slow down check +create table t1(n int not null, key(n), key(n), key(n), key(n)); +let $1=10000; +while ($1) +{ + eval insert into t1 values ($1); + dec $1; +} +send check table t1 type=extended; +connection con2; +insert into t1 values (200000); +connection con1; +reap; + |