• Mike Hibler's avatar
    Fix more issues with reverse (aka, "show most recent") option. · 7ad2db71
    Mike Hibler authored
    If both -r and -n (number of records) was given (i.e., as called via the
    web page), then we were still fetching the oldest N records but then
    presenting those most recent first. Not real useful. Now we use sub-query fu
    to fetch the most recent N records but still keep those in oldest-to-newest
    order for processing.
    
    Also, removed two-field-order-by hack as sorting on just the timestamp now
    seems to use the index and no longer does a filesort.
    
    Don't generate summary info when the -x (history index) option is given.
    7ad2db71
node_history.in 16.5 KB