diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-17 22:44:51 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-17 22:44:51 +0300 |
commit | 05821367d403ff69e6af3c83ceb45756376f9b94 (patch) | |
tree | 84e69c2b39154e624f807c4628e21f3d0fdb1da3 /sql/sql_union.cc | |
parent | 28097f40d3d13a1d42ef7a98b2ebc3330fd41a83 (diff) | |
download | mariadb-git-05821367d403ff69e6af3c83ceb45756376f9b94.tar.gz |
Fixed bug in UNION when doing UNION with the same tables
myisam/mi_extra.c:
More debugging information
mysql-test/r/union.result:
Added test for UNION bug
mysql-test/t/union.test:
Added test for UNION bug
sql/sql_base.cc:
Clear field->query_id when using UNION
sql/sql_parse.cc:
Fix for UNION bug
sql/sql_union.cc:
Cleanup
sql/table.h:
Fix for UNION bug
tools/Makefile.am:
Fix for compiling with MIT-threads
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 86ecaba6d3b..5dd897ee826 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -37,7 +37,7 @@ int mysql_union(THD *thd, LEX *lex,select_result *result) int res; DBUG_ENTER("mysql_union"); - /* Fix tables--to-be-unioned-from list to point at opened tables */ + /* Fix tables 'to-be-unioned-from' list to point at opened tables */ for (sl=&lex->select_lex; sl; sl=sl->next) { for (TABLE_LIST *cursor= (TABLE_LIST *)sl->table_list.first; |