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

Commit7bc1fbe

Browse files
committed
Remove no-longer-used symbols.
1 parentbd52f4b commit7bc1fbe

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

‎src/include/optimizer/internal.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: internal.h,v 1.23 1999/07/25 23:07:23 tgl Exp $
9+
* $Id: internal.h,v 1.24 2000/01/11 03:59:31 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -32,9 +32,6 @@
3232
#define_CPU_PAGE_WEIGHT_ 0.033/* CPU-heap-to-page cost weighting factor */
3333
#define_CPU_INDEX_PAGE_WEIGHT_ 0.017/* CPU-index-to-page cost
3434
* weighting factor */
35-
#define_MAX_KEYS_ INDEX_MAX_KEYS/* maximum number of keys in an
36-
* index */
37-
#define_TID_SIZE_ 6/* sizeof(itemid) (from ../h/itemid.h) */
3835

3936
/*
4037
*Size estimates
@@ -50,9 +47,9 @@
5047
#define_NONAME_RELATION_PAGES_1
5148
#define_NONAME_RELATION_TUPLES_10
5249

53-
/* The length of a variable-length field in bytes
50+
/* The length of a variable-length field in bytes (stupid estimate...)
5451
*/
55-
#define_DEFAULT_ATTRIBUTE_WIDTH_(2 * _TID_SIZE_)
52+
#define_DEFAULT_ATTRIBUTE_WIDTH_12
5653

5754
/*
5855
*Flags and identifiers
@@ -63,9 +60,6 @@
6360
/* used to be -1 */
6461
#define_NONAME_RELATION_ID_ InvalidOid
6562

66-
/* #define deactivate_joininfo(joininfo)joininfo->inactive=true*/
67-
/*#define joininfo_inactive(joininfo)joininfo->inactive */
68-
6963
/* GEQO switch according to number of relations in a query */
7064
#defineGEQO_RELS 11
7165

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp