diff options
author | unknown <bar@bar.mysql.r18.ru> | 2002-10-09 16:33:35 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2002-10-09 16:33:35 +0500 |
commit | 1b623a4032eeeb62e42a0f9c21cfe83c02c8ed4f (patch) | |
tree | 734b6bc5368ee742e9647633fa3601ccfaaccf84 /heap | |
parent | edb8ae0f3876d88c2ea8479afdc546ec3a18ea3b (diff) | |
download | mariadb-git-1b623a4032eeeb62e42a0f9c21cfe83c02c8ed4f.tar.gz |
my_sortcmp -> my_strnncoll
BitKeeper/deleted/.del-mf_casecnv.c~c269ed3dcafea441:
Delete: mysys/mf_casecnv.c
Diffstat (limited to 'heap')
-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 0145e0d503c..b0533e9c7a4 100644 --- a/heap/hp_hash.c +++ b/heap/hp_hash.c @@ -401,7 +401,7 @@ int hp_rec_key_cmp(HP_KEYDEF *keydef, const byte *rec1, const byte *rec2) } if (seg->type == HA_KEYTYPE_TEXT) { - if (my_sortcmp(seg->charset,rec1+seg->start,rec2+seg->start,seg->length)) + if (my_strnncoll(seg->charset,rec1+seg->start,seg->length,rec2+seg->start,seg->length)) return 1; } else @@ -433,7 +433,7 @@ int hp_key_cmp(HP_KEYDEF *keydef, const byte *rec, const byte *key) } if (seg->type == HA_KEYTYPE_TEXT) { - if (my_sortcmp(seg->charset,rec+seg->start,key,seg->length)) + if (my_strnncoll(seg->charset,rec+seg->start,seg->length,key,seg->length)) return 1; } else |