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

FB3 [P13]: No error in sequence "Prepare (select) -> Execute -> Prepare" [CORE5358] #5631

Open
firebird-automations opened this issue Sep 25, 2016 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @ibprovider

Scenario of test:
0. Allocate statement
1. Prepare statement "select from DUAL"
2. Execute statement
3. Prepare (again) statement "select from DUAL" // <--- here we wait the error.

Protocol type: batch_send

--------------------------------------------- RESULTS
Firebird 3.0.1.32608 [P13]:

- NO ERROR

Firebird 2.5 [P12]:

Dynamic SQL Error
SQL error code = -519
The prepare statement identifies a prepare statement with an open cursor

@firebird-automations
Copy link
Collaborator Author

Commented by: @mrotteveel

Is it a bug, or is it an optimization?

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

Dmitry,

Please clarify, by "here we wait the error" do you mean:

1- Here is were we should see an error? or,
2- When we prepare we are stuck waiting, which is the error?

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

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