summaryrefslogtreecommitdiff
path: root/innobase/include/ut0byte.h
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-04-01 16:51:34 +0300
committermarko@hundin.mysql.fi <>2004-04-01 16:51:34 +0300
commite00bf40360ce47ce718afe85cccfb28ac4c4e8ac (patch)
treefab5076a83cb8b112b16f76355f3a96a708c48ba /innobase/include/ut0byte.h
parentebc7b6ba87da09082b61b57d77c17af867ef804f (diff)
downloadmariadb-git-e00bf40360ce47ce718afe85cccfb28ac4c4e8ac.tar.gz
InnoDB cleanup: fixing buffer overflows and quoting of quotes
Diffstat (limited to 'innobase/include/ut0byte.h')
-rw-r--r--innobase/include/ut0byte.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/innobase/include/ut0byte.h b/innobase/include/ut0byte.h
index 4fb45221899..dd13b19b864 100644
--- a/innobase/include/ut0byte.h
+++ b/innobase/include/ut0byte.h
@@ -235,21 +235,19 @@ Copies a string to a memory location, setting characters to lower case. */
void
ut_cpy_in_lower_case(
/*=================*/
- char* dest, /* in: destination */
- char* source, /* in: source */
- ulint len); /* in: string length */
+ 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 */
- char* str1, /* in: string1 */
- char* str2, /* in: string2 */
- ulint len); /* in: length of both strings */
-
+ /* 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"