~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-12-09 06:02:39 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20101209060239-t0ujftvcvd558yno
Tags: upstream-2010.12.05
ImportĀ upstreamĀ versionĀ 2010.12.05

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#ifdef UNIV_NONINL
29
29
#include "ut0byte.ic"
30
30
#endif
31
 
 
32
 
/** Zero value for a dulint */
33
 
UNIV_INTERN const dulint        ut_dulint_zero  = {0, 0};
34
 
 
35
 
/** Maximum value for a dulint */
36
 
UNIV_INTERN const dulint        ut_dulint_max   = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
37
 
 
38
 
#ifdef notdefined /* unused code */
39
 
#include "ut0sort.h"
40
 
 
41
 
/************************************************************//**
42
 
Sort function for dulint arrays. */
43
 
UNIV_INTERN
44
 
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 */
51
 
{
52
 
        UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
53
 
                              ut_dulint_cmp);
54
 
}
55
 
#endif /* notdefined */