8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00
This commit is contained in:
robocop 2012-04-10 01:40:30 +00:00
parent 501f14a9d3
commit dd421f9195
2 changed files with 3 additions and 3 deletions

View File

@ -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,
&times, &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

View File

@ -1656,7 +1656,7 @@ namespace {
class IConv
{
public:
IConv(MemoryPool& p)
explicit IConv(MemoryPool& p)
: toBuf(p)
{
#ifdef HAVE_LANGINFO_H