~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Monty Taylor
  • Date: 2008-12-04 19:56:07 UTC
  • mto: This revision was merged to the branch mainline in revision 649.
  • Revision ID: monty@inaugust.com-20081204195607-kktr72mx41kei6wz
Removed my_malloc from drizzled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2951
2951
{
2952
2952
  KEY_CACHE *key_cache;
2953
2953
  
2954
 
  if ((key_cache= (KEY_CACHE*) my_malloc(sizeof(KEY_CACHE),
2955
 
                                             MYF(MY_ZEROFILL | MY_WME))))
 
2954
  if ((key_cache= (KEY_CACHE*) malloc(sizeof(KEY_CACHE))))
2956
2955
  {
 
2956
    memset(key_cache, 0, sizeof(KEY_CACHE));
2957
2957
    if (!new NAMED_LIST(&key_caches, name, length, (unsigned char*) key_cache))
2958
2958
    {
2959
2959
      free((char*) key_cache);