~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/dynamic_array.cc

  • Committer: Monty Taylor
  • Date: 2009-10-13 06:22:10 UTC
  • mfrom: (1182 staging)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091013062210-iwnwwcdamjdvlx1m
Merged up with build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
using namespace std;
24
24
 
 
25
static bool allocate_dynamic(DYNAMIC_ARRAY *array, uint32_t max_elements);
 
26
 
25
27
/*
26
28
  Initiate dynamic array
27
29
 
221
223
    true        Allocation of new memory failed
222
224
*/
223
225
 
224
 
bool allocate_dynamic(DYNAMIC_ARRAY *array, uint32_t max_elements)
 
226
static bool allocate_dynamic(DYNAMIC_ARRAY *array, uint32_t max_elements)
225
227
{
226
228
  if (max_elements >= array->max_element)
227
229
  {