> The thing I need to do is modify Execute method, comment out the > if FQuery.SupportsRowsAffected then > > procedure TtiVisitorUpdate.Execute(const AData: TtiVisited); > var > lStart: DWord; > lRowsAffected: integer; > begin > .... > SetupParams; > lRowsAffected := Query.ExecSQL; > //if FQuery.SupportsRowsAffected then > AfterExecSQL(lRowsAffected); > LogQueryTiming(ClassName, tiGetTickCount - lStart, 0); > end; > > Because FQuery.SupportsRowsAffected is always FALSE.
I guess I can permanently commented that out as TtiVisitorUpdate.AfterExecSQL is virtual and empty. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ tiOPF-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tiopf-talk
