Various little fixes to Firebird reflection

Issue #268 resolved
Former user created an issue

FB reflection has a little bug: it uses sqltypes.Double() instead of .Float() to represent double precision fields; the former does not even exist.

Also, it doesn't load the primary key fields.

The attached patch cures this problems. If this sounds good, I will try to complete the fix with another patch for the foreign keys.

Comments (8)

  1. Former user Account Deleted

    Can the reflection be two queries instead of three by removing the primary key query and selecting in the foreign keys query the primary keys too.

    WHERE RC.RDB$CONSTRAINT_TYPE IN ('PRIMARY KEY', 'FOREIGN KEY')
    
  2. Log in to comment