summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/recovery_memory.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/recovery_memory.test')
-rw-r--r--mysql-test/suite/innodb/t/recovery_memory.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/recovery_memory.test b/mysql-test/suite/innodb/t/recovery_memory.test
new file mode 100644
index 00000000000..d9afd52c499
--- /dev/null
+++ b/mysql-test/suite/innodb/t/recovery_memory.test
@@ -0,0 +1,21 @@
+--source include/have_innodb.inc
+--source include/big_test.inc
+CREATE TABLE t1(c TEXT, KEY(c(3072)))ENGINE=InnoDB;
+DELIMITER |;
+
+CREATE PROCEDURE dorepeat()
+ LOOP
+ INSERT INTO t1 VALUES ('abc');
+ UPDATE t1 SET c='cba';
+ END LOOP
+|
+
+DELIMITER ;|
+connect(con1,localhost,root,,,);
+send CALL dorepeat();
+connection default;
+sleep 10;
+let $shutdown_timeout=0;
+let $restart_parameters=--innodb_buffer_pool_size=5242880;
+--source include/restart_mysqld.inc
+DROP TABLE t1;