mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 03:23:37 +08:00
Remove unused variable in tsl_get_compressed_chunk_index_for_recompression
Commit 72c0f5b25e569015aacb98cc1be3169a1720116d introduced an unused variable. This patch removes it.
This commit is contained in:
parent
975e9ca166
commit
df70f3e050
@ -1035,14 +1035,12 @@ tsl_get_compressed_chunk_index_for_recompression(PG_FUNCTION_ARGS)
|
||||
const ColumnCompressionInfo **colinfo_array;
|
||||
colinfo_array = palloc(sizeof(ColumnCompressionInfo *) * htcols_listlen);
|
||||
|
||||
int nsegmentby_cols = 0, i = 0;
|
||||
int i = 0;
|
||||
|
||||
foreach (lc, htcols_list)
|
||||
{
|
||||
FormData_hypertable_compression *fd = (FormData_hypertable_compression *) lfirst(lc);
|
||||
colinfo_array[i++] = fd;
|
||||
if (COMPRESSIONCOL_IS_SEGMENT_BY(fd))
|
||||
nsegmentby_cols++;
|
||||
}
|
||||
|
||||
const ColumnCompressionInfo **keys;
|
||||
|
Loading…
x
Reference in New Issue
Block a user