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

ALTER DOMAIN and ALTER TABLE don't allow to change character set and/or collation [CORE1058] #1479

Closed
firebird-automations opened this issue Dec 18, 2006 · 14 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @dyemanov

Is related to QA45

CREATE DOMAIN D_TEST AS VARCHAR(100) CHARACTER SET WIN1251;
-- domain created successfully
ALTER DOMAIN D_TEST TYPE VARCHAR(100) CHARACTER SET UTF8;
-- no error but charset is not changed either

Commits: 21397ed

====== Test Details ======

Currently test changes only CHARACTER SET; changing of field collation is missed.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Fix verified for 2.1 Alpha 1. Test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Reopened to update ticket information.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Fixed [ 1 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Fix Version: 2.1 Alpha 1 [ 10150 ]

Fix Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Reopened [ 4 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA45 [ QA45 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11403 ] => Firebird [ 15194 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully => Done with caveats

Test Details: Currently test changes only CHARACTER SET; changing of field collation is missed.

@firebird-automations
Copy link
Collaborator Author

Commented by: @livius2

as title say "and/or collation"
i comment that alter for domain with collation does not work

CREATE DOMAIN TEST VARCHAR(50) CHARACTER SET WIN1250 COLLATE PXW_PLK;

ALTER DOMAIN TEST TYPE VARCHAR(100) CHARACTER SET WIN1250 COLLATE PXW_PLK;

Engine Code : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, column 59
COLLATE

withoult collate it is altered but colltions is changed to WIN1250..

Issue is related to CORE1202

@pavel-zotov
Copy link

@@@ QA issue @@@

Found case when ALTER TABLE ALTER COLUMN <NEW_TYPE> <NEW_CHAR_SET> does not change character set.
Sent report to Adriano, Dmitry et al, 05-oct-2023. Waiting for reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment