From 701cb123acdecc70ce88820b80902f4074d3d317 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Sun, 16 Mar 2025 13:29:34 -0700 Subject: [PATCH] logs writing to LINKSYSTEM table --- QnetDB.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QnetDB.cpp b/QnetDB.cpp index f76c81e..927cc8b 100644 --- a/QnetDB.cpp +++ b/QnetDB.cpp @@ -179,6 +179,8 @@ bool CQnetDB::UpdateLS(const char *address, const char from_mod, const char *to_ std::stringstream sql; sql << "INSERT OR REPLACE INTO LINKSTATUS (ip_address, from_mod, to_callsign, to_mod, linked_time) VALUES ('" << address << "', '" << from_mod << "', '" << to_callsign << "', '" << to_mod << "', " << linked_time << ");"; +printf("%s\n", sql.str().c_str()); + char *eMsg; if (SQLITE_OK != sqlite3_exec(db, sql.str().c_str(), NULL, 0, &eMsg)) {