Commit c0356dad authored by unknown's avatar unknown

No error message from maria_dump_log when reaching a log's EOF.


storage/maria/ma_loghandler.c:
  change the flags, otherwise when maria_dump_log reaches the end of the
  log it prints an "EOF error" to the user.
parent 1b4c6fa6
......@@ -8381,7 +8381,7 @@ int main(int argc, char **argv)
opt_offset+= TRANSLOG_PAGE_SIZE, opt_pages--)
{
if (my_pread(handler, buffer, TRANSLOG_PAGE_SIZE, opt_offset,
MYF(MY_FNABP | MY_WME)))
MYF(MY_NABP)))
{
if (my_errno == HA_ERR_FILE_TOO_SHORT)
goto end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment