~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/dynamic_array.cc

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Handling of arrays that can grow dynamicly. */
17
17
 
18
 
#include "drizzled/internal/mysys_priv.h"
 
18
#include "config.h"
 
19
#include "drizzled/internal/my_sys.h"
19
20
#include "drizzled/internal/m_string.h"
20
21
 
21
22
#include <algorithm>
22
23
 
23
24
using namespace std;
24
25
 
 
26
namespace drizzled
 
27
{
 
28
 
25
29
static bool allocate_dynamic(DYNAMIC_ARRAY *array, uint32_t max_elements);
26
30
 
27
31
/*
301
305
    array->elements=array->max_element=0;
302
306
  }
303
307
}
 
308
 
 
309
} /* namespace drizzled */