Subject | TIBQuery.Prepared |
---|---|
Author | Robert martin |
Post date | 2005-07-06T03:12:46Z |
Hi
Is there any overhead in setting prepared := True when it is already
true or should I check and only set it if it is?
I am assuming the internal code is something like...
.....
if (fPreparded = False) then begin
Prepare;
fPrepared := true;
end;
.....
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Is there any overhead in setting prepared := True when it is already
true or should I check and only set it if it is?
I am assuming the internal code is something like...
.....
if (fPreparded = False) then begin
Prepare;
fPrepared := true;
end;
.....
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd