public function dm_db_set_application_id(db, id) result(rc)
Set the 32-bit signed big-endian “Application ID” integer located at
offset 68 into the database header.
Applications that use SQLite as their application file-format should
set the Application ID integer to a unique integer so that utilities
such as file(1) can determine the specific file type rather than
just reporting “SQLite3 Database”. A list of assigned application
IDs can be seen by consulting the magic.txt file in the SQLite
source repository.
The function returns the following error codes:
E_DB_PREPARE if statement preparation failed.
E_DB_STEP if step execution failed or no write permission.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.