[MXS-4421] Query classification data is unintentionally shared between multiple queries Created: 2022-11-30  Updated: 2022-12-01  Resolved: 2022-12-01

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 22.08.2
Fix Version/s: 22.08.3

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

Issue Links:
Relates
relates to MXS-4422 Move the classification data from GWB... Closed

 Description   

If more than one COM_QUERY packet is read from the client at the same time, they will all share the query classification data of the first type. This happens as the shared buffer that contains the raw data that was read from the socket also contains the query classification data.

For example, both of the following queries are treated as it they were INSERT statements when executed as a pipelined batch.

INSERT INTO t1 VALUES (1);
COMMIT

This is one of the problems that cause MXS-4419.


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