diff options
Diffstat (limited to 'mysql-test/r/maria-recovery-bitmap.result')
-rw-r--r-- | mysql-test/r/maria-recovery-bitmap.result | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/r/maria-recovery-bitmap.result b/mysql-test/r/maria-recovery-bitmap.result new file mode 100644 index 00000000000..4eb1d2f491b --- /dev/null +++ b/mysql-test/r/maria-recovery-bitmap.result @@ -0,0 +1,29 @@ +drop database if exists mysqltest; +create database mysqltest; +use mysqltest; +* shut down mysqld, removed logs, restarted it +use mysqltest; +create table t1 (a varchar(10000)) engine=maria; +* TEST of over-allocated bitmap not flushed by checkpoint +insert into t1 values ("bbbbbbb"); +flush table t1; +* copied t1 for comparison +insert into t1 values ("bbbbbbb"); +delete from t1 limit 1; +set session debug="+d,info,enter,exit,maria_over_alloc_bitmap"; +insert into t1 values ("aaaaaaaaa"); +set global maria_checkpoint_interval=1; +SET SESSION debug="+d,maria_crash"; +* crashing mysqld intentionally +set global maria_checkpoint_interval=1; +ERROR HY000: Lost connection to MySQL server during query +* recovery happens +check table t1 extended; +Table Op Msg_type Msg_text +mysqltest.t1 check status OK +* testing that checksum after recovery is as expected +Checksum-check +ok +use mysqltest; +drop database mysqltest_for_comparison; +drop database mysqltest; |