mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-4441 DROP DATABASE with a newly created ARCHIVE table does not work
1. DROP DATABASE should use ha_discover_table_names(), not look at .frm files. 2. filename_to_tablename() also encodes temp file names #sql- -> #mysql50##sql 3. no special treatment for #sql- files, no TABLE_LIST::internal_tmp_table 4. discover also table file names, that start from #
This commit is contained in:
@ -1983,7 +1983,6 @@ struct TABLE_LIST
|
||||
/* For transactional locking. */
|
||||
int lock_timeout; /* NOWAIT or WAIT [X] */
|
||||
bool lock_transactional; /* If transactional lock requested. */
|
||||
bool internal_tmp_table;
|
||||
/** TRUE if an alias for this table was specified in the SQL. */
|
||||
bool is_alias;
|
||||
/** TRUE if the table is referred to in the statement using a fully
|
||||
|
Reference in New Issue
Block a user