diff options
author | unknown <timour@mysql.com> | 2005-08-18 11:28:50 +0300 |
---|---|---|
committer | unknown <timour@mysql.com> | 2005-08-18 11:28:50 +0300 |
commit | 97aa1a580dce85df58c62641b2ffd6f7dd95b644 (patch) | |
tree | 88eb0a75f56c0ded91e7e16b395aee3e02782b62 /sql/table.cc | |
parent | d33b968f0304161bdd0c74764f71630862e33a9a (diff) | |
download | mariadb-git-97aa1a580dce85df58c62641b2ffd6f7dd95b644.tar.gz |
WL#2486 - natural and using join
Fixed debug printout.
sql/table.cc:
Correct debug printout.
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/table.cc b/sql/table.cc index 0b557b097cf..5fd37b9ae07 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -2547,7 +2547,7 @@ void Field_iterator_table_ref::set_field_iterator() natural_join_it.set(table_ref); field_it= &natural_join_it; 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. */ else if (table_ref->field_translation) @@ -2557,7 +2557,7 @@ void Field_iterator_table_ref::set_field_iterator() view_field_it.set(table_ref); field_it= &view_field_it; 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. */ else @@ -2566,7 +2566,7 @@ void Field_iterator_table_ref::set_field_iterator() table_field_it.set(table_ref); field_it= &table_field_it; DBUG_PRINT("info", ("field_it for '%s' is Field_iterator_table", - table_ref->table_name)); + table_ref->alias)); } DBUG_VOID_RETURN; |