Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58800 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed warning "struct declared inside parameter list"

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58801 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed warning "deleting object of abstract class type" where possible

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58802 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed warning "cast to pointer from integer of different size"

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58803 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed some more warnings

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58804 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed CORE-4270: Error in case of subquery with windowed function + where <field> IN(select ...).

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58805 65644016-39b1-43b1-bf79-96bc8fe82c15
Attempted to fix a number of issues with badly working privileges after restore into ODS12.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58806 65644016-39b1-43b1-bf79-96bc8fe82c15
Attempted to fix a number of issues with badly working privileges after restore into ODS12.

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