1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

CASE stores first_expr and else_expr in args[] array now.

This allowed to reuse a lot of code.
This commit is contained in:
unknown
2003-07-17 16:07:56 +05:00
parent 85cc122794
commit d5a6d17707
4 changed files with 46 additions and 108 deletions

View File

@ -115,6 +115,7 @@ public:
virtual const char *func_name() const { return "?"; }
virtual bool const_item() const { return const_item_cache; }
inline Item **arguments() const { return args; }
void set_arguments(List<Item> &list);
inline uint argument_count() const { return arg_count; }
inline void remove_arguments() { arg_count=0; }
virtual void split_sum_func(Item **ref_pointer_array, List<Item> &fields);