mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 03:23:03 +01:00
Minor correction of previous commit
This commit is contained in:
parent
38c43ff24b
commit
2096e1029e
@ -193,7 +193,7 @@ ISC_TIME TimeStamp::round_time(ISC_TIME ntime, int precision)
|
|||||||
|
|
||||||
// for the moment, if greater precision was requested than we can
|
// for the moment, if greater precision was requested than we can
|
||||||
// provide return what we have.
|
// provide return what we have.
|
||||||
if (scale < 0) return ntime;
|
if (scale <= 0) return ntime;
|
||||||
|
|
||||||
static ISC_TIME pow10table[] =
|
static ISC_TIME pow10table[] =
|
||||||
{1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000};
|
{1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000};
|
||||||
|
Loading…
Reference in New Issue
Block a user