Commit 5290e580 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 f92dac8d
...@@ -187,9 +187,12 @@ void Item_ident::cleanup() ...@@ -187,9 +187,12 @@ void Item_ident::cleanup()
{ {
DBUG_ENTER("Item_ident::cleanup"); DBUG_ENTER("Item_ident::cleanup");
DBUG_PRINT("enter", ("b:%s(%s), t:%s(%s), f:%s(%s)", DBUG_PRINT("enter", ("b:%s(%s), t:%s(%s), f:%s(%s)",
db_name, orig_db_name, db_name ? db_name : "(null)",
table_name, orig_table_name, orig_db_name ? orig_db_name : "(null)",
field_name, orig_field_name)); table_name ? table_name : "(null)",
orig_table_name ? orig_table_name : "(null)",
field_name ? field_name : "(null)",
orig_field_name ? orig_field_name : "(null)"));
Item::cleanup(); Item::cleanup();
db_name= orig_db_name; db_name= orig_db_name;
table_name= orig_table_name; table_name= orig_table_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