mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Misc.
This commit is contained in:
parent
501f14a9d3
commit
dd421f9195
@ -1828,7 +1828,7 @@ static void datetime_to_text(const dsc* from, dsc* to, Callbacks* cb)
|
||||
break;
|
||||
|
||||
case dtype_timestamp:
|
||||
cb->isVersion4(version4);
|
||||
cb->isVersion4(version4); // Used in the conversion to text some lines below.
|
||||
Firebird::TimeStamp::decode_timestamp(*(GDS_TIMESTAMP *) from->dsc_address,
|
||||
×, &fractions);
|
||||
break;
|
||||
@ -1866,7 +1866,7 @@ static void datetime_to_text(const dsc* from, dsc* to, Callbacks* cb)
|
||||
|
||||
// Put in a space to separate date & time components
|
||||
|
||||
if ((from->dsc_dtype == dtype_timestamp) && (!version4))
|
||||
if (from->dsc_dtype == dtype_timestamp && !version4)
|
||||
*p++ = ' ';
|
||||
|
||||
// Add the time part for data types that include it
|
||||
|
@ -1656,7 +1656,7 @@ namespace {
|
||||
class IConv
|
||||
{
|
||||
public:
|
||||
IConv(MemoryPool& p)
|
||||
explicit IConv(MemoryPool& p)
|
||||
: toBuf(p)
|
||||
{
|
||||
#ifdef HAVE_LANGINFO_H
|
||||
|
Loading…
Reference in New Issue
Block a user