mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 02:03:03 +01:00
Fixed bugs in the interactive mode on Windows.
This commit is contained in:
parent
231c83c928
commit
83e624efbd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user