-
Christopher Powers authored
Fixed multiple issues: 1) On Windows, double quotes in argv are removed but single quotes remain. Modified mysqld_get_one_option() to strip leading and trailing single quotes from the argument name and value. 2) mysql-test-run.pl encloses server arguments from .opt files in double quotes, which can mask syntax errors on the command line. Updated setup_instruments_defaults.test to test command line arguments. 3) Instrument names with invalid syntax were allowed. Hardened logic to handle null argument strings, check for balanced quotes and reject arguments with extraneous quotes and slashes. 4) SQL syntax error in setup_instruments_defaults.test resulted in incomplete verification.
Christopher Powers authoredFixed multiple issues: 1) On Windows, double quotes in argv are removed but single quotes remain. Modified mysqld_get_one_option() to strip leading and trailing single quotes from the argument name and value. 2) mysql-test-run.pl encloses server arguments from .opt files in double quotes, which can mask syntax errors on the command line. Updated setup_instruments_defaults.test to test command line arguments. 3) Instrument names with invalid syntax were allowed. Hardened logic to handle null argument strings, check for balanced quotes and reject arguments with extraneous quotes and slashes. 4) SQL syntax error in setup_instruments_defaults.test resulted in incomplete verification.
Loading