mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix for Hash and arrays
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.7 1996/11/06 06:47:40 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.8 1997/04/22 03:32:38 vadim Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -536,8 +536,10 @@ ExecHashGetBucket(HashJoinTable hashtable,
|
||||
/* ----------------
|
||||
* Get the join attribute value of the tuple
|
||||
* ----------------
|
||||
* ...It's quick hack - use ExecEvalExpr instead of ExecEvalVar:
|
||||
* hashkey may be T_ArrayRef, not just T_Var. - vadim 04/22/97
|
||||
*/
|
||||
keyval = ExecEvalVar(hashkey, econtext, &isNull);
|
||||
keyval = ExecEvalExpr((Node*)hashkey, econtext, &isNull, NULL);
|
||||
|
||||
/*
|
||||
* keyval could be null, so we better point it to something
|
||||
|
Reference in New Issue
Block a user