~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/ut/ut0byte.c

  • Committer: Monty Taylor
  • Date: 2009-04-14 19:16:51 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 994.
  • Revision ID: mordred@inaugust.com-20090414191651-ltbww6hpqks8k7qk
Clarified instructions in README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
*****************************************************************************/
18
18
 
19
 
/***************************************************************//**
20
 
@file ut/ut0byte.c
 
19
/*******************************************************************
21
20
Byte utilities
22
21
 
23
22
Created 5/11/1994 Heikki Tuuri
29
28
#include "ut0byte.ic"
30
29
#endif
31
30
 
32
 
/** Zero value for a dulint */
 
31
/* Zero value for a dulint */
33
32
UNIV_INTERN const dulint        ut_dulint_zero  = {0, 0};
34
33
 
35
 
/** Maximum value for a dulint */
 
34
/* Maximum value for a dulint */
36
35
UNIV_INTERN const dulint        ut_dulint_max   = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
37
36
 
38
37
#ifdef notdefined /* unused code */
39
38
#include "ut0sort.h"
40
39
 
41
 
/************************************************************//**
 
40
/****************************************************************
42
41
Sort function for dulint arrays. */
43
42
UNIV_INTERN
44
43
void
45
 
ut_dulint_sort(
46
 
/*===========*/
47
 
        dulint* arr,    /*!< in/out: array to be sorted */
48
 
        dulint* aux_arr,/*!< in/out: auxiliary array (same size as arr) */
49
 
        ulint   low,    /*!< in: low bound of sort interval, inclusive */
50
 
        ulint   high)   /*!< in: high bound of sort interval, noninclusive */
 
44
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high)
 
45
/*===============================================================*/
51
46
{
52
47
        UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
53
48
                              ut_dulint_cmp);