8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab6b8b commit 3c5985bCopy full SHA for 3c5985b
src/backend/executor/nodeHash.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.110 2007/01/30 01:33:36 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.111 2007/02/22 22:49:27 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -731,7 +731,10 @@ ExecHashGetHashValue(HashJoinTable hashtable,
731
if (isNull)
732
{
733
if (hashtable->hashStrict[i] && !keep_nulls)
734
- return false; /* cannot match */
+ {
735
+ MemoryContextSwitchTo(oldContext);
736
+ return false; /* cannot match */
737
+ }
738
/* else, leave hashkey unmodified, equivalent to hashcode 0 */
739
}
740
else
0 commit comments