• Sergey Vojtovich's avatar
    MDEV-15762 - VARCHAR(0) COMPRESSED crashes the server · 3dec6c48
    Sergey Vojtovich authored
    Character set safe truncation is done when storing non-empty string in
    VARCHAR(0) COMPRESSED column, so that string becomes empty. The code
    didn't expect empty string after truncation.
    
    Fixed by moving empty string check after truncation.
    3dec6c48
column_compression.test 2.79 KB