summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-12-17 18:39:10 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-12-17 18:39:10 +0100
commit7548f142c39d6f7d9a995bd4478c62ef6baa5e19 (patch)
treedc87d904496dc0919e3aa3f4ea3d6896bd8f3f7a /sql/item_timefunc.h
parented02cca13ab2446140b47e8756bccc404a66fe6b (diff)
downloadmariadb-git-7548f142c39d6f7d9a995bd4478c62ef6baa5e19.tar.gz
BUG#49591, Fixed version string in SHOW CREATE TABLE to accomodate for column list partitioning and new function to_seconds
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index cdd74c8c601..31726585e88 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -91,6 +91,15 @@ public:
enum_monotonicity_info get_monotonicity_info() const;
longlong val_int_endpoint(bool left_endp, bool *incl_endp);
bool check_partition_func_processor(uchar *bool_arg) { return FALSE;}
+
+ bool intro_version(uchar *int_arg)
+ {
+ int *input_version= (int*)int_arg;
+ /* This function was introduced in 5.5 */
+ int output_version= (*input_version, 50500);
+ *input_version= output_version;
+ return 0;
+ }
};