Fixed #20015 -- date__startswith('2008') fails under Oracle

Removed the explicit casting of strings to dates
This commit is contained in:
Shai Berger 2013-05-22 01:27:27 +03:00
parent b6ad9998e6
commit 8fd40b9ae7
1 changed files with 0 additions and 3 deletions

View File

@ -248,9 +248,6 @@ WHEN (new.%(col_name)s IS NULL)
value = value.date()
return value
def datetime_cast_sql(self):
return "TO_TIMESTAMP(%s, 'YYYY-MM-DD HH24:MI:SS.FF')"
def deferrable_sql(self):
return " DEFERRABLE INITIALLY DEFERRED"