Bug #95811 "--disable_warnings # comment" parse error
Submitted: 14 Jun 2019 10:35 Modified: 15 Jun 2019 6:27
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Verified Impact on me:
Category:Tools: MTR / mysql-test-run Severity:S7 (Test Cases)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[14 Jun 2019 10:35] Laurynas Biveinis
A comment on the same line as disable_warnings or enable_warnings gets misparsed.

--disable_warnings # Foo bar blah

results in

CURRENT_TEST: main.foo
mysqltest: At line 1: Extra argument 'bar blah' passed to 'enable_warnings'
safe_process[8980]: Child process: 8981, exit: 1

This must have something to do with disable_warnings/enable_warnings taking an optional warning list. It seems that this does not parse comments correctly.

How to repeat:
See above
[15 Jun 2019 6:27] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback.