1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Cleanup: moving timestamp_to_TIME() as a method to THD

This commit is contained in:
Alexander Barkov
2018-03-30 14:29:23 +04:00
parent 17bbab5fb0
commit 556a9202ce
3 changed files with 23 additions and 21 deletions

View File

@ -3427,6 +3427,8 @@ public:
return !MY_TEST(variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES);
}
const Type_handler *type_handler_for_date() const;
bool timestamp_to_TIME(MYSQL_TIME *ltime, my_time_t ts,
ulong sec_part, ulonglong fuzzydate);
inline my_time_t query_start() { query_start_used=1; return start_time; }
inline ulong query_start_sec_part()
{ query_start_sec_part_used=1; return start_time_sec_part; }