mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
e8bea38238
The original test case was lost when merging WL#4571. Added the testcase. mysql-test/include/check_key_reads.inc: Bug#49369: No testcase for key caches on partitions New include file for testing key caches on partitions WL#4571 mysql-test/include/check_key_req.inc: Bug#49369: No testcase for key caches on partitions New include file for testing key caches on partitions WL#4571 mysql-test/r/partition_key_cache.result: Bug#49369: No testcase for key caches on partitions New test case for testing key caches on partitions WL#4571 mysql-test/t/partition_key_cache.test: Bug#49369: No testcase for key caches on partitions New test case for testing key caches on partitions WL#4571
6 lines
250 B
PHP
6 lines
250 B
PHP
# include file for checking if variable key_reads is zero
|
|
let $key_reads= query_get_value(SHOW STATUS LIKE 'key_reads',Value,1);
|
|
--disable_query_log
|
|
eval SELECT IF($key_reads = 0, "Yes!", "No!") as 'Zero key reads?';
|
|
FLUSH STATUS;
|
|
--enable_query_log
|