• Oleg Smirnov's avatar
    MDEV-27277 Add a warning when max_sort_length is reached · 68ad4090
    Oleg Smirnov authored
    During a query execution some sorting and grouping operations
    on strings may be involved. System variable max_sort_length defines
    the maximum number of bytes to use when comparing strings during
    sorting/grouping. Thus, the comparable parts of strings may be less
    than their actual size, so the results of the query may be not
    sorted/grouped properly.
    To indicate that some comparisons were done on a truncated lengths,
    a new warning has been introduced with this commit.
    68ad4090
filesort.cc 89.7 KB