Navigation Menu

Skip to content
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

Problem with fetch on DDL statement in the remote protocol [CORE3759] #4103

Closed
firebird-automations opened this issue Feb 12, 2012 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

I fixed the code where this operation was crashing the server, but the
remote (client) code has problems too, and I don't know how to fix it.

This assert in interface.cpp fails, so as subsequent operations if it's
removed:

fb_assert(statement->rsr_msgs_waiting || (statement->rsr_rows_pending >
0) ||
statement->haveException() || statement->rsr_flags.test(Rsr::EOF_SET));

Test case in
https://github.com/asfernandes/fbstuff/blob/master/src/test/v3api/CursorTest.cpp
(ddlFetch). It works correctly with fb-embedded.

Commits: f3c9e45

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Let's not make people, trying to fetch from DDL statement with NULL message, fail in remote redirector. Looks like same problem exists in previous versions, but telling true I can't treat it as sever one - this segfault never happens at server side.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants