mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Fixed CORE-5742: Incorrect error message in iSQL when trying to create database with wrong password
This commit is contained in:
parent
8eee0ce39a
commit
f6419f235c
@ -170,9 +170,9 @@ bool PREPARSE_execute(CheckStatusWrapper* status, Why::YAttachment** ptrAtt,
|
||||
}
|
||||
|
||||
bool hasUser = true;
|
||||
status->init();
|
||||
for (int qStrip = 0; qStrip < 2; ++qStrip)
|
||||
{
|
||||
status->init();
|
||||
hasUser = false;
|
||||
|
||||
Tokens tks;
|
||||
@ -297,7 +297,8 @@ bool PREPARSE_execute(CheckStatusWrapper* status, Why::YAttachment** ptrAtt,
|
||||
}
|
||||
catch (const Exception& ex)
|
||||
{
|
||||
ex.stuffException(status);
|
||||
if (!(status->getState() & IStatus::STATE_ERRORS))
|
||||
ex.stuffException(status);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user