summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-11-17 18:04:36 +0100
committerunknown <serg@serg.mylan>2004-11-17 18:04:36 +0100
commit4f6413094c069cb78aee0c9b1b7d77b34eb3ae5d (patch)
tree35f1caf73d4e61d1cb7338841a38299682005317 /sql/structs.h
parent7f5be1b65460bea40661bbeefe209831b528c67d (diff)
parent6ce9ed784e5507073a33b8c4771fba16f29f840f (diff)
downloadmariadb-git-4f6413094c069cb78aee0c9b1b7d77b34eb3ae5d.tar.gz
merged
client/Makefile.am: Auto merged mysql-test/r/ctype_ucs.result: Auto merged mysql-test/r/fulltext.result: Auto merged mysql-test/r/heap.result: Auto merged mysql-test/r/heap_hash.result: Auto merged mysql-test/r/select.result: Auto merged mysql-test/t/select.test: Auto merged mysql-test/t/user_var.test: Auto merged ndb/src/mgmsrv/main.cpp: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item_func.cc: Auto merged sql/slave.cc: Auto merged sql/slave.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/structs.h: Auto merged
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/structs.h b/sql/structs.h
index cc053e2e2fd..4f0044e4f82 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -89,7 +89,12 @@ typedef struct st_key {
enum ha_key_alg algorithm;
KEY_PART_INFO *key_part;
char *name; /* Name of key */
- ulong *rec_per_key; /* Key part distribution */
+ /*
+ Array of AVG(#records with the same field value) for 1st ... Nth key part.
+ 0 means 'not known'.
+ For temporary heap tables this member is NULL.
+ */
+ ulong *rec_per_key;
union {
int bdb_return_if_eq;
} handler;