Skip to content

Commit 6c87a5c

Browse files
committed
Do not use unsupported options for transactions of parallel workers performing RestoreRelationTask
1 parent 51e224f commit 6c87a5c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/burp/BurpTasks.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,12 @@ void RestoreRelationTask::initItem(BurpGlobals* tdgbl, Item& item)
899899

900900
ClumpletWriter tpb(ClumpletReader::Tpb, 128, isc_tpb_version3);
901901
tpb.insertTag(isc_tpb_concurrency);
902-
tpb.insertTag(isc_tpb_no_auto_undo);
903-
tpb.insertTag(isc_tpb_auto_release_temp_blobid);
902+
903+
if (tdgbl->gbl_use_no_auto_undo)
904+
tpb.insertTag(isc_tpb_no_auto_undo);
905+
906+
if (tdgbl->gbl_use_auto_release_temp_blobid)
907+
tpb.insertTag(isc_tpb_auto_release_temp_blobid);
904908

905909
item.m_tra = item.m_att->startTransaction(&status, tpb.getBufferLength(), tpb.getBuffer());
906910

0 commit comments

Comments
 (0)