mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
Remove unused variable
This commit is contained in:
parent
af6b4a3911
commit
d18361e412
@ -683,7 +683,7 @@ cagg_validate_query(const Query *query, const bool finalized, const char *cagg_s
|
||||
detail->len > 0 ? errdetail("%s", detail->data) : 0));
|
||||
}
|
||||
|
||||
int num_tables = 0, num_hypertables = 0;
|
||||
int num_hypertables = 0;
|
||||
ListCell *lc;
|
||||
foreach (lc, query->rtable)
|
||||
{
|
||||
@ -700,10 +700,6 @@ cagg_validate_query(const Query *query, const bool finalized, const char *cagg_s
|
||||
if (rte == NULL)
|
||||
rte = copyObject(inner_rte);
|
||||
}
|
||||
else
|
||||
{
|
||||
num_tables++;
|
||||
}
|
||||
|
||||
if (is_hypertable && inner_rte->inh == false)
|
||||
ereport(ERROR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user