diff options
author | Cara Salter <cara@devcara.com> | 2023-05-31 20:15:08 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2023-05-31 20:15:08 -0400 |
commit | e09e7825369ec8217456065d31dbbbb992b7f1bb (patch) | |
tree | 37cfbc3b756f75fd6fc446090c18e4ea3464562e /include | |
parent | 31e862b7a4c5c1af9a8b331853d6bc01c49f2816 (diff) | |
download | 142bot-e09e7825369ec8217456065d31dbbbb992b7f1bb.tar.gz 142bot-e09e7825369ec8217456065d31dbbbb992b7f1bb.zip |
meta: Use system libraries to compile0.5
Also: try to make pqxx not use local socket for connections
(unsuccessful)
Change-Id: I351fe1a405a7c204e1276a90da75ab3d32f51bdc
Diffstat (limited to 'include')
-rw-r--r-- | include/142bot/db.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/142bot/db.hpp b/include/142bot/db.hpp index 505d6db..c7de707 100644 --- a/include/142bot/db.hpp +++ b/include/142bot/db.hpp @@ -31,7 +31,7 @@ namespace db { typedef std::vector<std::variant<float, std::string, uint64_t, int64_t, bool, int32_t, uint32_t, double>> paramlist; - pqxx::connection connect(const std::string &host, const std::string &user, const std::string &pass, const std::string &db, int port); + pqxx::connection connect(const std::string cn_s); bool close(); resultset query(const std::string &format, const paramlist ¶meters); const std::string& error(); |