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

This should fix bug #8194 : Internal consistency check (page in use during flush) with small number of DefaultDbCachePages

This commit is contained in:
Vlad Khorsun 2024-07-31 00:41:43 +03:00 committed by Dmitry Yemanov
parent f15faf151c
commit 075d0e649d

View File

@ -3212,7 +3212,7 @@ JAttachment* JProvider::createDatabase(CheckStatusWrapper* user_status, const ch
options.dpb_session_tz.c_str(), options.dpb_session_tz.length());
}
CCH_flush(tdbb, FLUSH_FINI, 0);
CCH_flush(tdbb, FLUSH_ALL, 0);
// The newly created database should have FW = ON, unless the opposite is specified in DPB
if (!options.dpb_set_force_write || options.dpb_force_write)