• Hartmut Holzgraefe's avatar
    MDEV-27816 Set sql_mode before DROP IF EXISTS already · 9fe3bc2a
    Hartmut Holzgraefe authored
    Previously the correct SQL mode for a stored routine or
    package was only set before doing the CREATE part, this
    worked out for PROCEDUREs and FUNCTIONs, but with ORACLE
    mode specific PACKAGEs the DROP also only works in ORACLE
    mode.
    
    Moving the setting of the sql_mode a few lines up to happen
    right before the DROP statement is writen fixes this.
    9fe3bc2a
definer.result 35.3 KB