mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Remove unnecessary copyObject() call in update (values) code.
This commit is contained in:
parent
18f2e0351a
commit
b0e5468448
@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.562 2006/09/02 20:52:01 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.563 2006/09/03 00:46:41 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -5974,7 +5974,7 @@ update_target_lists_el:
|
||||
ResTarget *res_col = (ResTarget *) lfirst(col_cell);
|
||||
Node *res_val = (Node *) lfirst(val_cell);
|
||||
|
||||
res_col->val = (Node *)copyObject(res_val);
|
||||
res_col->val = res_val;
|
||||
}
|
||||
|
||||
$$ = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user