Issue Details (XML | Word | Printable)

Key: CORE-2651
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Kovalenko Dmitry
Votes: 0
Watchers: 1
Operations

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

Incorrect "string right truncation" error with NONE column and multibyte connection charset

Created: 30/Sep/09 12:21 AM   Updated: 30/Sep/09 01:51 AM
Return to search
Issue 23 of 81 issue(s)
<< Previous | CORE-2651 | Next >>
Component/s: Charsets/Collation
Affects Version/s: 2.5 Beta 2
Fix Version/s: 2.5 RC1

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
[30.09.2009 17:38:27] [info] Server Name :Firebird
[30.09.2009 17:38:27] [info] Server Version :2.5.0.25593
[30.09.2009 17:38:27] [info] Client Name :Firebird SQL Server
[30.09.2009 17:38:27] [info] Client Version :2.5.0.25593
[30.09.2009 17:38:27] [info] Database ODS :11.2
[30.09.2009 17:38:27] [info] Database Dialect:3

----------
1. Connection charset: NONE

create table TEST_NONE
(
 VARCHAR_1 VARCHAR(1) CHARACTER SET NONE
);

insert into test_none values (ascii_char(1));

2. Connection charset: CP943C

select * from TEST_NONE;

ERROR: arithmetic exception, numeric overflow, or string truncation. string right truncation

Same problem with GB18030 connection charset

----
With WIN1251/BIG_5 connection charsets - no any problem


 All   Comments   Work Log   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.