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

Duplicate tags for CREATE/ALTER USER not handled correctly [CORE4464] #4784

Closed
firebird-issue-importer opened this issue Jun 18, 2014 · 6 comments

Comments

@firebird-issue-importer

Submitted by: Robert (rj1102)

WI-T3.0.0.30809 Firebird 3.0 Alpha 2

With CREATE/ALTER USER, if I specify two tags with the same name, both will be added in SEC$USER_ATTRIBUTES.

Example:
CREATE USER Test1 PASSWORD 'masterkey' TAGS (a = '1', a = '2')

NAME VALUE
================ ==============================
A 1
A 2

It would be better to produce a syntax error or to insert only the last value (a='2').

Commits: a38c2ab FirebirdSQL/fbt-repository@455cdbf

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 18, 2014

Modified by: Robert (rj1102)

description: WI-T3.0.0.30809 Firebird 3.0 Alpha 2

With CREATE/ALTER USER, if I specify two tags with the same name, both will be added in SEC$USER_ATTRIBUTES.

Example:
CREATE USER Test1 PASSWORD 'masterkey' TAGS (a = '1', a = '2')

NAME VALUE
================ ==============================
A 1
A 2

It would be better to produce a syntax error or to insert only the last value to (a='2').

=>

WI-T3.0.0.30809 Firebird 3.0 Alpha 2

With CREATE/ALTER USER, if I specify two tags with the same name, both will be added in SEC$USER_ATTRIBUTES.

Example:
CREATE USER Test1 PASSWORD 'masterkey' TAGS (a = '1', a = '2')

NAME VALUE
================ ==============================
A 1
A 2

It would be better to produce a syntax error or to insert only the last value (a='2').

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 18, 2014

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 24, 2014

Commented by: @AlexPeshkoff

Raise an error when duplicate attributes found

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 24, 2014

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 1 [ 10332 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 28, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 23, 2015

Modified by: @pcisar

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
Development

No branches or pull requests

2 participants