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/table.h | |
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/table.h')
-rw-r--r-- | sql/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index b25e2d82132..5d50851259d 100644 --- a/sql/table.h +++ b/sql/table.h @@ -145,6 +145,7 @@ typedef struct st_table_list { uint outer_join; /* Which join type */ bool straight; /* optimize with prev table */ bool updating; /* for replicate-do/ignore table */ + bool shared; /* Used twice in union */ } TABLE_LIST; typedef struct st_open_table_list |