Verified that patch fixes the bug. All tests passed on linux x86/64
Good to push :)
Chuck Bell wrote:
> #At file:///D:/source/bzr/mysql-6.0-bug-39523/
>
> 2696 Chuck Bell 2008-09-18
> BUG#39523 Backup file missing from backup history log when written as FILE.
>
> Patch adds missing write to file for column 'backup_file'.
> modified:
> sql/log.cc
>
> === modified file 'sql/log.cc'
> --- a/sql/log.cc 2008-09-11 18:21:54 +0000
> +++ b/sql/log.cc 2008-09-18 17:55:53 +0000
> @@ -3338,6 +3338,8 @@ bool MYSQL_BACKUP_LOG::write(THD *thd, s
> goto err;
> if (write_str(user))
> goto err;
> + if (write_str(history_data->backup_file))
> + goto err;
> if (write_str(history_data->user_comment))
> goto err;
> if (write_str(history_data->command))
>
>
>