Browse Source

Fix: Type of pktsReceived is supposed to be INTEGER

Stefan Schmidt 6 năm trước cách đây
mục cha
commit
e37394d479
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code_boost/src/cxx/statistics_db.cpp

+ 1 - 1
code_boost/src/cxx/statistics_db.cpp

@@ -27,7 +27,7 @@ void statistics_db::writeStatisticsIP(std::unordered_map<std::string, entry_ipSt
         SQLite::Transaction transaction(*db);
         const char *createTable = "CREATE TABLE ip_statistics ( "
                 "ipAddress TEXT, "
-                "pktsReceived INTEGtimestampER, "
+                "pktsReceived INTEGER, "
                 "pktsSent INTEGER, "
                 "kbytesReceived REAL, "
                 "kbytesSent REAL, "