• Marko Mäkelä's avatar
    MDEV-21263: Fix -Wclass-memaccess · 6f2ca4ea
    Marko Mäkelä authored
    Since commit f52bf920 the type
    Sql_sort is non-trivial, because it includes a data member
    Bounds_checked_array<SORT_FIELD> local_sortorder.
    There still is no vtable, so memset() is safe to invoke, but
    we must add a cast to silence a warning in GCC 8 or later.
    6f2ca4ea
sql_sort.h 11.9 KB