summaryrefslogtreecommitdiff
path: root/sql/sql_time.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-02-15 11:48:30 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-02-15 11:48:30 +0200
commitcc3b5d1fe75cf1d9b83b7918151f8d90e9263d34 (patch)
tree126aa92625cbe953175cefec87dbd92d97ce7a54 /sql/sql_time.h
parentb006d2ead4640f0ab4e29687fd7d24988b1c98f1 (diff)
parent22770a9f9a7fb4c30dbdc204e5a8f829303b7373 (diff)
downloadmariadb-git-cc3b5d1fe75cf1d9b83b7918151f8d90e9263d34.tar.gz
Merge bb-10.2-ext into 10.3
Diffstat (limited to 'sql/sql_time.h')
-rw-r--r--sql/sql_time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_time.h b/sql/sql_time.h
index 94f24be3748..d7d04d77f0e 100644
--- a/sql/sql_time.h
+++ b/sql/sql_time.h
@@ -231,4 +231,8 @@ bool make_date_with_warn(MYSQL_TIME *ltime,
ulonglong fuzzy_date, timestamp_type ts_type);
bool adjust_time_range_with_warn(MYSQL_TIME *ltime, uint dec);
+longlong pack_time(const MYSQL_TIME *my_time);
+void unpack_time(longlong packed, MYSQL_TIME *my_time,
+ enum_mysql_timestamp_type ts_type);
+
#endif /* SQL_TIME_INCLUDED */