summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/undo_truncate_recover.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/r/undo_truncate_recover.result')
-rw-r--r--mysql-test/suite/innodb/r/undo_truncate_recover.result16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/undo_truncate_recover.result b/mysql-test/suite/innodb/r/undo_truncate_recover.result
new file mode 100644
index 00000000..777c9ce5
--- /dev/null
+++ b/mysql-test/suite/innodb/r/undo_truncate_recover.result
@@ -0,0 +1,16 @@
+SET GLOBAL innodb_fast_shutdown=0;
+# restart: --innodb_undo_tablespaces=2
+SET GLOBAL innodb_undo_log_truncate = 1;
+create table t1(keyc int primary key, c char(100)) engine = innodb;
+begin;
+commit;
+begin;
+update t1 set c = 'MariaDB';
+update t1 set c = 'InnoDB';
+set global debug_dbug = '+d,ib_undo_trunc';
+commit;
+drop table t1;
+call mtr.add_suppression("InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces");
+SET GLOBAL innodb_fast_shutdown=0;
+FOUND 1 /ib_undo_trunc/ in mysqld.1.err
+# restart: with restart_parameters