You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge is DML but isDML is zero and statementType is a value not listed here.
In this example the statement is not a valid SQL but it returns same results even for valid statements.
Well, I cannot say that this is a bug due to odpi. That's because OCI_STMT_MERGE is not in OCI manual.
I hope that the Oracle team says 16 is the statement type of merge.
The text was updated successfully, but these errors were encountered:
As you can see I have added code to support MERGE statements, as requested. It will get added to the OCI headers and documentation at some point, but it is added to the ODPI-C documentation and headers now. Thanks again for pointing it out!
dpiStmt_getInfo() returns incorrect information about
merge
.I made a test program.
https://gist.github.com/kubo/d8b623072b755edd508896940be86e81
It printed:
Merge is DML but
isDML
is zero and statementType is a value not listed here.In this example the statement is not a valid SQL but it returns same results even for valid statements.
Well, I cannot say that this is a bug due to odpi. That's because
OCI_STMT_MERGE
is not in OCI manual.I hope that the Oracle team says 16 is the statement type of merge.
The text was updated successfully, but these errors were encountered: