Skip to content

Commit 1869158

Browse files
committed
fix asserts in pldbgapi2
1 parent 13eb39f commit 1869158

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pldbgapi2.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,8 +1239,10 @@ pldbgapi2_stmt_end(PLpgSQL_execstate *estate, PLpgSQL_stmt *stmt)
12391239
#ifdef USE_ASSERT_CHECKING
12401240

12411241
if (fcache_plpgsql->funcid != PLpgSQLinlineFunc)
1242+
{
12421243
Assert(fcache_plpgsql->funcid == estate->func->fn_oid);
12431244
Assert(fcache_plpgsql->estate = estate);
1245+
}
12441246
else
12451247
Assert(!OidIsValid(estate->func->fn_oid));
12461248

0 commit comments

Comments
 (0)