Merge pull request #91 from RangelReale/sqlitedual

Improve SQLite multi-threaded use
This commit is contained in:
Aleksandar Fabijanic
2013-02-18 08:33:38 -08:00
4 changed files with 4 additions and 76 deletions

View File

@@ -201,14 +201,6 @@ void SessionImpl::open(const std::string& connect)
throw ConnectionFailedException(ex.displayText());
}
if (SQLITE_OK != sqlite3_exec(_pDB,
"attach database ':memory:' as sys;"
"create table sys.dual (dummy);",
0, 0, 0))
{
throw ExecutionException("Cannot create system database.");
}
_connected = true;
}