aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexscan.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-03-12 21:00:17 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-03-12 21:00:17 +0000
commitb66569e41fdecab3903fd8af6cbc8bb12ae653cd (patch)
treec5b8126c45e6779c5e14f7efa0bfb93652c135d4 /src/backend/executor/nodeIndexscan.c
parent127826978a2c5ea25b20d7f06687609669323ab1 (diff)
downloadpostgresql-b66569e41fdecab3903fd8af6cbc8bb12ae653cd.tar.gz
postgresql-b66569e41fdecab3903fd8af6cbc8bb12ae653cd.zip
From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] linux/alpha patches These patches lay the groundwork for a Linux/Alpha port. The port doesn't actually work unless you tweak the linker to put all the pointers in the first 32 bits of the address space, but it's at least a start. It implements the test-and-set instruction in Alpha assembly, and also fixes a lot of pointer-to-integer conversions, which is probably good anyway.
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
-rw-r--r--src/backend/executor/nodeIndexscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeIndexscan.c b/src/backend/executor/nodeIndexscan.c
index 0055cf9f1d5..bc0c4c3d288 100644
--- a/src/backend/executor/nodeIndexscan.c
+++ b/src/backend/executor/nodeIndexscan.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.6 1997/01/22 05:26:50 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.7 1997/03/12 20:58:26 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -905,7 +905,7 @@ ExecInitIndexScan(IndexScan *node, EState *estate, Plan *parent)
for (i=0; i < numIndices; i++) {
Oid indexOid;
- indexOid = (Oid)nth(i, indxid);
+ indexOid = (Oid)nthi(i, indxid);
if (indexOid != 0) {
ExecOpenScanR(indexOid, /* relation */