Fix for bug#20208
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. mysql-test/r/union.result: Fixed an earlier test case plus added two new tests. mysql-test/t/union.test: Fixed an earlier test case plus added two new tests.
Showing
Please register or sign in to comment