Issue Details (XML | Word | Printable)

Key: CORE-2019
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Adriano dos Santos Fernandes
Reporter: fabianobonin
Votes: 0
Watchers: 0
Operations

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

UTF-8 conversion error (string truncation)

Created: 29/Jul/08 07:49 AM   Updated: 25/Apr/11 02:53 PM
Component/s: Charsets/Collation
Affects Version/s: 2.1.0
Fix Version/s: 2.5 Beta 1

Time Tracking:
Not Specified

Environment: Fedora Core 5, Firebird CS 2.1.0
Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
# isql -ch utf-8
create database '/var/tmp/teste-utf8.fdb';
commit;

connect '/var/tmp/teste-utf8.fdb';

recreate table test (
 column1 varchar(10) character set none collate none );

insert into test values ('1234567890');
commit;

select coalesce(column1, '') from test;

COALESCE
========
Statement failed, SQLCODE = -802
arithmetic exception, numeric overflow, or string truncation


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 25/Apr/11 02:53 PM
QA test added.