Commit f31f5eab authored by timour@mysql.com's avatar timour@mysql.com

WL#2486 - natural and using join

Fixed debug printout.
parent a55786ca
...@@ -2547,7 +2547,7 @@ void Field_iterator_table_ref::set_field_iterator() ...@@ -2547,7 +2547,7 @@ void Field_iterator_table_ref::set_field_iterator()
natural_join_it.set(table_ref); natural_join_it.set(table_ref);
field_it= &natural_join_it; field_it= &natural_join_it;
DBUG_PRINT("info",("field_it for '%s' is Field_iterator_natural_join", DBUG_PRINT("info",("field_it for '%s' is Field_iterator_natural_join",
table_ref->table_name)); table_ref->alias));
} }
/* This is a merge view, so use field_translation. */ /* This is a merge view, so use field_translation. */
else if (table_ref->field_translation) else if (table_ref->field_translation)
...@@ -2557,7 +2557,7 @@ void Field_iterator_table_ref::set_field_iterator() ...@@ -2557,7 +2557,7 @@ void Field_iterator_table_ref::set_field_iterator()
view_field_it.set(table_ref); view_field_it.set(table_ref);
field_it= &view_field_it; field_it= &view_field_it;
DBUG_PRINT("info", ("field_it for '%s' is Field_iterator_view", DBUG_PRINT("info", ("field_it for '%s' is Field_iterator_view",
table_ref->table_name)); table_ref->alias));
} }
/* This is a base table or stored view. */ /* This is a base table or stored view. */
else else
...@@ -2566,7 +2566,7 @@ void Field_iterator_table_ref::set_field_iterator() ...@@ -2566,7 +2566,7 @@ void Field_iterator_table_ref::set_field_iterator()
table_field_it.set(table_ref); table_field_it.set(table_ref);
field_it= &table_field_it; field_it= &table_field_it;
DBUG_PRINT("info", ("field_it for '%s' is Field_iterator_table", DBUG_PRINT("info", ("field_it for '%s' is Field_iterator_table",
table_ref->table_name)); table_ref->alias));
} }
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
......
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