Commit 94bbc723 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

portability fix (some printf lack of NULL support in strings)

parent cb079c74
......@@ -112,7 +112,8 @@ void Item::cleanup()
{
DBUG_ENTER("Item::cleanup");
DBUG_PRINT("info", ("Item: 0x%lx, Type: %d, name %s, original name %s",
this, (int)type(), name, orig_name));
this, (int)type(), name ? name : "(null)",
orig_name ? orig_name : "null"));
fixed=0;
marker= 0;
if (orig_name)
......
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