1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Fix spelling of variable name.

This commit is contained in:
Bruce Momjian
1999-07-07 09:36:45 +00:00
parent 9f7ac20e57
commit e9c977da7d
2 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.40 1999/07/07 09:27:26 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.41 1999/07/07 09:36:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -52,7 +52,7 @@ bool _enable_mergejoin_ = true;
bool _enable_hashjoin_ = true;
Cost _cpu_page_weight_ = _CPU_PAGE_WEIGHT_;
Cost _cpu_index_page_wight_ = _CPU_INDEX_PAGE_WEIGHT_;
Cost _cpu_index_page_weight_ = _CPU_INDEX_PAGE_WEIGHT_;
/*
* cost_seqscan
@@ -156,7 +156,7 @@ cost_index(Oid indexid,
temp += ceil(((double) selec) * ((double) relpages));
/* per index tuples */
temp += _cpu_index_page_wight_ * selec * indextuples;
temp += _cpu_index_page_weight_ * selec * indextuples;
/* per heap tuples */
temp += _cpu_page_weight_ * selec * reltuples;