summaryrefslogtreecommitdiff
path: root/mysql-test/suite/maria/maria-recover.result
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-04-04 00:16:38 +0300
committerMichael Widenius <monty@askmonty.org>2012-04-04 00:16:38 +0300
commitb04c4801b0529aebb39c8d9be95c123d2f3b7d46 (patch)
tree0a4f72935b5ac6816996172ae412b62327b4caf4 /mysql-test/suite/maria/maria-recover.result
parent34ed8f33795b639d21817003236ce0f6c069481d (diff)
downloadmariadb-git-b04c4801b0529aebb39c8d9be95c123d2f3b7d46.tar.gz
Created suites for heap, archive and csv.
Moved test from main suite to the new suites. Move tests from maria/t and maria/r to maria mysql-test/mysql-test-run.pl: Added support for the new suites
Diffstat (limited to 'mysql-test/suite/maria/maria-recover.result')
-rw-r--r--mysql-test/suite/maria/maria-recover.result39
1 files changed, 39 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/maria-recover.result b/mysql-test/suite/maria/maria-recover.result
new file mode 100644
index 00000000000..9b84c47720a
--- /dev/null
+++ b/mysql-test/suite/maria/maria-recover.result
@@ -0,0 +1,39 @@
+select @@global.aria_recover;
+@@global.aria_recover
+BACKUP
+set global aria_recover=off;
+select @@global.aria_recover;
+@@global.aria_recover
+OFF
+set global aria_recover=default;
+select @@global.aria_recover;
+@@global.aria_recover
+NORMAL
+set global aria_recover=normal;
+select @@global.aria_recover;
+@@global.aria_recover
+NORMAL
+drop database if exists mysqltest;
+create database mysqltest;
+use mysqltest;
+create table t1 (a varchar(1000), index(a)) engine=aria;
+insert into t1 values("ThursdayMorningsMarket");
+flush table t1;
+insert into t1 select concat(a,'b') from t1 limit 1;
+set global aria_checkpoint_interval=1000;
+select * from t_corrupted2;
+a
+ThursdayMorningsMarket
+ThursdayMorningsMarketb
+Warnings:
+Error 145 t_corrupted2' is marked as crashed and should be repaired
+Error 1194 t_corrupted2' is marked as crashed and should be repaired
+Error 1034 1 client is using or hasn't closed the table properly
+Error 1034 Wrong base information on indexpage at page: 1
+select * from t_corrupted2;
+a
+ThursdayMorningsMarket
+ThursdayMorningsMarketb
+drop database mysqltest;
+set global aria_recover=backup;
+set global aria_checkpoint_interval=30;