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

Commit2d655a0

Browse files
committed
Blind fix for uninitialized memory bug inba9a7e3
Valgrind animal skink shows a crash in this new code. I couldn'treproduce the problem locally, but going by blind code inspection,initializing insert_destrel should be sufficient to fix the problem.
1 parenta096813 commit2d655a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/executor/nodeModifyTable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,7 @@ lreplace:;
18201820
if (partition_constraint_failed)
18211821
{
18221822
TupleTableSlot*inserted_tuple;
1823-
ResultRelInfo*insert_destrel;
1823+
ResultRelInfo*insert_destrel=NULL;
18241824

18251825
/*
18261826
* ExecCrossPartitionUpdate will first DELETE the row from the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp