8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 08:03:04 +01:00

Fixed CORE-5742: Incorrect error message in iSQL when trying to create database with wrong password

This commit is contained in:
AlexPeshkoff 2018-02-20 18:18:18 +03:00
parent 8eee0ce39a
commit f6419f235c

View File

@ -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,6 +297,7 @@ bool PREPARSE_execute(CheckStatusWrapper* status, Why::YAttachment** ptrAtt,
}
catch (const Exception& ex)
{
if (!(status->getState() & IStatus::STATE_ERRORS))
ex.stuffException(status);
return true;
}