mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:03:03 +01:00
Fixed example - thanks to DS
This commit is contained in:
parent
7bafffb8f2
commit
92fbd23039
@ -57,7 +57,7 @@ static void drop(IAttachment** att)
|
||||
|
||||
// drop database (will close interface)
|
||||
(*att)->dropDatabase(&status);
|
||||
if (status.getState() && IStatus::STATE_ERRORS)
|
||||
if (status.getState() & IStatus::STATE_ERRORS)
|
||||
{
|
||||
errPrint(&status);
|
||||
fprintf(stderr, "*** Drop database failed - do it manually before next run ***\n");
|
||||
|
Loading…
Reference in New Issue
Block a user