#ifndef _sqlite3db_\r
#define _sqlite3db_\r
\r
-#include <Poco/Mutex.h>\r
#include <sqlite3.h>\r
#include <string>\r
#include "../sqlite3db.h"\r
-#include "../../threadwrapper/singleton.h"\r
\r
-#if SQLITE_VERSION_NUMBER<3005000\r
-#error "Your version of SQLite is too old! 3.5.0 or later is required."\r
+#if SQLITE_VERSION_NUMBER<3006006\r
+#error "Your version of SQLite is too old! 3.6.6.2 or later is required."\r
#endif\r
\r
namespace SQLite3DB\r
{\r
\r
-class DB:public Singleton<DB>\r
+class DB\r
{\r
public:\r
DB();\r
\r
sqlite3 *GetDB() { return m_db; }\r
\r
- Poco::FastMutex m_mutex; // public so that recordset and statment can lock this mutex themselves\r
-\r
private:\r
void Initialize();\r
\r