| 3 |
* user_stat |
* user_stat |
| 4 |
* - data model and basic operations of user related statistics |
* - data model and basic operations of user related statistics |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
|
#ifdef HAVE_CONFIG_H |
| 10 |
|
#include "config.h" |
| 11 |
|
#endif |
| 12 |
|
|
| 13 |
#include "log.h" |
#include "log.h" |
| 14 |
#include "section_list.h" |
#include "section_list.h" |
| 15 |
#include "user_list.h" |
#include "user_list.h" |
| 78 |
|
|
| 79 |
if (p_article->uid > p_map->last_uid) |
if (p_article->uid > p_map->last_uid) |
| 80 |
{ |
{ |
| 81 |
#ifdef _DEBUG |
log_debug("uid=%d of article(aid=%d) is greater than last_uid=%d\n", |
|
log_error("uid=%d of article(aid=%d) is greater than last_uid=%d\n", |
|
| 82 |
p_article->uid, p_article->aid, p_map->last_uid); |
p_article->uid, p_article->aid, p_map->last_uid); |
|
#endif |
|
| 83 |
continue; |
continue; |
| 84 |
} |
} |
| 85 |
|
|