~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-11-07 19:34:48 UTC
  • mfrom: (1910.1.2 build)
  • Revision ID: kalebral@gmail.com-20101107193448-64kdu912qej354sh
Merge Stewart - including adapting and expanding the "differences from mysql" page from the wiki.
Merge Stewart - fix bug 668143: drizzleslap with --commit runs second iteration data load in a transaction

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 */