• unknown's avatar
    Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS" · 2f0b1d65
    unknown authored
    - Refactoring of duplicate code
    - Modified bad test cases
    - Changed expected error when operating on information_schema.
    
    
    mysql-test/r/information_schema.result:
      - updated result file with new error code.
    mysql-test/r/rpl_sp.result:
      - Modified test case
    mysql-test/t/information_schema.test:
      - Changed error code for operations on information_schema
    mysql-test/t/rpl_sp.test:
      - Modified test case
    sql/sql_parse.cc:
      - Cleaned up code:
        * replace tab with space
        * simplified if/switch statements
        * refactored duplicated code
    2f0b1d65
rpl_sp.result 14.6 KB