Infinite loop
Posted: Tue 03 Mar 2020 20:35
Hello,
As we know, the tnsnames.ora file may have include items such as IFILE=<filename>.
If you comment out such an item like #IFILE=<filename>, the procedure TOraServerEnumerator.GetServerList gets into an infinite loop. This causes the application to hang infinitely while filling the combo box with TNS aliases.
This can easily be avoided by incrementing the loop index before leaving:
if p = 0 then begin
Inc(i); //03.03.2020 added to leave while loop
continue;
end;
Could you please fix this?
As we know, the tnsnames.ora file may have include items such as IFILE=<filename>.
If you comment out such an item like #IFILE=<filename>, the procedure TOraServerEnumerator.GetServerList gets into an infinite loop. This causes the application to hang infinitely while filling the combo box with TNS aliases.
This can easily be avoided by incrementing the loop index before leaving:
if p = 0 then begin
Inc(i); //03.03.2020 added to leave while loop
continue;
end;
Could you please fix this?