mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
7305be2f7e
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. |
||
---|---|---|
.. | ||
aria.result | ||
aria.test | ||
disconnect_4480.result | ||
disconnect_4480.test | ||
handler.inc | ||
heap.result | ||
heap.test | ||
init.inc | ||
innodb.result | ||
innodb.test | ||
interface.result | ||
interface.test | ||
myisam.result | ||
myisam.test |