summaryrefslogtreecommitdiff
path: root/mysql-test/main/error_simulation.test
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2022-03-15 16:44:52 +1100
committerDaniel Black <daniel@mariadb.org>2022-03-15 16:44:52 +1100
commita9500860367c9ef4ac67c9c41c81dcfad13dc836 (patch)
treef31a017c98c57499434411f9143c80297bc9f252 /mysql-test/main/error_simulation.test
parentbfed2c7d57a7ca34936d6ef0688af7357592dc40 (diff)
parent6de482a6fefac0c21daf33ed465644151cdf879f (diff)
downloadmariadb-git-a9500860367c9ef4ac67c9c41c81dcfad13dc836.tar.gz
Merge 10.2 (part) into 10.3
commit '6de482a6fefac0c21daf33ed465644151cdf879f' 10.3 no longer errors in truncate_notembedded.test but per comments, a non-crash is all that we are after.
Diffstat (limited to 'mysql-test/main/error_simulation.test')
-rw-r--r--mysql-test/main/error_simulation.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/error_simulation.test b/mysql-test/main/error_simulation.test
index f713e2da6ba..2c155bc9a22 100644
--- a/mysql-test/main/error_simulation.test
+++ b/mysql-test/main/error_simulation.test
@@ -158,3 +158,16 @@ SET SESSION debug_dbug="+d,simulate_create_virtual_tmp_table_out_of_memory";
SELECT f1(1);
DROP FUNCTION f1;
SET debug_dbug= @saved_dbug;
+
+--echo #
+--echo # MDEV-27978 wrong option name in error when exceeding max_session_mem_used
+--echo #
+SET SESSION max_session_mem_used = 8192;
+--error ER_OPTION_PREVENTS_STATEMENT
+SELECT * FROM information_schema.processlist;
+SET SESSION max_session_mem_used = DEFAULT;
+
+
+--echo #
+--echo # End of 10.2 tests
+--echo #