[MXS-2302] Multiple comments in a query stop hints from working Created: 2019-01-29  Updated: 2020-08-25  Resolved: 2019-03-04

Status: Closed
Project: MariaDB MaxScale
Component/s: hintfilter
Affects Version/s: 2.3.3
Fix Version/s: 2.4.0

Type: Bug Priority: Major
Reporter: Kyle Joiner (Inactive) Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-75, MXS-SPRINT-76

 Description   

The sample query below will not be routed to slave:

select * from myTable /* move this to newTable */ where 1=1 /* maxscale route to slave */



 Comments   
Comment by markus makela [ 2019-01-31 ]

This appears to happen only if the comment with the hint isn't the first one.

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