Issue Details (XML | Word | Printable)

Key: CORE-4505
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0
Operations

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

Use of named cursor fails if statement was not executed

Created: 31/Jul/14 11:40 AM   Updated: 18/Jan/16 03:28 PM
Component/s: API / Client Library
Affects Version/s: 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

Issue Links:
Relate
 

QA Status: No test


 Description  « Hide
Originally noticed by Adriano:

setCursorName was moved into IResultSet.
IMO makes no sense to first open the cursor and then name it later.
We can have two prepared statement, while the second uses the cursor
name of the first. But now we need to open the first before prepare the
second.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 31/Jul/14 11:48 AM
1. setCursorName() moved back to IStatement.
2. Added parameter cursorName to IAttachment::openCursor().
3. Enabled changing currsor name for prepared statements in new OO API.
4. Restored functionality of ISC API.