Skip to content

Commit

Permalink
Fix: index typo in txn_common.h (#719)
Browse files Browse the repository at this point in the history
Co-authored-by: Prashanth Duvvada <[email protected]>
  • Loading branch information
xxrlzzz and prashanthduvvada committed Aug 9, 2024
1 parent a5facf0 commit a941e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/txn/txn_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ void QueryIndex(BustubInstance &instance, const std::string &txn_var_name, Trans
}
if (writer.values_[0] != VecToVecString(expected_rows[i])) {
fmt::println(stderr, "{} expect {} = {} to be ({}), found ({})", StatusFail("ERROR:"), pk_column,
expected_pk[i], fmt::join(expected_rows[0], ","), fmt::join(writer.values_[0], ","));
expected_pk[i], fmt::join(expected_rows[i], ","), fmt::join(writer.values_[0], ","));
std::terminate();
}
}
Expand Down

0 comments on commit a941e32

Please sign in to comment.