| 1 |
--source include/have_ndb.inc |
| 2 |
|
| 3 |
--echo Verify that the index stat tables are not present in the Server |
| 4 |
SHOW TABLES IN mysql LIKE 'ndb_index_stat%'; |
| 5 |
|
| 6 |
--echo Verify that the tables can't be discovered |
| 7 |
--error ER_NO_SUCH_TABLE |
| 8 |
SHOW CREATE TABLE mysql.ndb_index_stat_head; |
| 9 |
SHOW WARNINGS; |
| 10 |
|
| 11 |
--echo Verify that the tables aren't readabale |
| 12 |
--error ER_NO_SUCH_TABLE |
| 13 |
SELECT * FROM mysql.ndb_index_stat_sample; |
| 14 |
SHOW WARNINGS; |
| 15 |
|
| 16 |
# Check that the index_stats view metadata is as expected |
| 17 |
SHOW CREATE VIEW ndbinfo.index_stats; |