DERBY-5972 - Grammar doesn't accept OR operator without parentheses backport 1408136 from trunk to 10.8 Contributed by Knut Anders Hatlen