~drizzle-trunk/drizzle/development

Viewing all changes in revision 1819.9.30.

  • Committer: Stewart Smith
  • Author(s): Vasil Dimov, Stewart Smith
  • Date: 2010-11-17 05:30:29 UTC
  • mto: (2021.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1971.
  • Revision ID: stewart@flamingspork.com-20101117053029-69eqjg7tid7zmgiw
Merge Revision revid:vasil.dimov@oracle.com-20100623071721-l8mend26quaybmwb from MySQL InnoDB

Original revid:vasil.dimov@oracle.com-20100623071721-l8mend26quaybmwb

Original Authors: Vasil Dimov <vasil.dimov@oracle.com>
Original commit message:
Merge Bug#47991 fix from mysql-5.1-innodb

  ------------------------------------------------------------
  revno: 3517
  revision-id: vasil.dimov@oracle.com-20100622163043-dc0lxy0byg74viet
  parent: marko.makela@oracle.com-20100621095148-8g73k8k68dpj080u
  committer: Vasil Dimov <vasil.dimov@oracle.com>
  branch nick: mysql-5.1-innodb
  timestamp: Tue 2010-06-22 19:30:43 +0300
  message:
    Fix Bug#47991 InnoDB Dictionary Cache memory usage increases indefinitely
    when renaming tables
    
    Allocate the table name using ut_malloc() instead of table->heap because
    the latter cannot be freed.
    
    Adjust dict_sys->size calculations all over the code.
    
    Change dict_table_t::name from const char* to char* because we need to
    ut_malloc()/ut_free() it.
    
    Reviewed by:        Inaam, Marko, Heikki (rb://384)
    Approved by:        Heikki (rb://384)
  ------------------------------------------------------------

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: