Skip to content

Commit c509880

Browse files
committed
plugin now adjusts child.status
1 parent aef6c22 commit c509880

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.clang-format

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
BasedOnStyle: LLVM
2-
IndentWidth: 4
3-
ColumnLimit: 140
4-
PointerAlignment: Left
5-
AlwaysBreakTemplateDeclarations: true
2+
63
AlignAfterOpenBracket: AlwaysBreak
74
AlignConsecutiveAssignments: true
85
AlignConsecutiveDeclarations: true
6+
AllowShortCaseLabelsOnASingleLine: true
7+
AlwaysBreakTemplateDeclarations: true
98
BreakConstructorInitializers: BeforeComma
9+
ColumnLimit: 140
10+
IndentWidth: 4
11+
PointerAlignment: Left

src/fill-postgresql.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -988,13 +988,6 @@ struct session : enable_shared_from_this<session> {
988988
write_action_trace(block_num, ttrace, num_actions, 0, atrace, bulk, t, pipeline);
989989
if (!ttrace.failed_dtrx_trace.empty()) {
990990
auto& child = ttrace.failed_dtrx_trace[0];
991-
if (child.status == transaction_status::executed) {
992-
// child didn't execute correctly; fix status
993-
if (ttrace.status != transaction_status::executed)
994-
child.status = transaction_status::hard_fail;
995-
else
996-
child.status = transaction_status::soft_fail;
997-
}
998991
write_transaction_trace(block_num, child, bulk, t, pipeline);
999992
}
1000993
}

0 commit comments

Comments
 (0)