\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
- //std::vector<char *> textptrs;\r
- //std::vector<std::vector<char> > m_boundtext;\r
+ static Poco::FastMutex m_mutex; // protect all access to m_statementcount\r
\r
}; //class\r
\r