~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mf_keycache.c

  • Committer: Monty Taylor
  • Date: 2008-10-06 01:30:47 UTC
  • Revision ID: monty@inaugust.com-20081006013047-6m2ejc0c4peye2k9
Removed my_free(). It turns out that it had been def'd to ignore the flags passed to it in the second arg anyway. Gotta love that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
  }
409
409
  if (keycache->block_root)
410
410
  {
411
 
    my_free((uchar*) keycache->block_root, MYF(0));
 
411
    free((uchar*) keycache->block_root);
412
412
    keycache->block_root= NULL;
413
413
  }
414
414
  my_errno= error;
618
618
    {
619
619
      free(keycache->block_mem);
620
620
      keycache->block_mem= NULL;
621
 
      my_free((uchar*) keycache->block_root, MYF(0));
 
621
      free((uchar*) keycache->block_root);
622
622
      keycache->block_root= NULL;
623
623
    }
624
624
    keycache->disk_blocks= -1;
3573
3573
 
3574
3574
err:
3575
3575
  if (cache != cache_buff)
3576
 
    my_free((uchar*) cache, MYF(0));
 
3576
    free((uchar*) cache);
3577
3577
  if (last_errno)
3578
3578
    errno=last_errno;                /* Return first error */
3579
3579
  return(last_errno != 0);