[Sqlalchemy-tickets] [sqlalchemy] #2757: Firebird types are not translated correctly
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-06-11 06:50:26
|
#2757: Firebird types are not translated correctly
-------------------------+-----------------------------------------
Reporter: rstuart4133 | Owner: zzzeek
Type: defect | Status: new
Priority: medium | Milestone:
Component: firebird | Severity: no triage selected yet
Keywords: | Progress State: awaiting triage
-------------------------+-----------------------------------------
The firebird backend translates Firebird's types incorrectly.
Firstly, a firebird LONG is 32 bits, a INT64 is 64 bigs. Secondly, all
firebird integer types have a precision and scale. If they are 0 the raw
type can be used, otherwise NUMERIC must be used.
The attached patch fixes the problem. The patch is for 0.7.8, but master
looks the same.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2757>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|