While i don't see how we can have positive scale, wrong code should be fixed anyway

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59938 65644016-39b1-43b1-bf79-96bc8fe82c15
DDL permission check for COMMENT ON

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59939 65644016-39b1-43b1-bf79-96bc8fe82c15
Refactored database monitoring, made its handling attachment bound. This should make deadlocks impossible, as well as avoid blocking worker connections while the monitoring request is processed.

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

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

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59942 65644016-39b1-43b1-bf79-96bc8fe82c15
Commented out the annoying (thus supposedly wrong?) assertion.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59943 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59944 65644016-39b1-43b1-bf79-96bc8fe82c15
Improvement CORE-4487 - Maintain package body after ALTER/RECREATE PACKAGE.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@59945 65644016-39b1-43b1-bf79-96bc8fe82c15
Fix MSVC build errors and warnings

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