8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +01:00

Fixed #1210: I/O error during "open" operation for file "/tmp/firebird/fb_trace_XXXXXX"

This commit is contained in:
AlexPeshkoff 2021-08-30 18:15:51 +03:00
parent 10f9186bf4
commit 844cc706c1

View File

@ -219,10 +219,10 @@ void TimerEntry::cleanup()
ISC_UINT64 curTime()
{
ISC_UINT64 rc = fb_utils::query_performance_counter();
double rc = fb_utils::query_performance_counter();
rc *= 1000000;
rc /= fb_utils::query_performance_frequency();
return rc;
return ISC_UINT64(rc);
}
TimerEntry* getTimer(ITimer* timer)