~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/memory/root.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-21 14:55:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2346.
  • Revision ID: olafvdspek@gmail.com-20110621145536-hd50tbacow514s9s
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  free= used= pre_alloc= 0;
58
58
  min_malloc= 32;
59
59
  block_size= block_size_arg - memory::ROOT_MIN_BLOCK_SIZE;
60
 
  error_handler= 0;
61
60
  block_num= 4;                 /* We shift this with >>2 */
62
61
  first_block_usage= 0;
63
62
}
64
63
 
65
 
memory::Root::~Root()
66
 
{
67
 
}
68
 
 
69
 
 
70
64
/**
71
65
 * @details
72
66
 * Function aligns and assigns new value to block size; then it tries to