Attach shared and local DBs to temporary main DB
We now have one connection to the temporary main DB instead of one for each. The two actual databases are attached to it during initialization.
This commit is contained in:
parent
ec0b5ce757
commit
8a8ea5fb94
4 changed files with 92 additions and 62 deletions
|
|
@ -74,9 +74,7 @@ impl DataManager {
|
|||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum DataManagerError {
|
||||
NoHomeDir,
|
||||
CannotOpenSharedDB,
|
||||
UnknownSharedDBError,
|
||||
CannotOpenLocalDB,
|
||||
UnknownLocalDBError,
|
||||
CannotOpenDB,
|
||||
UnknownDBError,
|
||||
UnknownTextureError,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue