Commit 24ad655a authored by unknown's avatar unknown

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

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