Fixed CORE-4240:  Recursive query in SQL query returns incorrect results if more than one branch bypass. The new code should work equally good with both binary and wide union trees.

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

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58768 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed the status vector being left dirty after the non-critical lock manager error.
This resolves CORE-4265: Unexpected lock conflict error may be raised while connecting to a heavily loaded database.

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

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58770 65644016-39b1-43b1-bf79-96bc8fe82c15
We're quite lucky this implicit conversion worked correctly. Fixed.

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