Issue Details (XML | Word | Printable)

Key: CORE-5358
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Kovalenko Dmitry
Votes: 0
Watchers: 3

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 25/Sep/16 05:19 AM   Updated: 27/Sep/16 08:55 AM
Component/s: Engine
Affects Version/s: 3.0.1
Fix Version/s: None

Environment: Windows x64

QA Status: No test

 Description  « Hide
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 [P13]:


Firebird 2.5 [P12]:

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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 25/Sep/16 02:54 PM
Is it a bug, or is it an optimization?

Sean Leyne added a comment - 25/Sep/16 04:52 PM

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?