Skip to content

Commit 202814f

Browse files
committed
This should fix bug #8194 : Internal consistency check (page in use during flush) with small number of DefaultDbCachePages
1 parent 30f0389 commit 202814f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jrd/jrd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3212,7 +3212,7 @@ JAttachment* JProvider::createDatabase(CheckStatusWrapper* user_status, const ch
32123212
options.dpb_session_tz.c_str(), options.dpb_session_tz.length());
32133213
}
32143214

3215-
CCH_flush(tdbb, FLUSH_FINI, 0);
3215+
CCH_flush(tdbb, FLUSH_ALL, 0);
32163216

32173217
// The newly created database should have FW = ON, unless the opposite is specified in DPB
32183218
if (!options.dpb_set_force_write || options.dpb_force_write)

0 commit comments

Comments
 (0)