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
fix/ORA-00907 when comparing ref cursors with BINARY_... columns #898
Conversation
…_FLOAT columns fixing ORA-00907: missing right parenthesis when comparing ref cursors with BINARY_DOUBLE/BINARY_FLOAT columns, because these column types do not support type length
Hi thanks for looking into this and catching that error. Do you know what's coming out of cursor desc? The else condition should not put a len when column_len is not null. Would probably be best to look why it didn't catch that and fix that line to be more generic for other types. Would be also very useful to provide a test with failing scenario, as a regression stop and showcase.
|
Hi, Thanks for review.
I've added simple test case based on |
Can you also create issue for this? |
Added issue for this: #899 |
@opendba This looks great. Great contribution! |
Resloves #899 |
@lwasylow |
it was a very simple fix. |
Yes no problem |
fixing "ORA-00907: missing right parenthesis" when comparing ref cursors with BINARY_DOUBLE/BINARY_FLOAT columns, because these column types do not support type length
Stack trace:
ORA-00907: missing right parenthesis
ORA-06512: at "UT3.UT_DATA_VALUE_REFCURSOR", line 318
ORA-06512: at "UT3.UT_COMPOUND_DATA_HELPER", line 596
ORA-06512: at "UT3.UT_DATA_VALUE_REFCURSOR", line 309
ORA-06512: at "UT3.UT_DATA_VALUE_REFCURSOR", line 366
ORA-06512: at "UT3.UT_EQUAL", line 225
ORA-06512: at "UT3.UT_EXPECTATION", line 26
ORA-06512: at "UT3.UT_EXPECTATION", line 138
ORA-06512: at "TDS2.UT_TDSPATANSINTPKG", line 117
ORA-06512: at "TDS2.UT_TDSPATANSINTPKG", line 117
ORA-06512: at "UT3.UT_DATA_VALUE_REFCURSOR", line 318
ORA-06512: at "UT3.UT_COMPOUND_DATA_HELPER", line 596
ORA-06512: at "UT3.UT_DATA_VALUE_REFCURSOR", line 309
ORA-06512: at "UT3.UT_DATA_VALUE_REFCURSOR", line 366
ORA-06512: at "UT3.UT_EQUAL", line 225
ORA-06512: at "UT3.UT_EXPECTATION", line 26
ORA-06512: at "UT3.UT_EXPECTATION", line 138
ORA-06512: at "TDS2.UT_TDSPATANSINTPKG", line 117
ORA-06512: at "TDS2.UT_TDSPATANSINTPKG", line 117