Skip to content

Commit dc3957d

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

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
@@ -80,7 +80,7 @@ void array_consolidation_request_to_capnp(
8080
// Validate input arguments to be sure that what we are serializing make sense
8181
auto mode = Consolidator::mode_from_config(config);
8282
if (mode != ConsolidationMode::FRAGMENT &&
83-
(fragment_uris != nullptr || !fragment_uris->empty())) {
83+
(fragment_uris != nullptr && !fragment_uris->empty())) {
8484
throw ConsolidationSerializationException(
8585
"[array_consolidation_request_to_capnp] Error serializing "
8686
"consolidation request. A non-empty fragment list should only be "

0 commit comments

Comments
 (0)