You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autoincrement fields in sqlite are implemented as 64-bit signed integer (see https://www.sqlite.org/autoinc.html) and automatically are primary keys (different from Postgresql where autoincrement fields are not automatically primary key).
They are mapped in the schema to Integer Autoincrement Primary Key (see gnatcoll-sql-sqlite-builder.adb around line 1155), which is correct.
However they are mapped later to Ada Integer instead of Ada Long_Long_Integer. Also in gantcoll-sql-inspec.ads, this has to be changed having its Field_Mapping changed to SQL_Field_Bigint.
Autoincrement fields in sqlite are implemented as 64-bit signed integer (see https://www.sqlite.org/autoinc.html) and automatically are primary keys (different from Postgresql where autoincrement fields are not automatically primary key).
They are mapped in the schema to Integer Autoincrement Primary Key (see gnatcoll-sql-sqlite-builder.adb around line 1155), which is correct.
However they are mapped later to Ada Integer instead of Ada Long_Long_Integer. Also in gantcoll-sql-inspec.ads, this has to be changed having its Field_Mapping changed to SQL_Field_Bigint.
For more explanations, you can read the report
https://github.com/fdesp87/gnatcoll-db/examples/mytests/Report.odt
The text was updated successfully, but these errors were encountered: