~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/drizzlecheck.test

  • Committer: devananda
  • Date: 2009-06-30 14:27:54 UTC
  • mfrom: (1030.2.4 trunk)
  • mto: (1093.1.7 captain)
  • mto: This revision was merged to the branch mainline in revision 1095.
  • Revision ID: devananda.vdv@gmail.com-20090630142754-vm9w374yxkf1pikc
mergeĀ fromĀ lp

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
--exec $DRIZZLE_CHECK --databases test
30
30
drop table `t``1`, `t 1`;
31
31
 
32
 
#
33
 
# Bug#25347: mysqlcheck -A -r doesn't repair table marked as crashed
34
 
#
35
 
create database d_bug25347;
36
 
use d_bug25347;
37
 
create table t_bug25347 (a int) engine=MyISAM;
38
 
insert into t_bug25347 values (1),(2),(3);
39
 
flush tables;
40
 
--echo removing and creating
41
 
--remove_file $MYSQLTEST_VARDIR/master-data/d_bug25347/t_bug25347.MYI
42
 
--write_file $MYSQLTEST_VARDIR/master-data/d_bug25347/t_bug25347.MYI
43
 
EOF
44
 
--exec $DRIZZLE_CHECK --repair --databases d_bug25347
45
 
--error 130
46
 
insert into t_bug25347 values (4),(5),(6);
47
 
--exec $DRIZZLE_CHECK --repair --use-frm --databases d_bug25347
48
 
insert into t_bug25347 values (7),(8),(9);
49
 
select * from t_bug25347;
50
 
drop table t_bug25347;
51
 
drop database d_bug25347;
52
 
use test;
53
 
 
54
32
--echo End of 5.0 tests