Procházet zdrojové kódy

Fixed case sensitivity problem for conv_statistics_extended's protocol-field

Stefan Schmidt před 6 roky
rodič
revize
c680ed9454

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

@@ -447,7 +447,7 @@ void statistics_db::writeStatisticsConvExt(const std::unordered_map<convWithProt
                 "portA INTEGER,"
                 "ipAddressB TEXT,"              
                 "portB INTEGER,"
-                "protocol TEXT,"
+                "protocol TEXT COLLATE NOCASE,"
                 "pktsCount INTEGER,"
                 "avgPktRate REAL,"
                 "avgDelay INTEGER,"

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

@@ -22,7 +22,7 @@ public:
     /*
      * Database version: Increment number on every change in the C++ code!
      */
-    static const int DB_VERSION = 4;
+    static const int DB_VERSION = 5;
 
     /*
      * Methods for writing values into database