mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
No need to provide parameters with default values.
This commit is contained in:
parent
5a48ebbdd2
commit
5ebd69a9b3
@ -397,13 +397,12 @@ namespace internal
|
|||||||
{
|
{
|
||||||
void decode_timestamp(const GDS_TIMESTAMP* date, tm* times_arg)
|
void decode_timestamp(const GDS_TIMESTAMP* date, tm* times_arg)
|
||||||
{
|
{
|
||||||
int fractions;
|
Firebird::TimeStamp::decode_timestamp(*date, times_arg);
|
||||||
Firebird::TimeStamp::decode_timestamp(*date, times_arg, &fractions);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void encode_timestamp(const tm* times_arg, GDS_TIMESTAMP* date)
|
void encode_timestamp(const tm* times_arg, GDS_TIMESTAMP* date)
|
||||||
{
|
{
|
||||||
*date = Firebird::TimeStamp::encode_timestamp(times_arg, 0);
|
*date = Firebird::TimeStamp::encode_timestamp(times_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum day_format {day_short, day_long};
|
enum day_format {day_short, day_long};
|
||||||
|
Loading…
Reference in New Issue
Block a user