mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Fix misspelling.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* Routines for handling of 'SET var TO',
|
||||
* 'SHOW var' and 'RESET var' statements.
|
||||
*
|
||||
* $Id: variable.c,v 1.21 1999/06/17 15:15:48 momjian Exp $
|
||||
* $Id: variable.c,v 1.22 1999/07/07 09:11:13 momjian Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -42,7 +42,7 @@ static bool show_XactIsoLevel(void);
|
||||
static bool reset_XactIsoLevel(void);
|
||||
static bool parse_XactIsoLevel(const char *);
|
||||
|
||||
extern Cost _cpu_page_wight_;
|
||||
extern Cost _cpu_page_weight_;
|
||||
extern Cost _cpu_index_page_wight_;
|
||||
extern bool _use_geqo_;
|
||||
extern int32 _use_geqo_rels_;
|
||||
@ -246,7 +246,7 @@ parse_cost_heap(const char *value)
|
||||
}
|
||||
|
||||
res = float4in((char *) value);
|
||||
_cpu_page_wight_ = *res;
|
||||
_cpu_page_weight_ = *res;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@ -255,14 +255,14 @@ static bool
|
||||
show_cost_heap()
|
||||
{
|
||||
|
||||
elog(NOTICE, "COST_HEAP is %f", _cpu_page_wight_);
|
||||
elog(NOTICE, "COST_HEAP is %f", _cpu_page_weight_);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static bool
|
||||
reset_cost_heap()
|
||||
{
|
||||
_cpu_page_wight_ = _CPU_PAGE_WEIGHT_;
|
||||
_cpu_page_weight_ = _CPU_PAGE_WEIGHT_;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user