pentaho/mondrian — pull request #234 by mkambol (2014-03-17 20:18:05+00:00)
Title: [MONDRIAN-1819]  Mondrian generates timestamp predicates for date fields...

....

This is an issue specific to the Oracle jdbc driver ojdbc5 and above, which treats the DATE datatype as a TIMESTAMP. Because of this, dates can have a value like
'2001-01-19 00:00:00.0', which cannot be used as a DATE literal. This change to OracleDialect.quoteDateLiteral() assures date literals conform to the ANSI spec.
(cherry picked from commit 180f83a)