Subversion Repositories indexer_suite

Compare Revisions

Regard whitespace Rev 8 → Rev 7

/trunk/AdoConnHelper.pas
3,7 → 3,7
(*
* Class helper for TAdoConnection
* by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com>
* Revision: 14 June 2021
* Revision: 28 Aug 2018
*)
 
interface
91,10 → 91,7
result.CommandType := cmdText;
result.CommandText := SQL;
result.DisableControls;
if ATimeout <> -1 then
result.CommandTimeout := ATimeout
else
result.CommandTimeout := self.CommandTimeout;
if ATimeout <> -1 then result.CommandTimeout := ATimeout;
result.Active := true;
end;
 
179,10 → 176,7
cmd.ParamCheck := false;
cmd.CommandType := cmdText;
cmd.CommandText := SQL;
if ATimeOut <> -1 then
cmd.CommandTimeout := ATimeout
else
cmd.CommandTimeout := self.CommandTimeout;
if ATimeOut <> -1 then cmd.CommandTimeout := ATimeout;
cmd.Execute;
finally
cmd.Free;
195,7 → 189,7
begin
for s in List do
begin
ExecSQL(s, ATimeout);
ExecSQL(s);
end;
end;