Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-15734 - calculation inside sizeof() warning
Reverted incorrect change introduced by 548d03d. 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.
- Loading branch information