mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.6.x] Fixed #20292: Pass datetime objects (not formatted dates) as params to Oracle
This seems worthwhile in its own right, but also works around an Oracle
bug (in versions 10 -- 11.1) where the use of Unicode would reset the
date/time formats, causing ORA-01843 errors.
Thanks Trac users CarstenF for the report, jtiai for the initial patch,
and everyone who contributed to the discussion on the ticket.
Backport of 6983201 from master.
This commit is contained in:
@@ -26,3 +26,7 @@ Bugfixes
|
||||
* Fixed transaction handling when specifying non-default database in
|
||||
``createcachetable`` and ``flush``
|
||||
(`#23089 <https://code.djangoproject.com/ticket/23089>`_).
|
||||
|
||||
* Fixed the "ORA-01843: not a valid month" errors when using Unicode
|
||||
with older versions of Oracle server
|
||||
(`#20292 <https://code.djangoproject.com/ticket/20292>`_).
|
||||
|
||||
Reference in New Issue
Block a user