• tnurnberg@mysql.com/blasphemy.mysql.com's avatar
    Bug#27293: mysqldump crashes when dumping procedure defined by different user · 205dfa44
    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 mysql.com:/home/tnurnberg/27293/50-27293
    into  mysql.com:/home/tnurnberg/27293/51-27293
    ---
    Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
    into  mysql.com:/home/tnurnberg/27293/51-27293
    205dfa44
mysqldump.result 147 KB