• davi@mysql.com/endora.local's avatar
    Bug#21801 SQL exception handlers and warnings · 15408307
    davi@mysql.com/endora.local authored
    The problem is that deprecated syntax warnings were not being
    suppressed when the stored routine is being parsed for the first
    execution. It's doesn't make sense to print out deprecated
    syntax warnings when the routine is being executed because this
    kind of warning only matters when the routine is being created.
    
    The solution is to suppress deprecated syntax warnings when
    parsing the stored routine for loading into the cache (might
    mean that the routine is being executed for the first time).
    15408307
sp-error.test 53.4 KB