summaryrefslogtreecommitdiff
path: root/myisam/myisamdef.h
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2005-10-27 23:43:20 +0300
committerjani@ua141d10.elisa.omakaista.fi <>2005-10-27 23:43:20 +0300
commitcbe21a8eb6c53ed4eb7f6228a322d642abacde95 (patch)
treeff71298ae3c57caff8ca7c70666d60292290e366 /myisam/myisamdef.h
parent2025b35544f2a43322a9fd3574d19469383009c2 (diff)
parenta57c08d46815c13c09e713a3ea05076c19001a0e (diff)
downloadmariadb-git-cbe21a8eb6c53ed4eb7f6228a322d642abacde95.tar.gz
Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
Diffstat (limited to 'myisam/myisamdef.h')
-rw-r--r--myisam/myisamdef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/myisam/myisamdef.h b/myisam/myisamdef.h
index 36328c9d9f1..6ccb52aff22 100644
--- a/myisam/myisamdef.h
+++ b/myisam/myisamdef.h
@@ -298,7 +298,14 @@ typedef struct st_mi_sort_param
pthread_t thr;
IO_CACHE read_cache, tempfile, tempfile_for_exceptions;
DYNAMIC_ARRAY buffpek;
+
+ /*
+ The next two are used to collect statistics, see update_key_parts for
+ description.
+ */
ulonglong unique[MI_MAX_KEY_SEG+1];
+ ulonglong notnull[MI_MAX_KEY_SEG+1];
+
my_off_t pos,max_pos,filepos,start_recpos;
uint key, key_length,real_key_length,sortbuff_size;
uint maxbuffers, keys, find_length, sort_keys_length;