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

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: 18/Jan/16 05:08 PM
Component/s: None
Affects Version/s: 2.5.0
Fix Version/s: 2.5.1

Environment: posix
Issue Links:

QA Status: No test

 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;
Statement failed, SQLSTATE = HY008
operation was cancelled
SQL> connect employee;
Commit current transaction (y/n)?y
Statement failed, SQLSTATE = HY000
database <Missing arg #1 - possibly status vector overflow> shutdown in <Missing arg #2 - possibly status vector overflow> seconds

 All   Comments   Change History   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).