Remove duplicate line
authorAmit Langote <amitlan@postgresql.org>
Thu, 17 Jul 2025 05:31:27 +0000 (14:31 +0900)
committerAmit Langote <amitlan@postgresql.org>
Thu, 17 Jul 2025 05:37:06 +0000 (14:37 +0900)
In 231b7d670b21, while copy-pasting some code into
ExecEvalJsonCoercionFinish(), I (amitlan) accidentally introduced
a duplicate line.  Remove it.

Reported-by: Jian He <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxHcf=BpmRAJcjgfjOUfV76MwKnyz1x3ErXsWL26EAFmng@mail.gmail.com

src/backend/executor/execExprInterp.c

index 8a72b5e70a4ec7c09a5ddb29b1eb4b6dd05b0c80..1a37737d4a23599a0170a63d9aaf8e0300833fd0 100644 (file)
@@ -5228,7 +5228,6 @@ ExecEvalJsonCoercionFinish(ExprState *state, ExprEvalStep *op)
         * JsonBehavior expression.
         */
        jsestate->escontext.error_occurred = false;
-       jsestate->escontext.error_occurred = false;
        jsestate->escontext.details_wanted = true;
    }
 }