\r
#include "sqlite3db.h"\r
\r
+#include <Poco/Mutex.h>\r
+\r
#include <vector>\r
#include <map>\r
\r
long m_lastinsertrowid;\r
\r
static std::map<sqlite3_stmt *, long> m_statementcount;\r
+ static Poco::FastMutex m_mutex; // protect all access to m_statementcount\r
\r
}; //class\r
\r