dm_db_get_journal_mode Function

public function dm_db_get_journal_mode(db, mode, name) result(rc)

Returns journal mode of database in mode. The name of the mode is optionally passed in name.

The 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.

Arguments

Type IntentOptional Attributes Name
type(db_type), intent(inout) :: db

Database type.

integer, intent(out) :: mode

Journal mode.

character(len=:), intent(out), optional, allocatable :: name

Journal mode name.

Return Value integer


Calls

proc~~dm_db_get_journal_mode~~CallsGraph proc~dm_db_get_journal_mode dm_db_get_journal_mode sqlite3_column_text sqlite3_column_text proc~dm_db_get_journal_mode->sqlite3_column_text sqlite3_column_type sqlite3_column_type proc~dm_db_get_journal_mode->sqlite3_column_type sqlite3_finalize sqlite3_finalize proc~dm_db_get_journal_mode->sqlite3_finalize sqlite3_prepare_v2 sqlite3_prepare_v2 proc~dm_db_get_journal_mode->sqlite3_prepare_v2 sqlite3_step sqlite3_step proc~dm_db_get_journal_mode->sqlite3_step