mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 01:53:41 +08:00
Remove unused ts_chunk_oid_cmp function
This PR removes the unused ts_chunk_oid_cmp function.
This commit is contained in:
parent
668e6a2bb9
commit
6b4e6c9c55
@ -4517,15 +4517,6 @@ ts_chunk_lock_if_exists(Oid chunk_oid, LOCKMODE chunk_lockmode)
|
||||
return true;
|
||||
}
|
||||
|
||||
int
|
||||
ts_chunk_oid_cmp(const void *p1, const void *p2)
|
||||
{
|
||||
const Chunk *c1 = *((const Chunk **) p1);
|
||||
const Chunk *c2 = *((const Chunk **) p2);
|
||||
|
||||
return oid_cmp(&c1->table_id, &c2->table_id);
|
||||
}
|
||||
|
||||
ScanIterator
|
||||
ts_chunk_scan_iterator_create(MemoryContext result_mcxt)
|
||||
{
|
||||
|
@ -239,7 +239,6 @@ extern Chunk *ts_chunk_build_from_tuple_and_stub(Chunk **chunkptr, TupleInfo *ti
|
||||
extern ScanIterator ts_chunk_scan_iterator_create(MemoryContext result_mcxt);
|
||||
extern void ts_chunk_scan_iterator_set_chunk_id(ScanIterator *it, int32 chunk_id);
|
||||
extern bool ts_chunk_lock_if_exists(Oid chunk_oid, LOCKMODE chunk_lockmode);
|
||||
extern int ts_chunk_oid_cmp(const void *p1, const void *p2);
|
||||
int ts_chunk_get_osm_chunk_id(int hypertable_id);
|
||||
extern TSDLLEXPORT void ts_chunk_merge_on_dimension(const Hypertable *ht, Chunk *chunk,
|
||||
const Chunk *merge_chunk, int32 dimension_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user