Skip to content

Commit 6b273c4

Browse files
ypatiashaunrd0
andauthored
Fix boolean clause for empty fragment list serialization
Co-authored-by: Shaun M Reed <[email protected]>
1 parent 6a2f661 commit 6b273c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiledb/sm/serialization/consolidation.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void array_consolidation_request_to_capnp(
7171
// Validate input arguments to be sure that what we are serializing make sense
7272
auto mode = Consolidator::mode_from_config(config);
7373
if (mode != ConsolidationMode::FRAGMENT &&
74-
(fragment_uris != nullptr || !fragment_uris->empty())) {
74+
(fragment_uris != nullptr && !fragment_uris->empty())) {
7575
throw ConsolidationSerializationException(
7676
"[array_consolidation_request_to_capnp] Error serializing "
7777
"consolidation request. A non-empty fragment list should only be "

0 commit comments

Comments
 (0)