summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-12-18 22:13:56 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-12-18 22:13:56 +0100
commitdc803c99d0dcf4b6f2e8ed8fed18fda643c383ac (patch)
treec71d9f34d69637f47c5b9cd7c2ec9dad35bbdb36 /sql/item.h
parentf9a7ac066469440fb73cc2b5cafc2723cb47d217 (diff)
parente378fa5be0881129100dadd36a172d2ed95e1617 (diff)
downloadmariadb-git-dc803c99d0dcf4b6f2e8ed8fed18fda643c383ac.tar.gz
merge
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 c6ef5bd349a..35180232592 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -894,6 +894,15 @@ public:
(*traverser)(this, arg);
}
+ /*
+ This is used to get the most recent version of any function in
+ an item tree. The version is the version where a MySQL function
+ was introduced in. So any function which is added should use
+ this function and set the int_arg to maximum of the input data
+ and their own version info.
+ */
+ virtual bool intro_version(uchar *int_arg) { return 0; }
+
virtual bool remove_dependence_processor(uchar * arg) { return 0; }
virtual bool remove_fixed(uchar * arg) { fixed= 0; return 0; }
virtual bool cleanup_processor(uchar *arg);