mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Remove no-longer-used fields in Hash and HashJoin nodes.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.62 1999/05/17 17:03:14 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.63 1999/05/18 21:34:29 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Most of the read functions for plan nodes are tested. (In fact, they
|
||||
@ -454,18 +454,6 @@ _readHashJoin()
|
||||
token = lsptok(NULL, &length); /* get hashjoinop */
|
||||
local_node->hashjoinop = strtoul(token, NULL, 10);
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashjointable */
|
||||
token = lsptok(NULL, &length); /* eat hashjointable */
|
||||
local_node->hashjointable = NULL;
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashjointablekey */
|
||||
token = lsptok(NULL, &length); /* eat hashjointablekey */
|
||||
local_node->hashjointablekey = 0;
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashjointablesize */
|
||||
token = lsptok(NULL, &length); /* eat hashjointablesize */
|
||||
local_node->hashjointablesize = 0;
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashdone */
|
||||
token = lsptok(NULL, &length); /* eat hashdone */
|
||||
local_node->hashdone = false;
|
||||
@ -680,18 +668,6 @@ _readHash()
|
||||
token = lsptok(NULL, &length); /* eat :hashkey */
|
||||
local_node->hashkey = (Var *) nodeRead(true);
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashtable */
|
||||
token = lsptok(NULL, &length); /* eat hashtable address */
|
||||
local_node->hashtable = NULL;
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashtablekey */
|
||||
token = lsptok(NULL, &length); /* get hashtablekey */
|
||||
local_node->hashtablekey = 0;
|
||||
|
||||
token = lsptok(NULL, &length); /* eat :hashtablesize */
|
||||
token = lsptok(NULL, &length); /* get hashtablesize */
|
||||
local_node->hashtablesize = 0;
|
||||
|
||||
return local_node;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user