• jani@a88-112-41-254.elisa-laajakaista.fi's avatar
    Fix for bug#20208 · 4bfe83d5
    A better fix for bug#10025.
    
    Fixed test case plus added new tests.
    
    After fixing Bug#20208 "Blobs greater than 8K are being truncated to 8K"
    the fix to bug#10025 "Misleading error with COLLATE mediumtext and UNION"
    became more accurate. Earlier mediumtext got converted to longtext,
    although mediumtext was enough to contain the results. Now it converts
    correctly to mediumtext, if the length does not exceed that and if none
    of the original fields were type longtext.
    
    Type longtext still converts correctly to type longtext, as the extra
    tests prove.
    4bfe83d5
union.result 40.8 KB