Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5936d25

Browse files
committed
Remove dead variables.
Commit512c735 left a couple of variables unused except for being set.My compiler didn't whine about this, but some buildfarm members did.
1 parentf117555 commit5936d25

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎src/backend/utils/adt/selfuncs.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,13 +336,10 @@ var_eq_const(VariableStatData *vardata, Oid operator,
336336
statistic_proc_security_check(vardata,
337337
(opfuncoid=get_opcode(operator))))
338338
{
339-
Form_pg_statisticstats;
340339
AttStatsSlotsslot;
341340
boolmatch= false;
342341
inti;
343342

344-
stats= (Form_pg_statistic)GETSTRUCT(vardata->statsTuple);
345-
346343
/*
347344
* Is the constant "=" to any of the column's most common values?
348345
* (Although the given operator may not really be "=", we will assume
@@ -480,12 +477,9 @@ var_eq_non_const(VariableStatData *vardata, Oid operator,
480477
}
481478
elseif (HeapTupleIsValid(vardata->statsTuple))
482479
{
483-
Form_pg_statisticstats;
484480
doublendistinct;
485481
AttStatsSlotsslot;
486482

487-
stats= (Form_pg_statistic)GETSTRUCT(vardata->statsTuple);
488-
489483
/*
490484
* Search is for a value that we do not know a priori, but we will
491485
* assume it is not NULL. Estimate the selectivity as non-null

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp