mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16991 Rounding vs truncation for TIME, DATETIME, TIMESTAMP
This commit is contained in:
@ -362,7 +362,8 @@ inline bool str_set_decimal(const my_decimal *val, String *str,
|
||||
}
|
||||
|
||||
|
||||
bool my_decimal2seconds(const my_decimal *d, ulonglong *sec, ulong *microsec);
|
||||
bool my_decimal2seconds(const my_decimal *d, ulonglong *sec,
|
||||
ulong *microsec, ulong *nanosec);
|
||||
|
||||
my_decimal *seconds2my_decimal(bool sign, ulonglong sec, ulong microsec,
|
||||
my_decimal *d);
|
||||
|
Reference in New Issue
Block a user