summaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-02-03 21:18:02 +0000
committerBruce Momjian <bruce@momjian.us>1999-02-03 21:18:02 +0000
commit9322950aa44ef3647ccdd043cffe92cead171587 (patch)
treeca69b5d9a1278312e21f9e68ce4ac1e236212495 /src/backend/utils/cache/syscache.c
parent3982368a4e2ae08659c1bd7536c91ec9c08a6139 (diff)
Cleanup of source files where 'return' or 'var =' is alone on a line.
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r--src/backend/utils/cache/syscache.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index 25b3e0a4309..fe4e4c59c88 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.22 1998/09/01 04:33:03 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.23 1999/02/03 21:17:35 momjian Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@@ -420,8 +420,7 @@ InitCatalogCache()
Assert(!PointerIsValid((Pointer) SysCache[cacheId]));
- SysCache[cacheId] =
- InitSysCache(cacheinfo[cacheId].name,
+ SysCache[cacheId] = InitSysCache(cacheinfo[cacheId].name,
cacheinfo[cacheId].indname,
cacheId,
cacheinfo[cacheId].nkeys,
@@ -492,8 +491,7 @@ SearchSysCacheTuple(int cacheId,/* cache selection code */
if (!PointerIsValid(SysCache[cacheId]))
{
- SysCache[cacheId] =
- InitSysCache(cacheinfo[cacheId].name,
+ SysCache[cacheId] = InitSysCache(cacheinfo[cacheId].name,
cacheinfo[cacheId].indname,
cacheId,
cacheinfo[cacheId].nkeys,
@@ -604,10 +602,8 @@ SearchSysCacheGetAttribute(int cacheId,
else if (attributeNumber > 0 &&
attributeNumber <= relation->rd_rel->relnatts)
{
- attributeLength =
- relation->rd_att->attrs[attributeNumber - 1]->attlen;
- attributeByValue =
- relation->rd_att->attrs[attributeNumber - 1]->attbyval;
+ attributeLength = relation->rd_att->attrs[attributeNumber - 1]->attlen;
+ attributeByValue = relation->rd_att->attrs[attributeNumber - 1]->attbyval;
}
else
{