mariadb/mysql-test/suite/sysschema/t/v_schema_table_statistics.test

23 lines
598 B
Text
Raw Normal View History

2021-03-03 10:35:25 +01:00
-- source include/not_embedded.inc
-- source ../include/ps_truncate_all_tables.inc
# Tests for sys schema
# Verify the sys.schema_table_statistics view
# Ensure structure changes don't slip in
DESC sys.schema_table_statistics;
# Make sure view select does not error, but ignore results
--disable_result_log
SELECT * FROM sys.schema_table_statistics;
--enable_result_log
# Ensure structure changes don't slip in
DESC sys.x$schema_table_statistics;
# Make sure view select does not error, but ignore results
--disable_result_log
SELECT * FROM sys.x$schema_table_statistics;
--enable_result_log