~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/loader.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:
396
396
  if (initialized)
397
397
    return false;
398
398
 
399
 
  init_alloc_root(&plugin_mem_root, 4096, 4096);
400
 
  init_alloc_root(&tmp_root, 4096, 4096);
 
399
  init_alloc_root(&plugin_mem_root, 4096);
 
400
  init_alloc_root(&tmp_root, 4096);
401
401
 
402
402
  if (hash_init(&bookmark_hash, &my_charset_bin, 16, 0, 0,
403
403
                  get_bookmark_hash_key, NULL, HASH_UNIQUE))
2014
2014
  MEM_ROOT mem_root;
2015
2015
  my_option *opt= NULL;
2016
2016
 
2017
 
  init_alloc_root(&mem_root, 4096, 4096);
 
2017
  init_alloc_root(&mem_root, 4096);
2018
2018
 
2019
2019
  if (initialized)
2020
2020
  {