diff options
author | tulin@dl145b.mysql.com <> | 2005-07-19 21:56:10 +0200 |
---|---|---|
committer | tulin@dl145b.mysql.com <> | 2005-07-19 21:56:10 +0200 |
commit | a6c21a079163d2d09163cb4084ada38f4ddac929 (patch) | |
tree | 91e9f17b6b183df5ad37be93a13365d7d0f0d7f8 /storage/myisam/myisamlog.c | |
parent | 519c5564b15cf4b88719eb0e4cb4dc5247891425 (diff) | |
parent | e3af1b6ec6ecd95b6f42192c75af08fcc7c3618a (diff) | |
download | mariadb-git-a6c21a079163d2d09163cb4084ada38f4ddac929.tar.gz |
merge
Diffstat (limited to 'storage/myisam/myisamlog.c')
-rw-r--r-- | storage/myisam/myisamlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/myisamlog.c b/storage/myisam/myisamlog.c index dc98d813266..de55b86252c 100644 --- a/storage/myisam/myisamlog.c +++ b/storage/myisam/myisamlog.c @@ -810,7 +810,7 @@ static int find_record_with_key(struct file_info *file_info, byte *record) for (key=0 ; key < info->s->base.keys ; key++) { - if ((((ulonglong) 1 << key) & info->s->state.key_map) && + if (mi_is_key_active(info->s->state.key_map, key) && info->s->keyinfo[key].flag & HA_NOSAME) { VOID(_mi_make_key(info,key,tmp_key,record,0L)); |