-
Notifications
You must be signed in to change notification settings - Fork 12
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One failed query can prevent future queries working #517
Comments
I was under the impression that DDErl can gracefully handle all query errors (without loosing the Oracle conection session). @acautin can you please investigate why isn't that the case here? |
@c-bik from:
Doesn't this means the connection was terminated on the driver side ? |
@acautin {oci_logger,108} TCP closed
{oci_logger,137} Terminating normal ...and... [error] [_DDRL_] {c_src/erloci_lib/ocistmt.cpp:execute:707} Unsupported column type 8
[info] [_DDRL_] {dderloci,358} RowIdError {error,{0,<<"[execute:706] unsupporetd type 8\n">>}} ...are related and for same cause... default:
r.fn_ret = FAILURE;
SPRINT(r.gerrbuf, sizeof(r.gerrbuf), "[%s:%d] unsupporetd type %u\n", __FUNCTION__, __LINE__, cur_clm.dtype);
REMOTE_LOG(ERR, "Unsupported column type %d\n", cur_clm.dtype);
throw r;
break; is no different from any other SQL execute error including table doesn't exist (in which case I assume DDErl doesn't, and it shouldn't, loose the session). |
dderl doesn't, isn't the driver the one that is closing the connection ?, that was my question as AFAIK we don't try to understand the errors just forward them to the client. |
if that is the case than, specifically, select SCOTT.NUMBER_LONG.*, SCOTT.NUMBER_LONG.ROWID from SCOTT.NUMBER_LONG is causing the connection close! @seanhinde can you please try the following two queries from erloci level (without DDErl) and post the console logs here? select * from SCOTT.TABLE_DOESNT_EXIST and select SCOTT.NUMBER_LONG.*, SCOTT.NUMBER_LONG.ROWID from SCOTT.NUMBER_LONG |
reported to erloci K2InformaticsGmbH/erloci#71 |
In the lab Oracle right click and "Browse Data" on the table SCOTT.NUMBER_LONG. The erlang console shows the error message:
Further attempts to view previously working tables result in noproc errors e.g.
Logging out and back in gets things back to a working state.
The text was updated successfully, but these errors were encountered: