summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-07-14 14:50:45 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-07-14 14:50:45 -0400
commit10db67be5b783b94b59dd7cf039f8c322cf837c8 (patch)
tree66b6f6ceeaff2a0d7038e80924b95466b35e0b46 /lib/sqlalchemy/engine/base.py
parentf92cfd06811e224cd34fe9225d250080779dc140 (diff)
downloadsqlalchemy-10db67be5b783b94b59dd7cf039f8c322cf837c8.tar.gz
- More tweaks to cx_oracle Decimal handling.
"Ambiguous" numerics with no decimal place are coerced to int at the connection handler level. The advantage here is that ints come back as ints without SQLA type objects being involved and without needless conversion to Decimal first. Unfortunately, some exotic subquery cases can even see different types between individual result rows, so the Numeric handler, when instructed to return Decimal, can't take full advantage of "native decimal" mode and must run isinstance() on every value to check if its Decimal already. Reopen of [ticket:1840]
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
0 files changed, 0 insertions, 0 deletions