diff options
author | monty@mashka.mysql.fi <> | 2003-01-09 02:19:14 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-01-09 02:19:14 +0200 |
commit | 3c08da957e58937ead92a7609e67d2234fe76676 (patch) | |
tree | d8a4d338b246396e32745b9fe381fc6de42d5a9d /myisam/mi_check.c | |
parent | 23c13c453982c4817831ecc36d06913518c52790 (diff) | |
download | mariadb-git-3c08da957e58937ead92a7609e67d2234fe76676.tar.gz |
Don't count NULL values in cardinalty for MyISAM tables.
Free row buffer cache after each query for MyISAM tables.
Added table join option FORCE INDEX
Fixed core dump bug when connecting with hostname that could not be resolved.
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r-- | myisam/mi_check.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 540f3c92ad3..b65e963bcb7 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -601,7 +601,8 @@ static int chk_index(MI_CHECK *param, MI_INFO *info, MI_KEYDEF *keyinfo, if (*keys != 1L) /* not first_key */ { uint diff; - _mi_key_cmp(keyinfo->seg,info->lastkey,key,USE_WHOLE_KEY,SEARCH_FIND, + _mi_key_cmp(keyinfo->seg,info->lastkey,key,USE_WHOLE_KEY, + SEARCH_FIND | SEARCH_NULL_ARE_NOT_EQUAL, &diff); param->unique_count[diff-1]++; } |