~drizzle-developers/ubuntu/natty/drizzle/natty

« back to all changes in this revision

Viewing changes to drizzled/internal/ptr_cmp.cc

  • Committer: Monty Taylor
  • Date: 2010-03-03 19:27:30 UTC
  • mto: (1308.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 1278.
  • Revision ID: mordred@inaugust.com-20100303192730-o2o3nmp0lzhuatbe
Tags: upstream-2010.03.1317
ImportĀ upstreamĀ versionĀ 2010.03.1317

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
  The bytes are compare as unsigned chars.
20
20
  */
21
21
 
22
 
#include "drizzled/internal/mysys_priv.h"
 
22
#include "config.h"
 
23
#include "drizzled/internal/my_sys.h"
23
24
 
24
25
#include <assert.h>
25
26
 
26
27
#include "plugin/myisam/myisampack.h"
27
28
 
 
29
namespace drizzled
 
30
{
 
31
namespace internal
 
32
{
 
33
 
28
34
static int ptr_compare(size_t *compare_length, unsigned char **a, unsigned char **b);
29
35
static int ptr_compare_0(size_t *compare_length, unsigned char **a, unsigned char **b);
30
36
static int ptr_compare_1(size_t *compare_length, unsigned char **a, unsigned char **b);
193
199
 return pos;
194
200
}
195
201
 
 
202
} /* namespace internal */
 
203
} /* namespace drizzled */