diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2020-09-17 19:05:08 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2020-09-22 17:18:37 +0530 |
commit | 9c2570e6c42a5ff4965a7d7ee122ad1ae9e73428 (patch) | |
tree | 63db1b4aec0ed520cedce14dc9f610d9929a0bf9 /mysql-test/r/errors.result | |
parent | 5768f57d243e3fa945d79fcdc1a3eacb1e4ebb0d (diff) | |
download | mariadb-git-bb-10.1-MDEV-22422.tar.gz |
MDEV-22422: Assertion `! is_set()' failed in Diagnostics_area::set_eof_statusbb-10.1-MDEV-22422
Analysis: The error is not returned when the statement can't be used.
And so we still go on to search for keywords.
Fix: Return the error state.
Diffstat (limited to 'mysql-test/r/errors.result')
-rw-r--r-- | mysql-test/r/errors.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/errors.result b/mysql-test/r/errors.result index e1d494d3324..044fb3ebfa6 100644 --- a/mysql-test/r/errors.result +++ b/mysql-test/r/errors.result @@ -172,3 +172,17 @@ set max_session_mem_used = 50000; select * from seq_1_to_1000; set max_session_mem_used = 8192; select * from seq_1_to_1000; +# +# 10.1 Test +# +# MDEV-22422: Assertion `! is_set()' failed in +# Diagnostics_area::set_eof_status +# +SET @saved_max_session_mem_used = @@max_session_mem_used; +SET max_session_mem_used = 50000; +help 'it is going to crash'; +ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=50000 option so it cannot execute this statement +SET @@max_session_mem_used=@saved_max_session_mem_used; +# +# End of 10.1 Test +# |