summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2013-01-21 14:34:39 +0200
committerunknown <sanja@montyprogram.com>2013-01-21 14:34:39 +0200
commit193c6f548b3702b4259560c40ca24c1243053388 (patch)
tree57cc1570fc8c9364cb7b3d57e6d67d2cb9af8993 /sql/item_func.h
parenta0710621bf463db66d81f42134dd66f8b03c276a (diff)
downloadmariadb-git-193c6f548b3702b4259560c40ca24c1243053388.tar.gz
MDEV-3873: fixed functions absend in 5.3.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 88491be44a2..516cdd548d0 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -2053,6 +2053,11 @@ public:
enum_field_types field_type() const { return last_value->field_type(); }
bool const_item() const { return 0; }
void evaluate_sideeffects();
+ void update_uesd_tables()
+ {
+ Item_func_last_value::update_used_tables();
+ maybe_null= last_value->maybe_null;
+ }
};