summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 4306c6ea47a..7b6b60b2914 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1907,7 +1907,8 @@ private:
bool init_result_field(THD *thd);
protected:
- bool is_expensive_processor(uchar *arg) { return TRUE; }
+ bool is_expensive_processor(uchar *arg)
+ { return is_expensive(); }
public:
@@ -1986,7 +1987,7 @@ public:
bool fix_fields(THD *thd, Item **ref);
void fix_length_and_dec(void);
- bool is_expensive() { return 1; }
+ bool is_expensive();
inline Field *get_sp_result_field()
{