[MXS-2450] Crash on COM_CHANGE_USER with disable_sescmd_history=true Created: 2019-04-23  Updated: 2020-08-25  Resolved: 2019-04-24

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.3.6
Fix Version/s: 2.3.7

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MXS-2451 MaxScale crashes on startup. Closed

 Description   

The code that discards the session command history will cause a crash if the first session command that is executed is COM_CHANGE_USER and session command history is disabled. Removing disable_sescmd_history=true and adding prune_sescmd_history=true will prevent the crash.


Generated at Thu Feb 08 04:14:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.