[MDEV-21468] Implement status variable to track open temporary tables Created: 2020-01-13 Updated: 2020-01-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary, Variables |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Ralf Gebhardt |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The Open_tables status variable does not take temporary tables into account. For example:
I think that we should have a status variable that tracks the number of open temporary tables--both globally and for a given session. Maybe it could be called Open_temporary_tables. Would it also make sense to create Opened_temporary_tables to keep track of all previously opened temporary tables, similar to Opened_tables? Or does Com_create_temporary_table effectively serve the same purpose? |