db/Interface: Open() throws exception on error

This commit is contained in:
Max Kellermann
2016-03-18 22:17:46 +01:00
parent 6c2b532ae3
commit f55bdf07d3
7 changed files with 15 additions and 27 deletions

View File

@@ -214,8 +214,7 @@ glue_db_init_and_load(void)
"because the database does not need it");
}
if (!instance->database->Open(error))
FatalError(error);
instance->database->Open();
if (!instance->database->IsPlugin(simple_db_plugin))
return true;