-
Notifications
You must be signed in to change notification settings - Fork 480
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
BLOB does not work in Oracle #1141
Comments
AFAIU (@Krzmbrzl please correct me if I'm wrong), this never worked before, as you need a transaction in order to use LOBs with Oracle, but now this is more explicit. IOW the fix is to have a transaction around the code working with LOBs. |
It worked at 047b749 |
Could you please use git-bisect which exact commit broke it? I see 8b5b312 (Fix Oracle bug that prevented selecting into initialized BLOB, 2023-11-01) which might be related... |
Tbh I don't quite remember the exact semantics of Oracle. Iirc there were/are situations in which you didn't need an explicit transaction... it was a bit of an odd situation, that much I know 👀
@avpalienko "at" or "before"? Aka: is this the commit that broke it or is it the last commit for which this works as expected? |
I don't know - it works in my fork. Fork is based on 8ddddca |
Could you do a bisect to find the commit that causes the issue? |
I'll try, but I have no experience with bisect. So it will take a while |
I found one more problem.
|
What do you mean by that? If you use move_as on the same element that is an obvious error on the user side but I have the feeling that's not what you're getting at 👀 |
This patch demonstrates the problem. If it apply the test fails with access violation error
at second iteration will error Sorry for my bad English |
Thanks for the clarification. I have created a separate issue for this: #1144 |
In the last version we have a problem:
ORA-22292: Cannot open a LOB in read-write mode without a transaction
for the parameter number 1 while executing "select b from soci_test where id
= 5".
The text was updated successfully, but these errors were encountered: