• pem@mysql.comhem.se's avatar
    In order to make ALTER PROCEDURE|FUNCTION work correctly, and in general to · 7a20e528
    pem@mysql.comhem.se authored
    make characteristics (and SHOW) work right, we had to separate the old
    definition blob in the mysql.proc table into separate fields for parameters,
    return type, and body, and handle the characteristics (like SQL SECURITY)
    separately... and then reassemble the CREATE string for parsing, of course.
    This is rather ugly, mostly the parser bit. (Hopefully that will be better
    with the new parser.)
    7a20e528
sp_head.h 12.7 KB