From 37bd2aaf2870b3f9a7956f573d13c85478149593 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 28 Jul 2005 00:26:30 +0000 Subject: [PATCH] Fix breakage introduced in plpgsql CONTINUE patch. Per Kevin McArthur. --- src/pl/plpgsql/src/pl_exec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index 356210ccb3..837146c8bd 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -3,7 +3,7 @@ * procedural language * * IDENTIFICATION - * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.149 2005/06/26 22:05:42 tgl Exp $ + * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.150 2005/07/28 00:26:30 tgl Exp $ * * This software is copyrighted by Jan Wieck - Hamburg. * @@ -1143,7 +1143,7 @@ exec_stmt_getdiag(PLpgSQL_execstate *estate, PLpgSQL_stmt_getdiag *stmt) { PLpgSQL_diag_item *diag_item = (PLpgSQL_diag_item *) lfirst(lc); PLpgSQL_datum *var; - bool isnull; + bool isnull = false; if (diag_item->target <= 0) continue; @@ -1434,7 +1434,7 @@ exec_stmt_fori(PLpgSQL_execstate *estate, PLpgSQL_stmt_fori *stmt) } else { - /* + /* * otherwise, this is a named continue that does not * match the current statement's label, if any: return * RC_CONTINUE so that the CONTINUE will propagate up -- 2.49.0