summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/maria/maria-recover.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
commit06eaf7232e9a920468c0f8d74dcf2fe8b555501c (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/suite/maria/maria-recover.result
parentInitial commit. (diff)
downloadmariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.tar.xz
mariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 00000000..7bb90cc0
--- /dev/null
+++ b/mysql-test/suite/maria/maria-recover.result
@@ -0,0 +1,39 @@
+select @@global.aria_recover_options;
+@@global.aria_recover_options
+BACKUP
+set global aria_recover_options=off;
+select @@global.aria_recover_options;
+@@global.aria_recover_options
+OFF
+set global aria_recover_options=default;
+select @@global.aria_recover_options;
+@@global.aria_recover_options
+BACKUP,QUICK
+set global aria_recover_options=normal;
+select @@global.aria_recover_options;
+@@global.aria_recover_options
+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 Got error '145 "Table was marked as crashed and should be repaired"' for 't_corrupted2'
+Warning 1034 1 client is using or hasn't closed the table properly
+Error 176 Got error '176 "Read page with wrong checksum"' for 't_corrupted2.MAI'
+Error 1034 Can't read indexpage from page: 1, error: 176
+select * from t_corrupted2;
+a
+ThursdayMorningsMarket
+ThursdayMorningsMarketb
+drop database mysqltest;
+set global aria_recover_options=backup;
+set global aria_checkpoint_interval=30;