dm_db_set_journal_mode Function

public function dm_db_set_journal_mode(db, mode) result(rc)

Sets journal mode.

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.
  • E_INVALID if journal mode is invalid.
  • E_READ_ONLY if database is opened read-only.

Arguments

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

Database type.

integer, intent(in) :: mode

Journal mode.

Return Value integer


Calls

proc~~dm_db_set_journal_mode~~CallsGraph proc~dm_db_set_journal_mode dm_db_set_journal_mode sqlite3_finalize sqlite3_finalize proc~dm_db_set_journal_mode->sqlite3_finalize sqlite3_prepare_v2 sqlite3_prepare_v2 proc~dm_db_set_journal_mode->sqlite3_prepare_v2 sqlite3_step sqlite3_step proc~dm_db_set_journal_mode->sqlite3_step

Called by

proc~~dm_db_set_journal_mode~~CalledByGraph proc~dm_db_set_journal_mode dm_db_set_journal_mode proc~dm_db_open dm_db_open proc~dm_db_open->proc~dm_db_set_journal_mode proc~dm_db_backup dm_db_backup proc~dm_db_backup->proc~dm_db_open