~drizzle-trunk/drizzle/development

  • Committer: Stewart Smith
  • Author(s): Vasil Dimov
  • Date: 2010-11-17 05:01:55 UTC
  • mto: (2021.1.2 build)
  • Revision ID: stewart@flamingspork.com-20101117050155-yj8coqr9wa9yvhd8
Merge Revision revid:vasil.dimov@oracle.com-20100622163043-dc0lxy0byg74viet from MySQL InnoDB

Original revid:vasil.dimov@oracle.com-20100622163043-dc0lxy0byg74viet

Original Authors: Vasil Dimov <vasil.dimov@oracle.com>
Original commit 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)
Filename Latest Rev Last Changed Committer Comment Size
..
client.c 1799.2.4 14 years ago Monty Taylor Made BSD files reference root BSD file. 13.2 KB Diff Download File
pipe_query.c 1929.1.24 14 years ago Monty Taylor fix large stack usage in example/pipe_query.c exa 3.8 KB Diff Download File
proxy.c 1929.1.32 14 years ago Monty Taylor fix excessive stack usage in examples/proxy.c: exa 9.8 KB Diff Download File
server.c 1929.1.29 14 years ago Monty Taylor fix examples/server.c stack usage: examples/server 7.6 KB Diff Download File
simple.c 1929.1.27 14 years ago Monty Taylor fix large stack usage of examples/simple.c example 2.7 KB Diff Download File
simple_multi.c 1929.1.31 14 years ago Monty Taylor fix alloc in simple_multi.c from stack usage fix 2.5 KB Diff Download File
sqlite_server.c 1929.1.36 14 years ago Monty Taylor one last sqlite_server stack fix 12.8 KB Diff Download File