Fixed assertion (and possible deadlock)

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58783 65644016-39b1-43b1-bf79-96bc8fe82c15
misc.debug

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58784 65644016-39b1-43b1-bf79-96bc8fe82c15
misc

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58785 65644016-39b1-43b1-bf79-96bc8fe82c15
misc

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58786 65644016-39b1-43b1-bf79-96bc8fe82c15
Implemented CORE-4263: Database linger

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58787 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed CORE-4262: Context parsing error with derived tables and CASE functions.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58788 65644016-39b1-43b1-bf79-96bc8fe82c15