From 824a3bb4068e6a224340514fba9f6203b8fa843e Mon Sep 17 00:00:00 2001 From: "sasha@mysql.sashanet.com" <> Date: Mon, 11 Jun 2001 20:26:24 -0600 Subject: send a separate commit message to internals added a test for check table --- mysql-test/r/check.result | 2 ++ mysql-test/t/check.test | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 mysql-test/r/check.result create mode 100644 mysql-test/t/check.test (limited to 'mysql-test') 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; + -- cgit v1.2.1