mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
helper append_interval(String*)
This commit is contained in:
@ -139,9 +139,11 @@ bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec);
|
||||
|
||||
/* MYSQL_TIME operations */
|
||||
bool date_add_interval(MYSQL_TIME *ltime, interval_type int_type,
|
||||
INTERVAL interval);
|
||||
const INTERVAL &interval);
|
||||
bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2,
|
||||
int l_sign, longlong *seconds_out, long *microseconds_out);
|
||||
int append_interval(String *str, interval_type int_type,
|
||||
const INTERVAL &interval);
|
||||
/**
|
||||
Calculate time difference between two MYSQL_TIME values and
|
||||
store the result as an out MYSQL_TIME value in MYSQL_TIMESTAMP_TIME format.
|
||||
|
Reference in New Issue
Block a user