X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdb%2Fsqlite3db%2Fsqlite3statement.h;h=e57fbe582a68fe9b9f09eaafcdcad0501925ad9e;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=04b24a09fa5247d8efe35aa60982f9301c020872;hpb=5f8a87e41beeda971d6a47a6c6b0555da00af978;p=fms.git diff --git a/include/db/sqlite3db/sqlite3statement.h b/include/db/sqlite3db/sqlite3statement.h index 04b24a0..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