Commit 29d18bf0 authored by unknown's avatar unknown

Fixed bug in first log file detecting function.


storage/maria/ma_loghandler.c:
  min_file should be for sure unexistant file for right search.
parent abe1031e
......@@ -6807,7 +6807,7 @@ my_bool translog_is_file(uint file_no)
static uint32 translog_first_file(TRANSLOG_ADDRESS horizon, int is_protected)
{
uint min_file= 1, max_file;
uint min_file= 0, max_file;
DBUG_ENTER("translog_first_file");
if (!is_protected)
pthread_mutex_lock(&log_descriptor.purger_lock);
......
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