Commit graph

24 commits

Author SHA1 Message Date
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Luca Deri
9c16489912 FreeBSD compilation fixes
Various warning fixes
2020-12-31 18:05:44 +01:00
Simone Mainardi
48056f23c5 Handles errors and retries when executing sqlite statements
Fixes #3518
2020-03-06 16:04:50 +01:00
Simone Mainardi
0099c9ea40 Fixes possible loops upon certain sqlite3 errors
Fixes #3511
2020-03-05 15:32:26 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Simone Mainardi
715ca3fd6c Replaces legacy sqlite3_prepare with sqlite3_prepare_v2 2019-05-15 14:16:06 +02:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
emanuele-f
0ed6a300eb Harden strncpy calls to ensure null terminated strings 2018-12-13 18:07:51 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
f5b321fe09 Fix some uninitialized values and other little problems 2017-11-11 02:04:22 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
199b418037 Implements db-based new generation alerts with lua API (wip) 2016-08-05 19:11:34 +02:00
Luca Deri
a949d76a02 Minor windows changes 2016-03-06 19:33:03 +01:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Luca Deri
387c7ae5f7 Merge pull request #202 from simonemainardi/dev
refactored top talkers generation code; improved safety of time to integer casts
2015-10-06 22:32:23 +02:00
Simone Mainardi
5d99fa33bc safer time_t to integer casts via static_cast. 2015-10-06 22:21:11 +02:00
Luca
944f1bb6d8 Changed SQLite table format used for storing top talkers 2015-10-06 13:20:18 +02:00
Luca Deri
29513c466b Removed unused StatsManager methods
Removed unused get_real_epochs.lua
2015-10-01 23:36:16 +02:00
Luca Deri
44deca8b60 Fixes for supporting ifSpeed on non Linux platforms
Fixed speed conversion to use 1000 instead of 1024 as rate
2015-08-15 11:36:37 +02:00
Luca Deri
d5e19ec8af Removed -F sqlite: due to this the historical interface is not finally gone and it is now possible to move forward to properly re-implement it 2015-08-15 00:09:12 +02:00
Luca Deri
3067d930aa Compilation fix 2015-05-18 18:47:42 +02:00
Luca Deri
74fc9f8256 Windows fixes 2015-05-18 18:30:22 +02:00
Arianna Avanzini
272f2528bd src/StatsManager.cpp: fix issue with sqlite buffer size
This commit fixes an issue with sizing of the buffer used to retrieve
data from the sqlite backend keeping top stats. Now the sqlite
backend allocates itself data structures of the needed size and
these same structures are used for retrieval
2015-05-12 23:02:42 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from StatsManager.cpp (Browse further)