Skip to content

Commit 0e650dd

Browse files
committed
add missing portions copyrights
1 parent 47e9cd0 commit 0e650dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/planner_tree_modification.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Functions for query- and plan- tree modification
55
*
66
* Copyright (c) 2016, Postgres Professional
7+
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
8+
* Portions Copyright (c) 1994, Regents of the University of California
79
*
810
* ------------------------------------------------------------------------
911
*/
@@ -496,9 +498,10 @@ eval_extern_params_mutator(Node *node, ParamListInfo params)
496498
{
497499
Param *param = (Param *) node;
498500

501+
Assert(params);
502+
499503
/* Look to see if we've been given a value for this Param */
500504
if (param->paramkind == PARAM_EXTERN &&
501-
params != NULL &&
502505
param->paramid > 0 &&
503506
param->paramid <= params->numParams)
504507
{

0 commit comments

Comments
 (0)