Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fe907ce

Browse files
done (#236)
In the case of an empty RowReader, `peek()` was causing a segfault.
1 parent 8c40b10 commit fe907ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/cpp/enclave/physical_operators/broadcast_nested_loop_join.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ void outer_join(uint8_t *join_expr, size_t join_expr_length, uint8_t *outer_rows
5252
bool o_i_match = false;
5353
RowReader inner_r(BufferRefView<tuix::EncryptedBlocks>(inner_rows, inner_rows_length));
5454

55-
// Use peek() to get the schema of the inner table
56-
const tuix::Row *inner = inner_r.peek();
57-
55+
const tuix::Row *inner;
5856
while (inner_r.has_next()) {
5957
inner = inner_r.next();
6058
bool condition_met = join_expr_eval.is_right_join()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /