Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
I'm using interbase components to access my database files.
I receive lots of "dead locks", and don't know what is it?
Here some code:
-----------------------------------------------------------
label tryagain1;
var
error1:boolean;
ibtransaction1.starttransaction;
{I make selects, inserts, updates, etc... here! without commit}
error1:=true;
try
ibtransaction1.commit;
error1:=false;
except
raise;
ibtransaction1.rollback;
error1:=true;
end;
if error1=true then
begin
goto tryagain1;
end;
-----------------------------------------------------------
Any suggestion?