2311 |
|
FBOF := True; |
2312 |
|
FEOF := False; |
2313 |
|
FRecordCount := 0; |
2314 |
+ |
if not (csDesigning in ComponentState) then |
2315 |
+ |
MonitorHook.SQLExecute(Self); |
2316 |
|
if FGoToFirstRecordOnExecute then |
2317 |
|
Next; |
2318 |
|
end; |
2323 |
|
Database.SQLDialect, |
2324 |
|
FSQLParams.AsXSQLDA, |
2325 |
|
FSQLRecord.AsXSQLDA), True); |
2326 |
+ |
if not (csDesigning in ComponentState) then |
2327 |
+ |
MonitorHook.SQLExecute(Self); |
2328 |
|
(* if (fetch_res <> 0) and (fetch_res <> isc_deadlock) then |
2329 |
|
begin |
2330 |
|
{ Sometimes a prepared stored procedure appears to get |
2348 |
|
@FHandle, |
2349 |
|
Database.SQLDialect, |
2350 |
|
FSQLParams.AsXSQLDA), True); |
2351 |
+ |
if not (csDesigning in ComponentState) then |
2352 |
+ |
MonitorHook.SQLExecute(Self); |
2353 |
|
end; |
2348 |
– |
if not (csDesigning in ComponentState) then |
2349 |
– |
MonitorHook.SQLExecute(Self); |
2354 |
|
FBase.DoAfterExecQuery(self); |
2355 |
|
// writeln('Rows Affected = ',RowsAffected); |
2356 |
|
end; |