8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 05:23:03 +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 {
open_backup_scan();
#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,7 +905,10 @@ void nbackup::restore_database(int filecount, const char* const* files)
// We are likely to have normal database here
delete_database = false;
}
close_backup();
#ifdef WIN_NT
if (curLevel)
#endif
close_backup();
curLevel++;
}
} catch(const std::exception& ex) {