~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/myisamcheck.test

  • Committer: Monty Taylor
  • Date: 2009-07-11 08:59:58 UTC
  • mto: (1093.1.12 captain)
  • mto: This revision was merged to the branch mainline in revision 1097.
  • Revision ID: mordred@inaugust.com-20090711085958-182jngk7bbe020q4
Removed dangerous asserts... mainly to upset Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
connect (con1,localhost,root,,);
 
2
connect (con2,localhost,root,,);
 
3
connection con1;
 
4
--disable_warnings
 
5
drop table if exists t1,t2;
 
6
--enable_warnings
 
7
 
 
8
# Add a lot of keys to slow down check
 
9
create table t1(n int not null, key(n), key(n), key(n), key(n)) engine=myisam;
 
10
let $1=10000;
 
11
disable_query_log;
 
12
while ($1)
 
13
{
 
14
 eval insert into t1 values ($1);
 
15
 dec $1;
 
16
}
 
17
enable_query_log;
 
18
send check table t1 extended;
 
19
connection con2;
 
20
insert into t1 values (200000);
 
21
connection con1;
 
22
reap;
 
23
drop table t1;
 
24
 
 
25
# End of 4.1 tests
 
26
 
 
27
 
 
28
#
 
29
# BUG#26325 - TEMPORARY TABLE "corrupt" after first read, according to CHECK
 
30
#             TABLE
 
31
#
 
32
CREATE TEMPORARY TABLE t1(a INT) engine=myisam;
 
33
CHECK TABLE t1;
 
34
DROP TABLE t1;