10949b7 Ticket #48899 - Values of dbcachetries/dbcachehits in cn=monitor could overflow.

Authored and Committed by nhosoi 7 years ago
    Ticket #48899 - Values of dbcachetries/dbcachehits in cn=monitor could overflow.
    
    Description: The internal variable cache_tries is declared as u_int32_t.
    The values provided from Berkeley DB are typed as uintmax_t, which has
    64 bit width.  Since cache_tries stores the sum of st_cache_miss and
    mpstat->st_cache_hit, the type should be also uintmax_t so that the
    overflow problem is solved.
    
    https://fedorahosted.org/389/ticket/48899
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)