Commit bbf391cb authored by unknown's avatar unknown

Merge mysql.com:/home/timka/mysql/src/5.0-virgin

into  mysql.com:/home/timka/mysql/src/5.0-2486


sql/table.cc:
  Auto merged
parents 34bf64bc 97aa1a58
...@@ -2541,7 +2541,7 @@ void Field_iterator_table_ref::set_field_iterator() ...@@ -2541,7 +2541,7 @@ void Field_iterator_table_ref::set_field_iterator()
table_ref->table->s->fields))); table_ref->table->s->fields)));
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)
...@@ -2550,7 +2550,7 @@ void Field_iterator_table_ref::set_field_iterator() ...@@ -2550,7 +2550,7 @@ void Field_iterator_table_ref::set_field_iterator()
table_ref->effective_algorithm == VIEW_ALGORITHM_MERGE); table_ref->effective_algorithm == VIEW_ALGORITHM_MERGE);
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
...@@ -2558,7 +2558,7 @@ void Field_iterator_table_ref::set_field_iterator() ...@@ -2558,7 +2558,7 @@ void Field_iterator_table_ref::set_field_iterator()
DBUG_ASSERT(table_ref->table || table_ref->view); DBUG_ASSERT(table_ref->table || table_ref->view);
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));
} }
field_it->set(table_ref); field_it->set(table_ref);
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