# | Line 617 | Line 617 | begin | |
---|---|---|
617 | end; | |
618 | ||
619 | {Firebird 3 introduces IDENTITY columns. We need to check for them here} | |
620 | < | if qryTables.HasField('RDB$GENERATOR_NAME') then |
620 | > | if qryTables.HasField('RDB$GENERATOR_NAME') and not qryTables.FieldByName('RDB$GENERATOR_NAME').IsNull then |
621 | begin | |
622 | qryGenerators.ParamByName('GENERATOR').AsString := qryTables.FieldByName('RDB$GENERATOR_NAME').AsString; | |
623 | qryGenerators.ExecQuery; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |