Issue Details (XML | Word | Printable)

Key: CORE-2359
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Adriano dos Santos Fernandes
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Logical multibyte maximum string length is not respected when assigning numbers

Created: 09/Mar/09 11:56 AM   Updated: 19/Jan/16 06:11 AM
Component/s: Charsets/Collation, Engine
Affects Version/s: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.0.4, 2.5 Alpha 1, 2.1.1, 2.0.5
Fix Version/s: 2.5 Beta 2

Issue Links:

QA Status: Done successfully

 Description  « Hide
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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 31/May/11 12:52 PM
QA test added.