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

An attempt to create global mapping with long (> SQL identifier length) FROM field fails [CORE5904] #6162

Closed
firebird-issue-importer opened this issue Aug 28, 2018 · 6 comments

Comments

@firebird-issue-importer

Submitted by: @AlexPeshkoff

Is related to CORE5866

Local mapping with long from field may be created successfully:

CREATE MAPPING KrasnorutskayaG USING PLUGIN WIN_SSPI FROM USER 'DOMN\КрасноруцкаяАА' TO USER "DOMN\Krasnorutskaya";

succeeds but

CREATE Global MAPPING KrasnorutskayaG USING PLUGIN WIN_SSPI FROM USER 'DOMN\КрасноруцкаяАА' TO USER "DOMN\Krasnorutskaya";

fails with the following error:

Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-CREATE MAPPING KRASNORUTSKAYAG failed
-Dynamic SQL Error
-SQL error code = -104
-Name longer than database column size

(sample is based on CORE5866)

Commits: 4c8c78f 2cce5c7

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Aug 28, 2018

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Aug 28, 2018

Modified by: @AlexPeshkoff

Link: This issue is related to CORE5866 [ CORE5866 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Aug 28, 2018

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 4.0 Beta 1 [ 10750 ]

Fix Version: 3.0.4 [ 10863 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 26, 2018

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 26, 2018

Modified by: @pavel-zotov

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

Test Specifics: [Platform (Windows/Linux) specific]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 26, 2018

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