mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
e49389334c
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()
31 lines
793 B
C
31 lines
793 B
C
/*******************************************************************
|
|
Byte utilities
|
|
|
|
(c) 1994, 1995 Innobase Oy
|
|
|
|
Created 5/11/1994 Heikki Tuuri
|
|
********************************************************************/
|
|
|
|
#include "ut0byte.h"
|
|
|
|
#ifdef UNIV_NONINL
|
|
#include "ut0byte.ic"
|
|
#endif
|
|
|
|
#include "ut0sort.h"
|
|
|
|
/* Zero value for a dulint */
|
|
dulint ut_dulint_zero = {0, 0};
|
|
|
|
/* Maximum value for a dulint */
|
|
dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
|
|
|
|
/****************************************************************
|
|
Sort function for dulint arrays. */
|
|
void
|
|
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high)
|
|
/*===============================================================*/
|
|
{
|
|
UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
|
|
ut_dulint_cmp);
|
|
}
|