diff options
author | unknown <gkodinov/kgeorge@macbook.gmz> | 2008-03-29 16:12:23 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@macbook.gmz> | 2008-03-29 16:12:23 +0200 |
commit | 8ae5aa3bd81124ed4d3c7e74139b028fd091cefc (patch) | |
tree | bbe0fc6a24accdedaf82245691ecb5a01039b9fe /sql/sql_union.cc | |
parent | 18a01ce9246616e2a3f131d69c132109335c9359 (diff) | |
download | mariadb-git-8ae5aa3bd81124ed4d3c7e74139b028fd091cefc.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.cc | 2 |
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()) { |