~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_tree.h

  • Committer: Monty Taylor
  • Date: 2009-12-22 09:18:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1253.
  • Revision ID: mordred@inaugust.com-20091222091835-6tqoqc8i7qb6gc2u
Added a header for qsort_cmp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef MYSYS_MY_TREE_H
17
17
#define MYSYS_MY_TREE_H
18
18
 
19
 
#ifdef  __cplusplus
20
 
extern "C" {
21
 
#endif
22
 
 
23
19
#include <drizzled/base.h>              /* get 'enum ha_rkey_function' */
24
20
#include <mysys/my_sys.h>
 
21
#include "drizzled/qsort_cmp.h"
 
22
 
 
23
#ifdef  __cplusplus
 
24
extern "C" {
 
25
#endif
25
26
 
26
27
/* Worst case tree is half full. This gives use 2^(MAX_TREE_HEIGHT/2) leafs */
27
28
#define MAX_TREE_HEIGHT 64