diff options
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index e7086a5cbb3..6f22c05b308 100644 --- a/sql/item.h +++ b/sql/item.h @@ -4816,6 +4816,11 @@ public: virtual double val_real() = 0; virtual longlong val_int() = 0; virtual int save_in_field(Field *field, bool no_conversions) = 0; + bool walk(Item_processor processor, bool walk_subquery, void *args) + { + return (item->walk(processor, walk_subquery, args)) || + (this->*processor)(args); + } }; /** |