dm_db_set_temp_store Function

public function dm_db_set_temp_store(db, store) result(rc)

Sets PRAGMA temp store. Argument store has to be one of:

  • DB_TEMP_STORE_DEFAULT
  • DB_TEMP_STORE_FILE
  • DB_TEMP_STORE_MEMORY

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 temp store 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) :: store

Database temp store.

Return Value integer


Calls

proc~~dm_db_set_temp_store~~CallsGraph proc~dm_db_set_temp_store dm_db_set_temp_store interface~dm_db_pragma_set dm_db_pragma_set proc~dm_db_set_temp_store->interface~dm_db_pragma_set