summaryrefslogtreecommitdiff
path: root/myisam/mi_extra.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-17 22:44:51 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-17 22:44:51 +0300
commit05821367d403ff69e6af3c83ceb45756376f9b94 (patch)
tree84e69c2b39154e624f807c4628e21f3d0fdb1da3 /myisam/mi_extra.c
parent28097f40d3d13a1d42ef7a98b2ebc3330fd41a83 (diff)
downloadmariadb-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 'myisam/mi_extra.c')
-rw-r--r--myisam/mi_extra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/myisam/mi_extra.c b/myisam/mi_extra.c
index eb7285491ed..f1401aaae3c 100644
--- a/myisam/mi_extra.c
+++ b/myisam/mi_extra.c
@@ -34,6 +34,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function)
int error=0;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("mi_extra");
+ DBUG_PRINT("enter",("function: %d",(int) function));
switch (function) {
case HA_EXTRA_RESET: