diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-30 18:46:24 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-30 18:46:24 +0200 |
commit | b49669266301cb28b7ffa6f355ef9a3fb483c09e (patch) | |
tree | 8c175da8af2a3a22c0a1c2dcb960bfb557c86049 /sql/item_sum.h | |
parent | 3706418d610391506c7b3b3d7e40235dfe3c2515 (diff) | |
download | mariadb-git-b49669266301cb28b7ffa6f355ef9a3fb483c09e.tar.gz |
many bug fixes
mysql-test/t/subselect.test:
fixing problems with aliases being forced on derived tables
sql/item_func.cc:
Fixing a bug that caused MySQL to crash on SELECT ...GROUP BY func(feilds)
sql/item_sum.cc:
Making us compatible with ISO C++ paragrah 7.1.9.4
sql/item_sum.h:
Making us compatible with ISO C++ paragrah 7.1.9.4
sql/sql_derived.cc:
Fixing two more bugs in derived tables.
One in EXPLAIN and another causing wrong result in opt_sum_query()
sql/sql_yacc.yy:
Making possible INSERT from SELECT list_of_constants
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index 00803abf25d..56b36b615f4 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -34,6 +34,7 @@ public: uint arg_count; bool quick_group; /* If incremental update of fields */ + inline void mark_as_sum_func(); Item_sum() : arg_count(0),quick_group(1) { mark_as_sum_func(); @@ -54,7 +55,6 @@ public: } Item_sum(List<Item> &list); ~Item_sum() { result_field=0; } - inline void mark_as_sum_func(); enum Type type() const { return SUM_FUNC_ITEM; } virtual enum Sumfunctype sum_func () const=0; |