• Marc Alff's avatar
    Bug#12565712 - 61205: "QUERIES PER SECOND AVG" VALUE IN STATUS OUTPUT IS INCORRECT · 6f1decbf
    Marc Alff authored
    Before this fix, a server executing 1009 queries in 1000 seconds would give a status of:
    Queries per second avg: 1.9
    The printf format used to print the decimal part, computed separately, is incorrect.
    
    With this fix, the correct result is printed:
    Queries per second avg: 1.009
    
    Tested manually, no test case provided.
    6f1decbf
sql_parse.cc 224 KB