Better (i hope) fix for the bugcheck appeared in test bugs.core_195.
The original fix broke cursor stability when there are sub-queries, see also CORE-3362.
Misc fixes for better debugging. 

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59005 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed CORE-4307 - Fields present only in WHERE clause of views WITH CHECK OPTION causes invalid CHECK CONSTRAINT violation.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59010 65644016-39b1-43b1-bf79-96bc8fe82c15
Use correct blr code for boolean field

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59011 65644016-39b1-43b1-bf79-96bc8fe82c15
Avoid incorrect error reporting when legacy BLOB cursor is closed

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