diff options
Diffstat (limited to 'base/statistics.cc')
-rw-r--r-- | base/statistics.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc index 78012bff7..6e3dae1ef 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -273,7 +273,8 @@ check() for (i = Database::stats().begin(); i != end; ++i) { StatData *data = *i; assert(data); - data->check(); + if (!data->check() || !data->baseCheck()) + panic("stat check failed for %s\n", data->name); } int j = 0; |