~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/memory/multi_malloc.cc

  • Committer: Brian Aker
  • Date: 2010-10-15 03:36:56 UTC
  • mfrom: (1843.7.6 refactor)
  • Revision ID: brian@tangent.org-20101015033656-9u3aptcc6ipoc1vj
This removes two of our dead plugins (the bad schedulers).
Also this fixes help messages to say "schema" instead of "database"
everywhere..

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  }
62
62
  va_end(args);
63
63
 
64
 
#ifdef HAVE_VALGRIND
65
 
  if (!(start= calloc(0, tot_length)))
66
 
    return(0);
67
 
#else
68
64
  if (!(start= malloc(tot_length)))
69
65
    return(0);
70
66
  if (zerofill)
71
67
    memset(start, 0, tot_length);
72
 
#endif
73
68
 
74
69
  va_start(args, zerofill);
75
70
  res= static_cast<char *>(start);