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

Commit809fc91

Browse files
committed
Fix HAVING patch missing cast.
1 parent128d827 commit809fc91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/optimizer/plan/subselect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ SS_process_sublinks(Node *expr)
411411
* Otherwise aggregate functions will fail later on (at execution
412412
* time!) Reason: The rewite System makes several copies of the
413413
* VAR nodes and in this case it should not do so :-( */
414-
if(expr->lefthand!=NULL)
414+
if(((SubLink*)expr)->lefthand!=NULL)
415415
{
416416
lfirst(((Expr*)lfirst(((SubLink*)expr)->oper))->args)=
417417
lfirst(((SubLink*)expr)->lefthand);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp