Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb0e5468

Browse files
committed
Remove unnecessary copyObject() call in update (values) code.
1 parent18f2e03 commitb0e5468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/parser/gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.562 2006/09/02 20:52:01 momjian Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.563 2006/09/03 00:46:41 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -5974,7 +5974,7 @@ update_target_lists_el:
59745974
ResTarget *res_col = (ResTarget *) lfirst(col_cell);
59755975
Node *res_val = (Node *) lfirst(val_cell);
59765976

5977-
res_col->val =(Node *)copyObject(res_val);
5977+
res_col->val = res_val;
59785978
}
59795979

59805980
$$ =$2;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp