summaryrefslogtreecommitdiff
path: root/innobase/include/ut0byte.h
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-10-18 16:00:57 +0300
committerunknown <marko@hundin.mysql.fi>2004-10-18 16:00:57 +0300
commite49389334ccdaf23a56a52064741d606f0c2db27 (patch)
tree7f0a2ed2f29ff30384cab06f13ca9dceae6c7373 /innobase/include/ut0byte.h
parent2310f00af2bedf78a98836ab953f7dfc71654d3d (diff)
downloadmariadb-git-e49389334ccdaf23a56a52064741d606f0c2db27.tar.gz
InnoDB: Treat UTF-8 strings properly in case insensitive operations
innobase/dict/dict0dict.c: Use innobase_strcasecmp() and innobase_casedn_str() instead of ut_cmp_in_lower_case() and ut_cpy_in_lower_case() innobase/include/ut0byte.h: Remove ut_cpy_in_lower_case() and ut_cmp_in_lower_case() innobase/ut/ut0byte.c: Remove ut_cpy_in_lower_case() and ut_cmp_in_lower_case() sql/ha_innodb.cc: Add innobase_strcasecmp() and innobase_casedn_str() Replace tolower() loop with innobase_casedn_str() Replace my_casedn_str() with innobase_casedn_str() Replace ut_cmp_in_lower_case() with innobase_strcasecmp()
Diffstat (limited to 'innobase/include/ut0byte.h')
-rw-r--r--innobase/include/ut0byte.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/innobase/include/ut0byte.h b/innobase/include/ut0byte.h
index fed6a23d144..a62c2e2e318 100644
--- a/innobase/include/ut0byte.h
+++ b/innobase/include/ut0byte.h
@@ -229,25 +229,6 @@ ut_bit_set_nth(
ulint a, /* in: ulint */
ulint n, /* in: nth bit requested */
ibool val); /* in: value for the bit to set */
-/****************************************************************
-Copies a string to a memory location, setting characters to lower case. */
-
-void
-ut_cpy_in_lower_case(
-/*=================*/
- char* dest, /* in: destination */
- const char* source, /* in: source */
- ulint len); /* in: string length */
-/****************************************************************
-Compares two strings when converted to lower case. */
-
-int
-ut_cmp_in_lower_case(
-/*=================*/
- /* out: -1, 0, 1 if str1 < str2, str1 == str2,
- str1 > str2, respectively */
- const char* str1, /* in: string1 */
- const char* str2); /* in: string2 */
#ifndef UNIV_NONINL
#include "ut0byte.ic"