Refactoring and bugfix

Refactoring: Semantic error turned to string due to big variety between
different database engine semantics
Bugfix: Result grid splitter height modifications are not lost anymore