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

CREATE USER error [CORE1994] #2431

Closed
firebird-automations opened this issue Jul 15, 2008 · 12 comments
Closed

CREATE USER error [CORE1994] #2431

firebird-automations opened this issue Jul 15, 2008 · 12 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Vsevolod Migdisov (vmigdisov_gmail.com)

Is duplicated by CORE2175

CREATE USER newuser PASSWORD 'masterkey';

Error:
This operation is not defined for system tables.
unsuccessful metadata update.
invalid database handle (no active connection).

Commits: eaf7855

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Sounds like an IBExpert bug. What if you execute this statement in ISQL?

@firebird-automations
Copy link
Collaborator Author

Commented by: Vsevolod Migdisov (vmigdisov_gmail.com)

ISQL: the same result. And there is another user who has the same problem:
CORE696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#⁠action_16850

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Confirmed and fixed.

@firebird-automations
Copy link
Collaborator Author

Commented by: Pabloj (pabloj_sourceforge)

Sorry but this bug should be reopened, I'm testing a firebird snapshot and I get a different error from create user, this time is a can't add record, see the transcript:

C:\Program Files\Firebird\Firebird_2_5\bin>isql -u sysdba -p masterkey localhost
:pippo2 -r sysdba
Database: localhost:pippo2, User: sysdba, Role: SYSDBA
SQL> create user pippo password 'pippo';
Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-add record error

SQL> select rdb$get_context('SYSTEM', 'ENGINE_VERSION') from rdb$database;

RDB$GET_CONTEXT

2.5.0
SQL> exit;

C:\Program Files\Firebird\Firebird_2_5\bin>isql -z
ISQL Version: WI-T2.5.0.20737 Firebird 2.5 Alpha 1
Use CONNECT or CREATE DATABASE to specify a database
SQL>

@firebird-automations
Copy link
Collaborator Author

Commented by: Pabloj (pabloj_sourceforge)

I'm sorry, fact is the user already exists, it's just a matter of returning a more descriptive message.

@firebird-automations
Copy link
Collaborator Author

Commented by: Vsevolod Migdisov (vmigdisov_gmail.com)

Firebird 2.5.0.20709
"EXECUTE BLOCK" statement does not support "CREATE USER":

execute block
as
begin
EXECUTE statement 'create user test1 password ''test1''';
EXECUTE statement 'create user test2 password ''test2''';
end

returns:
Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements.
Execute statement error at jrd8_execute :\n335544351 : unsuccessful metadata update
336723987 : add record error
Statement : create user test2 password 'test2'\nData source : Internal::.

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Issue confirmed, please open new item for it.
I will take care next week.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue is duplicated by CORE2175 [ CORE2175 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

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