projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368739d
)
Trivial code clarity improvement to UpdateStats(); no functional change.
author
Neil Conway
<neilc@samurai.com>
Mon, 20 Jun 2005 02:07:47 +0000
(
02:07
+0000)
committer
Neil Conway
<neilc@samurai.com>
Mon, 20 Jun 2005 02:07:47 +0000
(
02:07
+0000)
src/backend/catalog/index.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/index.c
b/src/backend/catalog/index.c
index ee4f8c6800ac59bacc7b03d07037b01072688d9d..b7ad416c2b3c61e573158c4a3633b4b05fd7ef78 100644
(file)
--- a/
src/backend/catalog/index.c
+++ b/
src/backend/catalog/index.c
@@
-8,7
+8,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.25
6 2005/05/19 21:35:45 tgl
Exp $
+ * $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.25
7 2005/06/20 02:07:47 neilc
Exp $
*
*
* INTERFACE ROUTINES
@@
-1293,10
+1293,10
@@
UpdateStats(Oid relid, double reltuples)
}
}
- if (!pg_class_scan)
- heap_freetuple(tuple);
- else
+ if (in_place_upd)
heap_endscan(pg_class_scan);
+ else
+ heap_freetuple(tuple);
/*
* We shouldn't have to do this, but we do... Modify the reldesc in