summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-13 23:57:57 +0300
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-13 23:57:57 +0300
commitd65fdb31681260ee0cb37ded28889bf9946da1d8 (patch)
treeaec37a4d8c8ec20293732a0ba8bd595673728737 /sql/item.h
parent8969530cffde0c7a466cf3aa8c4b7462d0ace2d2 (diff)
parentc08e6c8867db16245732101ee8603efc0773c7c4 (diff)
downloadmariadb-git-d65fdb31681260ee0cb37ded28889bf9946da1d8.tar.gz
Automerge
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 2d429ca6cf3..b97808ac87f 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -957,6 +957,15 @@ public:
virtual Item *equal_fields_propagator(uchar * arg) { return this; }
virtual bool set_no_const_sub(uchar *arg) { return FALSE; }
virtual Item *replace_equal_field(uchar * arg) { return this; }
+ /*
+ Check if an expression value depends on the current timezone. Used by
+ partitioning code to reject timezone-dependent expressions in a
+ (sub)partitioning function.
+ */
+ virtual bool is_timezone_dependent_processor(uchar *bool_arg)
+ {
+ return FALSE;
+ }
/*
For SP local variable returns pointer to Item representing its