[MXS-2289] Hintfilter accepts invalid comment syntax Created: 2019-01-23  Updated: 2019-03-04  Resolved: 2019-02-19

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

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


 Description   

The comment syntax for a single-line comment uses three characters: two hyphens followed by a space. If the trailing space is missing, the server does not recognize it as a comment and treats it as a syntax error. The hintfilter accepts the double hyphen even if the trailing space is missing when it should be ignored.


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