~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to tests/t/myisamcheck.test

  • Committer: Jay Pipes
  • Date: 2009-08-03 14:23:22 UTC
  • mfrom: (1039.2.68 staging)
  • mto: This revision was merged to the branch mainline in revision 1078.
  • Revision ID: jpipes@serialcoder-20090803142322-1g67h7su9mocg9ig
Merge trunk

Show diffs side-by-side

added added

removed removed

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