• Sergey Vojtovich's avatar
    MDEV-15734 - calculation inside sizeof() warning · dd939d6f
    Sergey Vojtovich authored
    Reverted incorrect change introduced by 548d03d7.
    
    As result is char**, third qsort() parameter must be sizeof(char*).
    Not sizeof(result[0] + 2), which is same as sizeof(result[0]).
    Not even sizeof(result[0]) + 2, which would cause invalid memory access.
    
    Proper sorting is responsibility of logfilenamecompare() callback.
    dd939d6f
logger.cc 49.6 KB