~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/dynamic_array.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

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
  {