summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-09-17 22:44:51 +0300
committermonty@hundin.mysql.fi <>2001-09-17 22:44:51 +0300
commitbfc7394ec3780430a6e387f90dabfa350e418c1d (patch)
tree84e69c2b39154e624f807c4628e21f3d0fdb1da3 /sql/sql_union.cc
parentfe1753de5874fc055a9441c6d815f007e89515ba (diff)
downloadmariadb-git-bfc7394ec3780430a6e387f90dabfa350e418c1d.tar.gz
Fixed bug in UNION when doing UNION with the same tables
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc2
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;