• tnurnberg@mysql.com/blasphemy.mysql.com's avatar
    Bug#27293: mysqldump crashes when dumping procedure defined by different user · ce1074f6
    mysqldump didn't properly handle getting no data on
    SHOW CREATE PROCEDURE.  If S/C/P fails (due to dumping
    user's insufficient privileges on mysql.proc, say),
    mysqldump will print a comment to that effect to the
    output and return an error-code.  If the -f (force) option
    is used, the dump will continue, otherwise, it will abort
    right there and then.
    
    Also fixes Bug#22761, "mysqldump reports no errors when using
    --routines without mysql.proc privileges"
    ---
    Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
    into  mysql.com:/home/tnurnberg/27293/50-27293
    ce1074f6
mysqldump.c 120 KB