summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2001-06-03 17:07:26 +0300
committerSinisa@sinisa.nasamreza.org <>2001-06-03 17:07:26 +0300
commit338b51b5a7e23983f39c06b4b74523349401245c (patch)
tree117457cc851c63311919cde097c85f86ae4d9995 /sql/item_sum.cc
parent73e6a6905209b92413c43f9da750278e98a6932a (diff)
downloadmariadb-git-338b51b5a7e23983f39c06b4b74523349401245c.tar.gz
These are actually two changesets. One for splitting LEX in two and
the other for multi-table delete
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 879c27178e5..c42b934297e 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -883,7 +883,7 @@ bool Item_sum_count_distinct::setup(THD *thd)
tmp_table_param->cleanup();
}
if (!(table=create_tmp_table(thd, tmp_table_param, list, (ORDER*) 0, 1,
- 0, 0, current_lex->options | thd->options)))
+ 0, 0, current_lex->select->options | thd->options)))
return 1;
table->file->extra(HA_EXTRA_NO_ROWS); // Don't update rows
table->no_rows=1;