Skip to content

Commit

Permalink
Merge branch 'master' of github.com:okbob/plpgsql_check
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed May 30, 2022
2 parents 6fe5ab7 + d738dfc commit e245c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stmtwalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ push_stmt_to_stmt_stack(PLpgSQL_checkstate *cstate)
PLpgSQL_stmt_stack_item *stmt_stack_item;
PLpgSQL_stmt_stack_item *current = cstate->top_stmt_stack;

stmt_stack_item = (PLpgSQL_stmt_stack_item *) palloc(sizeof(PLpgSQL_stmt_stack_item));
stmt_stack_item = (PLpgSQL_stmt_stack_item *) palloc0(sizeof(PLpgSQL_stmt_stack_item));
stmt_stack_item->stmt = stmt;

switch (PLPGSQL_STMT_TYPES stmt->cmd_type)
Expand Down

0 comments on commit e245c12

Please sign in to comment.