diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-09-15 11:00:35 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-09-15 11:00:35 -0600 |
commit | ff1216a5a9c453b5c131f08687a99105dc1a391a (patch) | |
tree | 993dd4ef4b73bf6fb7507f208aa766bc528400e9 /sql/mysql_priv.h | |
parent | 965a0b81783877e961c56263ef1481789d61c883 (diff) | |
parent | e0c72def5308aaa8138b3b12de82cc48147f9adb (diff) | |
download | mariadb-git-ff1216a5a9c453b5c131f08687a99105dc1a391a.tar.gz |
merge of conflicts
sql/ha_myisam.h:
Auto merged
sql/handler.h:
Auto merged
sql/lex.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r-- | sql/mysql_priv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index 258e0c98317..25bc6430bfe 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -78,7 +78,11 @@ void sql_element_free(void *ptr); // The following is used to decide if MySQL should use table scanning // instead of reading with keys. The number says how many evaluation of the // WHERE clause is comparable to reading one extra row from a table. -#define TIME_FOR_COMPARE 5 // 5 compares == one read +#define TIME_FOR_COMPARE 5 // 5 compares == one read +// Number of rows in a reference table when refereed through a not unique key. +// This value is only used when we don't know anything about the key +// distribution. +#define MATCHING_ROWS_IN_OTHER_TABLE 10 /* Don't pack string keys shorter than this (if PACK_KEYS=1 isn't used) */ #define KEY_DEFAULT_PACK_LENGTH 8 |