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
Recursive Query bug in FB2.1 [CORE1122] #1543
Comments
Commented by: Sean Leyne (seanleyne) Please post a sample to allow for the case to be confirmed. Otherwise, this case will be closed as not-reproducible. |
Commented by: Montri Patchaiyo (k1) This is a simple test case: First: Second: Last: execute following statement
) Even if you try to update or insert any values for MENU_ICON fields, the error was occured with message "Error writing data to the connection". |
Modified by: @dyemanovassignee: Vlad Horsun [ hvlad ] |
Commented by: @hvlad The bug is not related with CTE. It can be reproduced much simpler : SELECT MENU_ICON UNION ALL SELECT MENU_ICON this also leads to AV in BLB_move. But it is worked well in FB 2.0 I think bug was introduced in FB 2.1 when text operations on blobs was implemented. Look at EXE_assignment : in 2.0 it does #ifndef VMS
in 2.1 it does
Note - we have source type dtype_blob and target type dtype_quad as we want to assign blob_id (not to create new blob!) So - FB 2.0 call MOV_move but FB 2.1 call BLB_move which failed getting target record relation (which is NULL in this case of course) |
Modified by: @asfernandesassignee: Vlad Horsun [ hvlad ] => Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1 [ 10041 ] |
Commented by: @pcisar Test added, but can't confirm the fix for 2.1 Alpha 1. Test fails with lost connection to the database. I suppose it's because it was fixed after Alpha 1, but then you need to assign correct fix version. |
Commented by: @dyemanov Pavel, some tests can fail due to a bug in the "lazy packet send" implementation of Alpha 1. It shows itself as a lost connection without crashes on any side. It affects TCP and NetBEUI connections only, so you could try writing the test using a local connection string. Or just use a fresh snapshot build :-) |
Commented by: @pcisar Fix verified, test added. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pcisarWorkflow: jira [ 11580 ] => Firebird [ 14981 ] |
Submitted by: Montri Patchaiyo (k1)
Is related to QA65
When recusive query containts a fields with type blob that have a values existed,
Firebird gave error message: "Error writing data to the connection'"
There are no error if all rows of blob fields in result set is null,
BTW, there are also no error for simple CTE with blob fields that have a values.
Montri.
Commits: 0ac7d12
The text was updated successfully, but these errors were encountered: