[MDEV-27978] Wrong option name in error message when exceeding max_session_mem_used Created: 2022-03-01  Updated: 2022-03-08  Resolved: 2022-03-08

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.1.21, 10.2.10, 10.4.14, 10.8.2
Fix Version/s: 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None


 Description   

When exceeding max_session_mem_used the error message gives wrong option name max_thread_mem_used instead of max_session_mem_used:

MariaDB [test]> SET SESSION max_session_mem_used = 8192;
Query OK, 0 rows affected (0.000 sec)
 
MariaDB [test]> select * FROM information_schema.processlist;
ERROR 1290 (HY000): The MariaDB server is running with the --max-thread-mem-used=8192 option so it cannot execute this statement



 Comments   
Comment by Daniel Black [ 2022-03-08 ]

Thanks haidong for the fix.

Thanks hholzgra for the bug report.

Generated at Thu Feb 08 09:57:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.