Skip to content

Commit c69f0f2

Browse files
committed
Fix compilation error on older GCCs
1 parent 3d98a8e commit c69f0f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/partition_overseer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,13 @@ partition_overseer_create_scan_state(CustomScan *node)
6868
static void
6969
set_mt_state_for_router(PlanState *state, void *context)
7070
{
71+
int i;
7172
ModifyTableState *mt_state = (ModifyTableState *) state;
7273

7374
if (!IsA(state, ModifyTableState))
7475
return;
7576

76-
for (int i = 0; i < mt_state->mt_nplans; i++)
77+
for (i = 0; i < mt_state->mt_nplans; i++)
7778
{
7879
CustomScanState *pf_state = (CustomScanState *) mt_state->mt_plans[i];
7980
PartitionRouterState *pr_state;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy