Skip to content
  • Christopher Powers's avatar
    a42bb6d6
    Bug#13955232 - PERFORMANCE_SCHEMA_INSTRUMENT='%=OFF' DOES NOT WORK ON WINDOWS · a42bb6d6
    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.
    a42bb6d6
    Bug#13955232 - PERFORMANCE_SCHEMA_INSTRUMENT='%=OFF' DOES NOT WORK ON WINDOWS
    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.
Loading