Skip to content

Firebird types are not translated correctly #2757

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot
Collaborator

Migrated issue, originally created by Anonymous

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.


Attachments: firebird-types.patch

Activity

sqlalchemy-bot

sqlalchemy-bot commented on Jun 11, 2013

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

closed #1860 as duplicate

sqlalchemy-bot

sqlalchemy-bot commented on Jun 11, 2013

@sqlalchemy-bot
CollaboratorAuthor

Changes by Michael Bayer (@zzzeek):

  • added labels: high priority
  • set milestone to "0.8.xx"
sqlalchemy-bot

sqlalchemy-bot commented on Jun 13, 2013

@sqlalchemy-bot
CollaboratorAuthor

Anonymous wrote:

Patch to fix the problem in 0.7.8

sqlalchemy-bot

sqlalchemy-bot commented on Jun 13, 2013

@sqlalchemy-bot
CollaboratorAuthor

Changes by Anonymous:

  • attached file firebird-types.patch
sqlalchemy-bot

sqlalchemy-bot commented on Jun 28, 2013

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

f57fc68 0.8

bccf8ff master

thanks for the patch!

sqlalchemy-bot

sqlalchemy-bot commented on Jun 28, 2013

@sqlalchemy-bot
CollaboratorAuthor

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
added this to the 0.8.xx milestone on Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sqlalchemy-bot

        Issue actions

          Firebird types are not translated correctly · Issue #2757 · sqlalchemy/sqlalchemy