X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fdb%2Fsqlite3db%2Fsqlite3statement.h;h=e57fbe582a68fe9b9f09eaafcdcad0501925ad9e;hp=d245d4960856d1e6c83a3043cbfeccfbbceca653;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/db/sqlite3db/sqlite3statement.h b/include/db/sqlite3db/sqlite3statement.h index d245d49..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,6 +59,7 @@ private: long m_lastinsertrowid; static std::map m_statementcount; + static Poco::FastMutex m_mutex; // protect all access to m_statementcount }; //class