diff --git a/include/transport/pqxxbackend.h b/include/transport/pqxxbackend.h index f02d86fc068b43d4b9189b3ca29540dd6bc83411..f571433b340f931bef990b7d5be5a1b0b0d8e3d6 100644 --- a/include/transport/pqxxbackend.h +++ b/include/transport/pqxxbackend.h @@ -97,9 +97,9 @@ class PQXXBackend : public StorageBackend private: bool exec(const std::string &query, bool show_error = true); - bool exec(pqxx::work &txn, const std::string &query, bool show_error = true); + bool exec(pqxx::nontransaction &txn, const std::string &query, bool show_error = true); template - std::string quote(pqxx::work &txn, const T &t); + std::string quote(pqxx::nontransaction &txn, const T &t); Config *m_config; std::string m_prefix;