~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_create.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
 
243
243
err:
244
244
  if (share && share->keydef)
245
 
    delete [] share->keydef->seg;
 
245
    delete[] share->keydef->seg;
246
246
  if (share)
247
 
    delete [] share->keydef;
 
247
    delete[] share->keydef;
248
248
  delete share;
249
249
  if (not create_info->internal_table)
250
250
    THR_LOCK_heap.unlock();
317
317
  heap_share_list.remove(share);        /* If not internal table */
318
318
  hp_clear(share);                      /* Remove blocks from memory */
319
319
  if (share->keydef)
320
 
    delete [] share->keydef->seg;
321
 
  delete [] share->keydef;
 
320
    delete[] share->keydef->seg;
 
321
  delete[] share->keydef;
322
322
  delete share;
323
323
}