Vacuums database schema main
, or, if into
is passed, vacuums
it into new database at given path.
The function returns the following error codes:
E_DB_BIND
if value binding failed.E_DB_PREPARE
if statement preparation failed.E_DB_STEP
if step execution failed or no write permission.E_EXIST
if into
is passed and the file exists.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
character(len=*), | intent(in), | optional | :: | into |
File path to vacuum database. |