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

Fixed bugs in the interactive mode on Windows.

This commit is contained in:
dimitr 2007-02-08 17:27:26 +00:00
parent 231c83c928
commit 83e624efbd

View File

@ -793,15 +793,14 @@ void nbackup::restore_database(int filecount, const char* const* files)
return;
}
try {
#ifdef WIN_NT
if (curLevel)
#endif
open_backup_scan();
break;
} catch (const std::exception& e) {
printf("%s\n", e.what());
}
#ifdef WIN_NT
if (curLevel)
close_backup();
#endif
}
}
else {
@ -906,6 +905,9 @@ void nbackup::restore_database(int filecount, const char* const* files)
// We are likely to have normal database here
delete_database = false;
}
#ifdef WIN_NT
if (curLevel)
#endif
close_backup();
curLevel++;
}