Part of major reorganization of gnatcoll for better modularity and
maintainability.
Change-Id: Iad961b53634520081eb90c37aff2bfdbf58b2e06
TN: P909-033 no-precommit-check
We no longer use enumerated types to support the field types, which
makes it possible to add new types in third-party packages.
PB17-036
PB02-013
Change-Id: I520234e4e38401534a91632b781ef225aaee48d2
J422-005
Task_Safe_Instance call moved from GNATCOLL.SQL.SQLite.Builder.Execute
routine to GNATCOLL.SQL.Exec.Execute_And_Log routine because we need
to put parameter Index_By there and it available only on
Execute_And_Log level. By the way we would not need to convert forward
cursors to direct cursors in DBMS drivers where direct cursors is not
supported.
* src/gnatcoll-sql-exec.ads:
(No_Field_Index): New constant.
(Find): New routines to find Integer and String field value.
(Prepare): Add Index_By parameter.
* src/gnatcoll-sql-exec.adb:
(Fetch_Internal): Direct flag calculation fixed. Types inherited from
Direct_Cursor Direct too.
Change-Id: Ie853aa5cf45bca6ad9fd4ffa0de426b1f66857db
Clarify in the grammar that this reverse name is optional (MA23-004)
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@218463 936e1b1b-40f2-da11-902a-00137254ae57
This switch allows the generation of Create_Database, which recreates
the database with no need for external files for the schema of the
database or its initial data.
In particular, this is used for the xref database, so that the
GNATCOLL.API is standalone and does not need access to external
files (while ensuring the consistency between the database schema
that was used to generate the code and the one that was used to
create the db).
L328-037
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@188308 936e1b1b-40f2-da11-902a-00137254ae57
This is more efficient with postgreSQL than using Fetch+Last_Id.
K921-016
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@187525 936e1b1b-40f2-da11-902a-00137254ae57