diff options
author | sergefp@mysql.com <> | 2005-10-21 06:29:17 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-10-21 06:29:17 +0400 |
commit | 15a78334c32782327580933668f8dbeafb4ee2e3 (patch) | |
tree | 2ec77c30e97d8e7c0b2634973992317e30dffe08 /myisam/myisamdef.h | |
parent | da625424e05dcb648b6e3e60934677f42697209b (diff) | |
download | mariadb-git-15a78334c32782327580933668f8dbeafb4ee2e3.tar.gz |
BUG#9622, stage 2, work together with fix for BUG#12232:
added "nulls_ignored" index statistics collection method for MyISAM tables.
(notification trigger: this is about BUG#9622).
Diffstat (limited to 'myisam/myisamdef.h')
-rw-r--r-- | myisam/myisamdef.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/myisam/myisamdef.h b/myisam/myisamdef.h index 93a7bf96f59..a766d59d72a 100644 --- a/myisam/myisamdef.h +++ b/myisam/myisamdef.h @@ -297,7 +297,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; |