Issue Details (XML | Word | Printable)

Key: CORE-4489
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Alexander Peshkov
Reporter: Jason Wharton
Votes: 1
Watchers: 5

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

Statement already has a cursor <cursor_name> assigned

Created: 10/Jul/14 02:45 AM   Updated: 18/Jan/16 03:29 PM
Component/s: Engine
Affects Version/s: 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

File Attachments: 1. Zip Archive (1.73 MB)

Environment: Win XP 32-bit
Issue Links:

QA Status: No test

 Description  « Hide
When I run the IB Objects regression testing app I am getting several tests that fail due to this error in the title when a statement handle tries to open a cursor after it had one previously opened. I carefully checked my SQL trace log and there were API calls made to the isc_dsql_free_statement() with the DSQL_CLOSE parameter. I have attached a binary version of my regression testing app so that you can run this and reproduce the problem.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jason Wharton added a comment - 10/Jul/14 02:49 AM
This file contains a binary that will run several tests. Please see the ReadMe.txt file in its root for instructions on how to run it.

Adriano dos Santos Fernandes added a comment - 23/Jul/14 03:16 PM
Can we configure it to connect to another server?

Jason Wharton added a comment - 23/Jul/14 03:35 PM
@Adriano Yes, there is the RegTest_d567_Win32.ini file where you can control the client DLL it uses as well as the server it tries to make a connection with. Please let me know if you have any issues running this app and I'll do what I can to help you out. Thank you for looking into this issue!

Alexander Peshkov added a comment - 31/Jul/14 11:54 AM
Jason, fix for CORE-4505 should also fix this issue. I can't check myself using windows .exe or delphi sources. Can you please test after new snapshot (after 31263) is available?

Jason Wharton added a comment - 31/Jul/14 01:51 PM

Yes, I'll be sure to give it a go and let you know ASAP.


Alexander Peshkov added a comment - 09/Oct/14 03:39 PM
Jason sorry but >2 months have passed...

Jason Wharton added a comment - 09/Oct/14 05:21 PM
Thanks for the ping. I apologize I did not update my comments here.

I did test it right away and the problem appears to be resolved.