mariadb/mysql-test/suite/sysschema/t/v_schema_unused_indexes.test
2021-03-18 08:02:48 +01:00

13 lines
367 B
Text

-- source include/not_embedded.inc
-- source ../include/ps_truncate_all_tables.inc
# Tests for sys schema
# Verify the sys.schema_unused_indexes view
# Ensure structure changes don't slip in
DESC sys.schema_unused_indexes;
# Make sure view select does not error, but ignore results
--disable_result_log
SELECT * FROM sys.schema_unused_indexes;
--enable_result_log