* Use sqlite3_stmt_readonly to determine if sqlite3_changes should be called

* Remove sys.dual dependency, improving multi-threaded applications
This commit is contained in:
Rangel Reale
2013-02-17 12:03:01 -03:00
parent c24893b8ab
commit 7f6bc31364
4 changed files with 4 additions and 76 deletions

View File

@@ -195,14 +195,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;
}