Issue Details (XML | Word | Printable)

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

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

Lost the charset ID in selection of array element

Created: 13/Jan/16 07:15 PM   Updated: 05/Jun/19 04:43 AM
Component/s: API / Client Library, Engine
Affects Version/s: 2.5.5
Fix Version/s: 2.5.9, 3.0.5, 4.0 Beta 2

QA Status: Done successfully


 Description  « Hide
1. CREATE TABLE TEST_TBL
(
 ARRAY_COLUMN CHAR(10)[0:100] CHARACTER SET OCTETS
)

2. Prepare SQL: "select ARRAY_COLUMN[0] from TEST_TBL"

3. PROBLEM: XSQLVAR::sqlsubtype contains 0 (ZERO). Expected value: 1 (ID of OCTETS charset).

-------------
I think, the problem in MAKE_field (dsql/make.cpp).

Example of correction:
https://github.com/dmitry-lipetsk/firebird/commit/cc541b78d65a2ec578768819cb3c17d37b0f474e


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.