diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2021-09-15 16:37:54 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2021-09-15 16:37:54 +0200 |
commit | 02af8de33f70b8ed01957c50b20bfe75ac38cb19 (patch) | |
tree | 8c751fb74f8471e5bb51e9ef50317a65125d0dae /mysql-test | |
parent | 696de6d06c0eeaf7b20d5f89278ed7d62a9f204f (diff) | |
download | mariadb-git-bb-10.2-truncate_notembedded-fix.tar.gz |
Give less memory to get reliable error.bb-10.2-truncate_notembedded-fix
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/truncate_notembedded.result | 4 | ||||
-rw-r--r-- | mysql-test/t/truncate_notembedded.test | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/truncate_notembedded.result b/mysql-test/r/truncate_notembedded.result index 18a01c684e7..dabd5474141 100644 --- a/mysql-test/r/truncate_notembedded.result +++ b/mysql-test/r/truncate_notembedded.result @@ -5,7 +5,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM; LOCK TABLE t1 READ; connect con1,localhost,root,,test; -SET SESSION max_session_mem_used= 65536; +SET SESSION max_session_mem_used= 45500; LOCK TABLE t1 WRITE; connection default; SELECT * FROM t1; @@ -13,7 +13,7 @@ a UNLOCK TABLES; connection con1; TRUNCATE TABLE t1; -ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=65536 option so it cannot execute this statement +ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=45500 option so it cannot execute this statement disconnect con1; connection default; DROP TABLE t1; diff --git a/mysql-test/t/truncate_notembedded.test b/mysql-test/t/truncate_notembedded.test index 7e186c8f7d5..3addad2d975 100644 --- a/mysql-test/t/truncate_notembedded.test +++ b/mysql-test/t/truncate_notembedded.test @@ -9,7 +9,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM; LOCK TABLE t1 READ; --connect (con1,localhost,root,,test) -SET SESSION max_session_mem_used= 65536; +SET SESSION max_session_mem_used= 45500; --send LOCK TABLE t1 WRITE; |