Skip to content

Commit

Permalink
Remove unused function ts_chunk_is_uncompressed_or_unordered
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm committed Nov 4, 2022
1 parent f153566 commit 0330bb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -4386,13 +4386,6 @@ ts_chunk_is_compressed(const Chunk *chunk)
return ts_flags_are_set_32(chunk->fd.status, CHUNK_STATUS_COMPRESSED);
}

bool
ts_chunk_is_uncompressed_or_unordered(const Chunk *chunk)
{
return (ts_flags_are_set_32(chunk->fd.status, CHUNK_STATUS_COMPRESSED_UNORDERED) ||
!ts_flags_are_set_32(chunk->fd.status, CHUNK_STATUS_COMPRESSED));
}

static const char *
get_chunk_operation_str(ChunkOperation cmd)
{
Expand Down
1 change: 0 additions & 1 deletion src/chunk.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ ts_chunk_find_or_create_without_cuts(const Hypertable *ht, Hypercube *hc, const
extern TSDLLEXPORT Chunk *ts_chunk_get_compressed_chunk_parent(const Chunk *chunk);
extern TSDLLEXPORT bool ts_chunk_is_unordered(const Chunk *chunk);
extern TSDLLEXPORT bool ts_chunk_is_compressed(const Chunk *chunk);
extern TSDLLEXPORT bool ts_chunk_is_uncompressed_or_unordered(const Chunk *chunk);
extern TSDLLEXPORT bool ts_chunk_validate_chunk_status_for_operation(Oid chunk_relid,
int32 chunk_status,
ChunkOperation cmd,
Expand Down

0 comments on commit 0330bb6

Please sign in to comment.