diff options
author | sergefp@mysql.com <> | 2005-09-21 02:20:55 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-09-21 02:20:55 +0400 |
commit | a26e1b72801385b6de4cfa5a84dad6f9f544e347 (patch) | |
tree | 228be631b98f515cc5b9de76fce599e486857534 /include | |
parent | c2f734ce426a3669ecbbf518925d4ccc674673cf (diff) | |
parent | f9475d1d15921a8e0794715473c78dbb774093db (diff) | |
download | mariadb-git-a26e1b72801385b6de4cfa5a84dad6f9f544e347.tar.gz |
Merge mysql.com:/home/psergey/bk-trees/mysql-4.1
into mysql.com:/home/psergey/mysql-4.1-csc6030-r3
Diffstat (limited to 'include')
-rw-r--r-- | include/myisam.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/myisam.h b/include/myisam.h index 6d097770646..e276d4efdff 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -311,6 +311,20 @@ typedef struct st_sort_key_blocks /* Used when sorting */ } SORT_KEY_BLOCKS; +/* + MyISAM supports several statistics collection methods. Currently statistics + collection method is not stored in MyISAM file and has to be specified for + each table analyze/repair operation in MI_CHECK::stats_method. +*/ + +typedef enum +{ + /* Treat NULLs as inequal when collecting statistics (default for 4.1/5.0) */ + MI_STATS_METHOD_NULLS_NOT_EQUAL, + /* Treat NULLs as equal when collecting statistics (like 4.0 did) */ + MI_STATS_METHOD_NULLS_EQUAL +} enum_mi_stats_method; + typedef struct st_mi_check_param { ulonglong auto_increment_value; @@ -341,6 +355,7 @@ typedef struct st_mi_check_param void *thd; char *db_name,*table_name; char *op_name; + enum_mi_stats_method stats_method; } MI_CHECK; typedef struct st_sort_ft_buf |