mariadb/libmysqld
Nirbhay Choubey 7305be2f7e MDEV-5535: Cannot reopen temporary table
mysqld maintains a list of TABLE objects for all temporary
tables created within a session in THD. Here each table is
represented by a TABLE object.

A query referencing a particular temporary table for more
than once, however, failed with ER_CANT_REOPEN_TABLE error
because a TABLE_SHARE was allocate together with the TABLE,
so temporary tables always had only one TABLE per TABLE_SHARE.

This patch lift this restriction by separating TABLE and
TABLE_SHARE objects and storing TABLE_SHAREs for temporary
tables in a list in THD, and TABLEs in a list within their
respective TABLE_SHAREs.
2016-06-10 18:39:43 -04:00
..
examples Bug#17633291: SET PROPER COMPILE OPTIONS FOR CLANG 2014-10-13 09:52:28 +02:00
CMakeLists.txt MDEV-5535: Cannot reopen temporary table 2016-06-10 18:39:43 -04:00
emb_qcache.cc MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
emb_qcache.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
embedded_priv.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
lib_sql.cc cleanup: thread_count 2016-06-04 09:06:00 +02:00
libmysqld.c Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
libmysqld.def merge with 5.3 2011-10-19 21:45:18 +02:00
libmysqld.rc
resource.h