~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/my_tree.cc

  • Committer: Monty Taylor
  • Date: 2009-12-25 08:08:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1255.
  • Revision ID: mordred@inaugust.com-20091225080825-r7qmhm2mswl0c4li
We have init_sql_alloc and init_alloc_root - and I can't tell the difference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
  }
126
126
  if (! (tree->with_delete= with_delete))
127
127
  {
128
 
    init_alloc_root(&tree->mem_root, default_alloc_size, 0);
 
128
    init_alloc_root(&tree->mem_root, default_alloc_size);
129
129
    tree->mem_root.min_malloc= (sizeof(TREE_ELEMENT)+tree->size_of_element);
130
130
  }
131
131
}