Logical multibyte maximum string length is not respected when assigning numbers [CORE2359] #2782
Labels
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.5 Alpha 1
component: charsets/collation
component: engine
fix-version: 2.5 Beta 2
priority: major
qa: done successfully
type: bug
Submitted by: @asfernandes
Is related to QA392
Test case:
SQL> create table t (c varchar(2) character set utf8);
SQL> insert into t values ('aaaaaaaa'); -- error: ok
Statement failed, SQLCODE = -802
arithmetic exception, numeric overflow, or string truncation
SQL> insert into t values (12345678); -- pass: not ok
Commits: c8c6187
The text was updated successfully, but these errors were encountered: