mirror of
https://github.com/MariaDB/server.git
synced 2025-04-13 02:35:32 +02:00

row_drop_table_for_mysql(): If a #sql2 table is open in another thread (purge) while we attempting to drop it, rename it to #sql-ib name to hide it from the SQL layer. Adjust tests accordingly to hide #sql-ib tables, which can continue to exist until the background DROP TABLE completes.
20 lines
635 B
PHP
20 lines
635 B
PHP
--echo === information_schema.innodb_sys_tables and innodb_sys_tablespaces ===
|
|
--disable_query_log
|
|
--replace_result #P# #p# #SP# #sp#
|
|
--replace_regex /FTS_([0-9a-f_]+)([A-Z0-9_]+)/FTS_AUX_\2/
|
|
|
|
SELECT t.name 'Table Name',
|
|
s.name 'Tablespace',
|
|
t.flag 'Table Flags',
|
|
t.n_cols 'Columns',
|
|
t.row_format 'Row Format',
|
|
t.zip_page_size 'Zip Size'
|
|
FROM information_schema.innodb_sys_tables t LEFT JOIN
|
|
information_schema.innodb_sys_tablespaces s
|
|
ON t.space = s.space
|
|
WHERE t.name not like 'SYS_%'
|
|
AND t.name NOT LIKE 'mysql/%'
|
|
AND t.name NOT LIKE 'sys/%'
|
|
AND t.name NOT LIKE '%/#sql-ib%'
|
|
ORDER BY t.name;
|
|
--enable_query_log
|