1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

my_sortcmp -> my_strnncoll

BitKeeper/deleted/.del-mf_casecnv.c~c269ed3dcafea441:
  Delete: mysys/mf_casecnv.c
This commit is contained in:
unknown
2002-10-09 16:33:35 +05:00
parent edb8ae0f38
commit 1b623a4032
11 changed files with 44 additions and 90 deletions

View File

@ -1366,9 +1366,9 @@ innobase_mysql_cmp(
case FIELD_TYPE_VAR_STRING:
// BAR TODO: Discuss with heikki.tuuri@innodb.com
// so that he sends CHARSET_INFO for the field to this function.
ret = my_sortncmp(default_charset_info,
(const char*) a, a_length,
(const char*) b, b_length);
ret = my_strnncoll(default_charset_info,
a, a_length,
b, b_length);
if (ret < 0) {
return(-1);
} else if (ret > 0) {