summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorgkodinov/kgeorge@macbook.gmz <>2008-03-29 16:12:23 +0200
committergkodinov/kgeorge@macbook.gmz <>2008-03-29 16:12:23 +0200
commit84f761daaf1b25f82f60bca3d2fa552c443d757d (patch)
treebbe0fc6a24accdedaf82245691ecb5a01039b9fe /sql/sql_union.cc
parent7cb4b7c19dab2d1dd56992af45dc9842c98a225f (diff)
downloadmariadb-git-84f761daaf1b25f82f60bca3d2fa552c443d757d.tar.gz
fixes for warnings and compile errors for the fix of bug 26243
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 25a0540e4dd..da5e118b069 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -444,7 +444,9 @@ bool st_select_lex_unit::exec()
}
/* re-enabling indexes for next subselect iteration */
if (union_distinct && table->file->enable_indexes(HA_KEY_SWITCH_ALL))
+ {
DBUG_ASSERT(0);
+ }
}
for (SELECT_LEX *sl= select_cursor; sl; sl= sl->next_select())
{