Skip to content

Commit

Permalink
Update src/chunk_index.c
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Nordström <[email protected]>
Signed-off-by: Mats Kindahl <[email protected]>
  • Loading branch information
mkindahl and erimatnor committed Jan 21, 2025
1 parent aab3dd5 commit 4504ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chunk_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ chunk_lock_object_for_deletion(ObjectAddress *obj)
* If we cannot find the object, it might have been concurrently deleted
* (we do not have locks on objects yet).
*/
if (!relkind)
if (relkind == '\0')
return false;

Check warning on line 602 in src/chunk_index.c

View check run for this annotation

Codecov / codecov/patch

src/chunk_index.c#L602

Added line #L602 was not covered by tests
if (relkind == RELKIND_INDEX)
{
Expand Down

0 comments on commit 4504ac8

Please sign in to comment.