~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to plugin/innobase/ibuf/ibuf0ibuf.c

  • Committer: Brian Aker
  • Date: 2010-10-10 02:07:52 UTC
  • mfrom: (1827.2.3 staging)
  • Revision ID: brian@tangent.org-20101010020752-ktv73isay5dxtvp3
Merge in switch on table_share_instance inheritance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
390
390
#endif
391
391
 
392
392
/******************************************************************//**
393
 
Closes insert buffer and frees the data structures. */
394
 
UNIV_INTERN
395
 
void
396
 
ibuf_close(void)
397
 
/*============*/
398
 
{
399
 
        mutex_free(&ibuf_pessimistic_insert_mutex);
400
 
        memset(&ibuf_pessimistic_insert_mutex,
401
 
               0x0, sizeof(ibuf_pessimistic_insert_mutex));
402
 
 
403
 
        mutex_free(&ibuf_mutex);
404
 
        memset(&ibuf_mutex, 0x0, sizeof(ibuf_mutex));
405
 
 
406
 
        mutex_free(&ibuf_bitmap_mutex);
407
 
        memset(&ibuf_bitmap_mutex, 0x0, sizeof(ibuf_mutex));
408
 
 
409
 
        mem_free(ibuf);
410
 
        ibuf = NULL;
411
 
}
412
 
 
413
 
/******************************************************************//**
414
393
Updates the size information of the ibuf, assuming the segment size has not
415
394
changed. */
416
395
static