diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-06-11 20:26:24 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-06-11 20:26:24 -0600 |
commit | 54fe14e2f6d4249b4317dd8e9d4473fb665a468c (patch) | |
tree | 3c24d57faaa30800620be86906896f7e391f9d62 /mysql-test | |
parent | 8b76fb7f3ef18727fcc1b06733fd190a0741a321 (diff) | |
download | mariadb-git-54fe14e2f6d4249b4317dd8e9d4473fb665a468c.tar.gz |
send a separate commit message to internals
added a test for check table
BitKeeper/triggers/post-commit:
send a separate commit message to internals
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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; + |