9eb1b1c881
Fix numerous regressions that were exposed by --disable-stats, both in the core library and in the tests.
Fix numerous regressions that were exposed by --disable-stats, both in the core library and in the tests.