Skip to content

Commit

Permalink
fix Clang-16.0.6 compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedeyantu committed Mar 20, 2024
1 parent a0d255d commit 31278b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions be/src/olap/rowset/segment_creator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ Status SegmentFlusher::_expand_variant_to_subcolumns(vectorized::Block& block,
}

{
std::lock_guard<std::mutex> lock(*(_context->schema_lock));
std::lock_guard<std::mutex> lock(*(_context.schema_lock));
// save original tablet schema, _context->tablet_schema maybe modified
if (_context->original_tablet_schema == nullptr) {
_context->original_tablet_schema = _context->tablet_schema;
if (_context.original_tablet_schema == nullptr) {
_context.original_tablet_schema = _context.tablet_schema;
}
}

Expand Down

0 comments on commit 31278b6

Please sign in to comment.