~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1994, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (C) 1994, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
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 */