Returns journal mode of database in mode. The name of the mode is
optionally passed in name.
Argument mode is set to either:
DB_JOURNAL_OFFDB_JOURNAL_DELETEDB_JOURNAL_TRUNCATEDB_JOURNAL_PERSISTDB_JOURNAL_MEMORYDB_JOURNAL_WALDB_JOURNAL_WAL2The function returns the following error codes:
E_DB_PREPARE if statement preparation failed.E_DB_STEP if step execution failed.E_DB_TYPE if query result is of unexpected type.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_type), | intent(inout) | :: | db |
Database type. |
||
| integer, | intent(out) | :: | mode |
Journal mode enumerator. |
||
| character(len=:), | intent(out), | optional, | allocatable | :: | name |
Journal mode name. |