diff options
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 88fa78cd4a4..5b39c2ef0d8 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -53,6 +53,7 @@ protected: set_if_bigger(res, item[i]->decimals); return res; } + virtual bool check_allowed_arg_cols(uint argno); public: void aggregate_attributes_int(Item **items, uint nitems) { @@ -2547,7 +2548,12 @@ private: protected: bool is_expensive_processor(void *arg) { return is_expensive(); } - + + bool check_allowed_arg_cols(uint n) + { + // sp_prepare_func_item() checks that the number of columns is correct + return false; + } public: Item_func_sp(THD *thd, Name_resolution_context *context_arg, sp_name *name); |