-
-
Notifications
You must be signed in to change notification settings - Fork 221
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 table not respecting collation [CORE2426] #2842
Comments
Commented by: @asfernandes More dangerous behavior observed: create domain A_DOMAIN VARCHAR(14) CHARacter SET WIN1252 COLLATE WINPT_BR; create table t (FIELD_A VARCHAR(14) CHARacter SET WIN1252 COLLATE WIN1252); show table t; -- colattion changes to de_de |
Modified by: @asfernandesVersion: 2.5 Beta 1 [ 10251 ] assignee: Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5 RC1 [ 10300 ] |
Commented by: @pcisar QA test added. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovQA Status: No test => Done successfully |
Submitted by: @WarmBooter
Is related to QA398
Table already exists with FIELD_A VARCHAR(14) CHARSET WIN1252 COLLATE WIN1252;
Create a domain A_DOMAIN VARCHAR(14) CHARSET WIN1252 COLLATE WINPT_BR;
Use "alter table" to change FIELD_A to type A_DOMAIN
Try to create a FK in some other table, referencing FIELD_A and you will get:
This operation is not defined for system tables.
unsuccessful metadata update.
partner index segment no 1 has incompatible data type.
Looks like FIELD_A still has old collation. If I change system tables to force the new collation, I can create the FK.
Commits: 34bf21b
The text was updated successfully, but these errors were encountered: