Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost the charset ID in selection of array element [CORE5074] #5361

Closed
firebird-issue-importer opened this issue Jan 13, 2016 · 4 comments
Closed

Comments

@firebird-issue-importer

Submitted by: @ibprovider

Assigned to: @ibprovider

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:
dmitry-lipetsk/firebird@cc541b7

Commits: 4534a64 746d763 5d51d1f 3f17c21

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 23, 2019

Modified by: @dyemanov

assignee: Kovalenko Dmitry [ _dima_k_ ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 23, 2019

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.9 [ 10862 ]

Fix Version: 3.0.5 [ 10885 ]

Fix Version: 4.0 Beta 2 [ 10888 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 5, 2019

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 5, 2019

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant