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

Fixed example - thanks to DS

This commit is contained in:
AlexPeshkoff 2020-02-25 09:02:24 +03:00
parent 7bafffb8f2
commit 92fbd23039

View File

@ -57,7 +57,7 @@ static void drop(IAttachment** att)
// drop database (will close interface) // drop database (will close interface)
(*att)->dropDatabase(&status); (*att)->dropDatabase(&status);
if (status.getState() && IStatus::STATE_ERRORS) if (status.getState() & IStatus::STATE_ERRORS)
{ {
errPrint(&status); errPrint(&status);
fprintf(stderr, "*** Drop database failed - do it manually before next run ***\n"); fprintf(stderr, "*** Drop database failed - do it manually before next run ***\n");