mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fixed #1210: I/O error during "open" operation for file "/tmp/firebird/fb_trace_XXXXXX"
This commit is contained in:
parent
10f9186bf4
commit
844cc706c1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user