Issue Details (XML | Word | Printable)

Key: CORE-3569
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dmitry Yemanov
Reporter: Kovalenko Dmitry
Votes: 0
Watchers: 2
Operations

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

CHAR(32767) present in XSQLVAR with length 32765

Created: 05/Aug/11 08:29 AM   Updated: 27/Mar/14 12:18 PM
Component/s: Charsets/Collation, Engine
Affects Version/s: 3.0 Initial, 2.0.6, 2.5.0, 2.1.4, 2.5.1
Fix Version/s: 2.1.5, 2.5.2, 3.0 Alpha 1

Time Tracking:
Not Specified

Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
Hi

CREATE TABLE TBL_LARGE2_CH_32767 (
    LARGE_TEXT CHAR(32767) CHARACTER SET WIN1251
);

IBExpert:
"select * from TBL_LARGE2_CH_32767"

Size of LARGE_TEXT is 32765

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Kovalenko Dmitry added a comment - 05/Aug/11 10:05 AM
Additional information: use connection charset ASCII

Dmitry Yemanov added a comment - 14/Mar/12 03:47 PM
A bit simpler test case demonstrating the same issue:

select 'aaa....a' /* 32766 or 32767 single-byte chars */ from rdb$database
-- ERROR: string truncation