Commit 7c87c307 authored by unknown's avatar unknown

Fixed non-debug build.

storage/maria/ma_loghandler.c:
  Now we need buffer number to set dirty buffers mask.
parent 0f660db3
......@@ -137,9 +137,7 @@ struct st_translog_buffer
content of page which present in both buffers)
*/
struct st_translog_buffer *overlay;
#ifndef DBUG_OFF
uint buffer_no;
#endif
/*
Lock for the buffer.
......@@ -3494,9 +3492,7 @@ my_bool translog_init_with_table(const char *directory,
{
if (translog_buffer_init(log_descriptor.buffers + i))
goto err;
#ifndef DBUG_OFF
log_descriptor.buffers[i].buffer_no= (uint8) i;
#endif
DBUG_PRINT("info", ("translog_buffer buffer #%u: 0x%lx",
i, (ulong) log_descriptor.buffers + i));
}
......
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