mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Correction by Dmitry Kovalenko.
This commit is contained in:
parent
6520ff8f9c
commit
a8d62d83db
@ -279,7 +279,9 @@ void TimeStamp::encode(const struct tm* times, int fractions)
|
||||
// Decode timestamp into UNIX datetime structure
|
||||
void TimeStamp::decode(struct tm* times, int* fractions) const
|
||||
{
|
||||
fb_assert(!isEmpty());
|
||||
fb_assert(mValue.timestamp_date != BAD_DATE);
|
||||
fb_assert(mValue.timestamp_time != BAD_TIME);
|
||||
|
||||
decode_timestamp(mValue, times, fractions);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user