Permalink
Browse files

Merge pull request #169 from synopse/fix/synDBOrecleTimerFPC

FPC fix: incorrect usage of  TPrecisionTimer.ProfileCurrentMethod in SynDBOracle
  • Loading branch information...
synopse committed Jan 3, 2019
2 parents cbb20a3 + 4ab54b1 commit a32f477ee5edcf486be2058273e5ee6c77e914ff
Showing with 328 additions and 315 deletions.
  1. +1 −0 SynCommons.pas
  2. +327 −315 SynDBOracle.pas
@@ -15879,6 +15879,7 @@ {$ifdef UNICODE}TPrecisionTimer = record{$else}TPrecisionTimer = object{$endif
// - typical use is to declare a fTimeElapsed: TPrecisionTimer protected
// member, then call fTimeElapsed.ProfileCurrentMethod at the beginning of
// all process expecting some timing, then log/save fTimeElapsed.Stop content
// - FPC TIP: result should be assigned to a local variable of IUnknown type
function ProfileCurrentMethod: IUnknown;
/// low-level method to force values settings to allow thread safe timing
// - by default, this timer is not thread safe: you can use this method to
Oops, something went wrong.

0 comments on commit a32f477

Please sign in to comment.