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

Commitb946244

Browse files
committed
Quick fix for subplan-related crash.
1 parent28d8b42 commitb946244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/executor/execMain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*
2828
* IDENTIFICATION
29-
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.64 1999/01/2700:36:20 tgl Exp $
29+
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.65 1999/01/2716:48:20 tgl Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -376,7 +376,7 @@ ExecCheckPerms(CmdType operation,
376376
if (!ok)
377377
elog(ERROR,"%s: %s",rname.data,aclcheck_error_strings[aclcheck_result]);
378378

379-
if (parseTree->rowMark!=NULL)
379+
if (parseTree!=NULL&&parseTree->rowMark!=NULL)
380380
{
381381
foreach(lp,parseTree->rowMark)
382382
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp