~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_sort.h

  • Committer: Monty Taylor
  • Date: 2009-12-22 09:42:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1253.
  • Revision ID: mordred@inaugust.com-20091222094205-0tgdtn3zxn2t5xz5
Removed some more evil.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_SQL_SORT_H
21
21
#define DRIZZLED_SQL_SORT_H
22
22
 
 
23
#include <unistd.h>
 
24
 
23
25
#include "drizzled/base.h"
24
26
#include "drizzled/qsort_cmp.h"
25
27
 
62
64
  off_t file_pos;                       /* Where we are in the sort file */
63
65
  unsigned char *base,*key;                     /* key pointers */
64
66
  ha_rows count;                        /* Number of rows in table */
65
 
  ulong mem_count;                      /* numbers of keys in memory */
66
 
  ulong max_keys;                       /* Max keys in buffert */
 
67
  size_t mem_count;                     /* numbers of keys in memory */
 
68
  size_t max_keys;                      /* Max keys in buffert */
67
69
} BUFFPEK;
68
70
 
69
71
struct BUFFPEK_COMPARE_CONTEXT