Storage of malformed blob is allowed when copying from a blob with NONE/OCTETS charset [CORE2722] #3118
Labels
affect-version: 1.5.4
affect-version: 1.5.5
affect-version: 1.5.6
affect-version: 2.0.0
affect-version: 2.0.1
affect-version: 2.0.2
affect-version: 2.0.3
affect-version: 2.0.4
affect-version: 2.0.5
affect-version: 2.1.0
affect-version: 2.1.1
affect-version: 2.1.2
affect-version: 2.1.3
affect-version: 2.5 Alpha 1
affect-version: 2.5 Beta 1
affect-version: 2.5 Beta 2
component: charsets/collation
component: engine
fix-version: 2.5 RC1
fix-version: 3.0 Alpha 1
priority: major
qa: done successfully
type: bug
Submitted by: @asfernandes
Is related to QA420
Test case:
create table t (b1 blob sub_type text, b2 blob sub_type text character set utf8);
-- This is correct and raise "Malformed string" error
insert into t (b2) values (x'F0');
insert into t (b1) values (x'F0');
-- This store a malformed blob
update t set b2 = b1;
Commits: ba81665 8af12c8
The text was updated successfully, but these errors were encountered: