camunda/camunda-bpm-platform — pull request #109 by langfr (2014-10-07 20:33:33+00:00)
Title: fix(engine): use ${trueConstant} instead of 1 in selectActivityStatisticsByQueryCriteriaSql

Column IS_ACTIVE_ of boolean type is compared to the fixed value 1 instead of database dependent property ${trueContant}.
Changing this makes the postgres specific version of this statement superfluous.
See also https://groups.google.com/forum/#!topic/camunda-bpm-dev/n5UfAajEbhc.