Issue Details (XML | Word | Printable)

Key: CORE-3494
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

Attach fails after shutdown rejected by handler installed in fb_shutdown_callback()

Created: 25/May/11 11:38 AM   Updated: 23/Apr/13 12:56 PM
Component/s: None
Affects Version/s: 2.5.0
Fix Version/s: 2.5.1

Time Tracking:
Not Specified

Environment: posix
Issue Links:
Depend
 

Planning Status: Unspecified


 Description  « Hide
After cancelling wrong running query in isql an attempt to connect to another database fails:

# ./isql -user sysdba -pas masterke employee
Database: employee, User: sysdba
SQL> select count(*) from employee full join employee on 1=1 full join employee on 1=1 full join employee on 1=1 full join employee on 1=1;
^C
       COUNT
============
Statement failed, SQLSTATE = HY008
operation was cancelled
SQL> connect employee;
Commit current transaction (y/n)?y
Committing.
Statement failed, SQLSTATE = HY000
database <Missing arg #1 - possibly status vector overflow> shutdown in <Missing arg #2 - possibly status vector overflow> seconds
SQL>


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 25/May/11 11:43 AM
This does not require both backporting (no fb_shutdown_callback() in earlier versions) and frontporting (code was already cleaned up).