May be error in NonBlocking realization?
Posted: Thu 02 Oct 2008 11:39
ODAC version 6.25.2.15
Module OraClasses.pas
In TOCIConnection.RunThread you call TExecThread.Create with CreateSuspended = False. Variable FMethodDesc assigned after of thread started and IMHO may be undefined in method TExecThread.Execute.
May be this is a bug?
Module OraClasses.pas
Code: Select all
constructor TExecThread.Create(MethodDesc: TMethodDesc; CreateSuspended: Boolean);
begin
inherited Create(CreateSuspended);
FMethodDesc := MethodDesc;
FreeOnTerminate := True;
end;May be this is a bug?