]> granicus.if.org Git - postgresql/commitdiff
Fix typo in change.
authorBruce Momjian <bruce@momjian.us>
Mon, 17 May 1999 00:27:45 +0000 (00:27 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 May 1999 00:27:45 +0000 (00:27 +0000)
src/backend/catalog/index.c

index 6cbb61a4d8bce1cc92eb863ecfb9c479744e4b5c..7fc6cb0464a37e8d1474a4425ccf7c2944a46228 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.73 1999/05/17 00:19:12 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.74 1999/05/17 00:27:45 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -1187,7 +1187,7 @@ index_destroy(Oid indexId)
         */
        ReleaseRelationBuffers(userindexRelation);
 
-       if (smgrunlink(userindexRelation) != SM_SUCCESS)
+       if (smgrunlink(DEFAULT_SMGR, userindexRelation) != SM_SUCCESS)
                elog(ERROR, "amdestroyr: unlink: %m");
 
        index_close(userindexRelation);