[MXS-4111] Extra warnings logged even with use_sql_variables_in=master Created: 2022-04-22  Updated: 2022-04-28  Resolved: 2022-04-27

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 6.3.0
Fix Version/s: 6.3.1

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


 Description   

When readwritesplit is configured with use_sql_variables_in=master, the following warning is logged but the query is still routed normally.

2022-04-22 13:11:11   error  : (1) [readwritesplit] (RW-Split-Router); Can't route COM_QUERY 'SELECT CASE data WHEN 'hello' THEN @var:=2 ELSE @var:=1 END'. SELECT with session data modification is not supported with `use_sql_variables_in=all`.


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