Create a database file storage.
The database is immediately opened after creation.
- Parameters:
-
| file_name | Database file name. |
| config | Storage creation and access configuration. |
- Returns:
- A handle to the opened database.
- NULL on failure.
On failure, one of the following error codes is set:
- Warning:
- If the file already exists, it will be overwritten.
- See also:
- db_open_file_storage, db_shutdown