[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: |
|
||||||||
| 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.
This is one of the problems that cause |