@@ -38,7 +38,8 @@ BOOST_AUTO_TEST_CASE(constructorFromStatementAndExecute)
3838{
3939 const auto database = getTempFile (" Batch-constructorFromStatementAndExecute.fdb" );
4040
41- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
41+ Attachment attachment{CLIENT , database,
42+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
4243 FbDropDatabase attachmentDrop{attachment};
4344
4445 { // scope
@@ -103,7 +104,8 @@ BOOST_AUTO_TEST_CASE(constructorFromAttachmentAndExecute)
103104{
104105 const auto database = getTempFile (" Batch-constructorFromAttachmentAndExecute.fdb" );
105106
106- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
107+ Attachment attachment{CLIENT , database,
108+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
107109 FbDropDatabase attachmentDrop{attachment};
108110
109111 { // scope
@@ -176,7 +178,8 @@ BOOST_AUTO_TEST_CASE(moveConstructorTransfersOwnership)
176178{
177179 const auto database = getTempFile (" Batch-moveConstructorTransfersOwnership.fdb" );
178180
179- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
181+ Attachment attachment{CLIENT , database,
182+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
180183 FbDropDatabase attachmentDrop{attachment};
181184
182185 { // scope
@@ -211,7 +214,8 @@ BOOST_AUTO_TEST_CASE(executeReportsNoInfoWhenRecordCountsDisabled)
211214{
212215 const auto database = getTempFile (" Batch-noInfo.fdb" );
213216
214- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
217+ Attachment attachment{CLIENT , database,
218+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
215219 FbDropDatabase attachmentDrop{attachment};
216220
217221 { // scope
@@ -243,7 +247,8 @@ BOOST_AUTO_TEST_CASE(executeWithBadDataReportsExecuteFailed)
243247{
244248 const auto database = getTempFile (" Batch-badData.fdb" );
245249
246- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
250+ Attachment attachment{CLIENT , database,
251+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
247252 FbDropDatabase attachmentDrop{attachment};
248253
249254 { // scope
@@ -301,7 +306,8 @@ BOOST_AUTO_TEST_CASE(cancelDiscardsMessages)
301306{
302307 const auto database = getTempFile (" Batch-cancelDiscardsMessages.fdb" );
303308
304- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
309+ Attachment attachment{CLIENT , database,
310+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
305311 FbDropDatabase attachmentDrop{attachment};
306312
307313 { // scope
@@ -340,7 +346,8 @@ BOOST_AUTO_TEST_CASE(blobWithIdEngine)
340346{
341347 const auto database = getTempFile (" Batch-blobWithIdEngine.fdb" );
342348
343- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
349+ Attachment attachment{CLIENT , database,
350+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
344351 FbDropDatabase attachmentDrop{attachment};
345352
346353 { // scope
@@ -397,7 +404,8 @@ BOOST_AUTO_TEST_CASE(registerExistingBlob)
397404{
398405 const auto database = getTempFile (" Batch-registerExistingBlob.fdb" );
399406
400- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
407+ Attachment attachment{CLIENT , database,
408+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
401409 FbDropDatabase attachmentDrop{attachment};
402410
403411 { // scope
@@ -459,7 +467,8 @@ BOOST_AUTO_TEST_CASE(closeReleasesHandle)
459467{
460468 const auto database = getTempFile (" Batch-closeReleasesHandle.fdb" );
461469
462- Attachment attachment{CLIENT , database, AttachmentOptions ().setCreateDatabase (true ).setConnectionCharSet (" UTF8" )};
470+ Attachment attachment{CLIENT , database,
471+ AttachmentOptions ().setCreateDatabase (true ).setForcedWrites (false ).setConnectionCharSet (" UTF8" )};
463472 FbDropDatabase attachmentDrop{attachment};
464473
465474 { // scope
0 commit comments