]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair Oracle Interval
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Nov 2019 21:51:46 +0000 (16:51 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Nov 2019 21:51:46 +0000 (16:51 -0500)
commit163306cb81e4aa866972b77c3b4f142e3f1dc676
treee3eedad17cd81ec0e7d87de08b04e80f1a17fb43
parent081384c56dbaa88971c8433c7152ad73d4860747
Repair Oracle Interval

The :class:`.oracle.INTERVAL` class of the Oracle dialect is now correctly
a subclass of the abstract version of :class:`.Interval` as well as the
correct "emulated" base class, which allows for correct behavior under both
native and non-native modes; previously it was only based on
:class:`.TypeEngine`.

Fixes: #4971
Change-Id: I4400d9f090330388460cca930e4139e3bd21eb11
doc/build/changelog/unreleased_14/4971.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/base.py
test/sql/test_types.py