diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-05-23 17:45:52 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-05-23 17:45:52 +0500 |
commit | 5aae66c1017aaef0efc0080c095436f954288bd6 (patch) | |
tree | 40660f305f13b43f69d092c4719cebfaaf120a40 /heap/hp_hash.c | |
parent | f461dea4d7066c6dfe14b33cc549f7e0183f6b8e (diff) | |
download | mariadb-git-5aae66c1017aaef0efc0080c095436f954288bd6.tar.gz |
CHARSET_INFO structure reorganization for easier maintainance
Diffstat (limited to 'heap/hp_hash.c')
-rw-r--r-- | heap/hp_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heap/hp_hash.c b/heap/hp_hash.c index e315c1bbcb8..2a946dcd7b9 100644 --- a/heap/hp_hash.c +++ b/heap/hp_hash.c @@ -215,7 +215,7 @@ ulong hp_hashnr(register HP_KEYDEF *keydef, register const byte *key) } if (seg->type == HA_KEYTYPE_TEXT) { - seg->charset->hash_sort(seg->charset,pos,((uchar*)key)-pos,&nr,&nr2); + seg->charset->coll->hash_sort(seg->charset,pos,((uchar*)key)-pos,&nr,&nr2); } else { @@ -250,7 +250,7 @@ ulong hp_rec_hashnr(register HP_KEYDEF *keydef, register const byte *rec) } if (seg->type == HA_KEYTYPE_TEXT) { - seg->charset->hash_sort(seg->charset,pos,end-pos,&nr,&nr2); + seg->charset->coll->hash_sort(seg->charset,pos,end-pos,&nr,&nr2); } else { |