mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Fixed bug CORE-1380 : IO errors after changing FW on already attached database
This commit is contained in:
parent
bb115ede0b
commit
b9011dc5a3
@ -328,7 +328,7 @@ void PIO_force_write(jrd_file* file, bool flag)
|
||||
*
|
||||
**************************************/
|
||||
|
||||
const bool bOldForce = (file->fil_flags & FIL_force_write_init) != 0;
|
||||
const bool bOldForce = (file->fil_flags & FIL_force_write) != 0;
|
||||
|
||||
if ((flag && !bOldForce) || (!flag && bOldForce)) {
|
||||
SLONG& hOld = flag ? file->fil_desc : file->fil_force_write_desc;
|
||||
|
Loading…
Reference in New Issue
Block a user