pentaho/pentaho-metadata — pull request #13 by mkambol (2013-06-20 19:11:25+00:00)
Title: [PMD-821] Oracle and DB2 dialects were translating TRUE() as '1', FALSE ...

...as '0', which was producing invalid SQL (e.g. "WHERE ( 1 )" ).

Modified to use 1=1, 1=0 instead, since neither database offers a better option for representing boolean.