X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdb%2Fsqlite3db%2Fsqlite3statement.h;h=e57fbe582a68fe9b9f09eaafcdcad0501925ad9e;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=bdca9dc586ee4d5e124f256a7ecfd743ec6b8744;hpb=21f835f30b4e092c847bf4569a00995774f7330e;p=fms.git diff --git a/include/db/sqlite3db/sqlite3statement.h b/include/db/sqlite3db/sqlite3statement.h index bdca9dc..e57fbe5 100644 --- a/include/db/sqlite3db/sqlite3statement.h +++ b/include/db/sqlite3db/sqlite3statement.h @@ -3,6 +3,8 @@ #include "sqlite3db.h" +#include + #include #include @@ -57,8 +59,7 @@ private: long m_lastinsertrowid; static std::map m_statementcount; - //std::vector textptrs; - //std::vector > m_boundtext; + static Poco::FastMutex m_mutex; // protect all access to m_statementcount }; //class