dm_db_set_cache_size Function

public function dm_db_set_cache_size(db, size) result(rc)

Sets database cache size PRAGMA.

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.

Arguments

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

Database type.

integer(kind=i8), intent(in) :: size

Database cache size [byte].

Return Value integer


Calls

proc~~dm_db_set_cache_size~~CallsGraph proc~dm_db_set_cache_size dm_db_set_cache_size interface~dm_db_pragma_set dm_db_pragma_set proc~dm_db_set_cache_size->interface~dm_db_pragma_set