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

Correction.

This commit is contained in:
asfernandes 2014-10-12 02:24:08 +00:00
parent fdd2998629
commit fcaeb05db1

View File

@ -335,7 +335,7 @@ static void setAttr(IStatus* status, Auth::UserData* u)
setAttr(attr, "Uid", &u->u);
setAttr(attr, "Gid", &u->g);
u->attributes()->set(status, attr.c_str());
if (status->getStatus() && IStatus::FB_HAS_ERRORS)
if (status->getStatus() & IStatus::FB_HAS_ERRORS)
return;
u->attributes()->setEntered(status, attr.hasData());
}