Commit 7054aaaa authored by mats@romeo.(none)'s avatar mats@romeo.(none)

Eliminating a warning for unused variable in non-debug build.

parent d0ce263f
......@@ -5906,7 +5906,9 @@ unpack_row(RELAY_LOG_INFO const *rli,
/*
We only unpack the field if it was non-null
*/
#ifndef DBUG_OFF
const char *const old_ptr= pack_ptr;
#endif
pack_ptr= f->unpack(f->ptr, pack_ptr);
DBUG_PRINT("debug", ("Unpacking field '%s' from %d bytes",
f->field_name, pack_ptr - old_ptr));
......
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