• tnurnberg@mysql.com/salvation.intern.azundris.com's avatar
    Bug#21014: Segmentation fault of mysqldump on view · 4316f715
    mysqldump did not select the correct database before trying to dump
    views from it. this resulted in an empty result set, which in turn
    startled mysql-dump into a core-dump.  this only happened for views,
    not for tables, and was only visible with multiple databases that
    weren't by sheer luck in the order mysqldump required, anyway. this
    fixes by selecting the correct database before dumping views; it also
    catches the empty set-condition if it should occur for other reasons.
    4316f715
mysqldump.result 125 KB