summaryrefslogtreecommitdiff
path: root/sql/sql_alter.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-05-30 19:34:08 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-05-30 19:52:31 +0400
commitdd939d6f7e57e418a6f80fb9057eef8823beaff6 (patch)
tree30dcfc7ff0ec5417e05f7e5e4ecefdcfd0701f4e /sql/sql_alter.cc
parent78c1be8b6b427e1331bbf0e5d5a24d57dc1477e3 (diff)
downloadmariadb-git-dd939d6f7e57e418a6f80fb9057eef8823beaff6.tar.gz
MDEV-15734 - calculation inside sizeof() warning
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.
Diffstat (limited to 'sql/sql_alter.cc')
0 files changed, 0 insertions, 0 deletions