summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-11-20 13:11:35 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:27:25 +0100
commit0bef3bb8d0a0c3d25b6e4c707144c96cb0350e99 (patch)
treec980515c68e37f13987d38eefe8a010683e7db6a /sql/item_timefunc.h
parentd440319842e564a727a54d2c44f92104bd96e0de (diff)
downloadmariadb-git-0bef3bb8d0a0c3d25b6e4c707144c96cb0350e99.tar.gz
cleanup: remove Item::intro_version
and partition_info::set_show_version_string - they were already broken and impossible to maintain
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 1e905c44fdf..07b4ef92b2e 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -115,15 +115,6 @@ public:
longlong val_int_endpoint(bool left_endp, bool *incl_endp);
bool check_partition_func_processor(void *bool_arg) { return FALSE;}
- bool intro_version(void *int_arg)
- {
- int *input_version= (int*)int_arg;
- /* This function was introduced in 5.5 */
- int output_version= MY_MAX(*input_version, 50500);
- *input_version= output_version;
- return 0;
- }
-
/* Only meaningful with date part and optional time part */
bool check_valid_arguments_processor(void *int_arg)
{