Commit graph

2 commits

Author SHA1 Message Date
Monty
775cba4d0f MDEV-33145 Add FLUSH GLOBAL STATUS
- FLUSH GLOBAL STATUS now resets most global_status_vars.
  At this stage, this is mainly to be used for testing.
- FLUSH SESSION STATUS added as an alias for FLUSH STATUS.
- FLUSH STATUS does not require any privilege (before required RELOAD).
- FLUSH GLOBAL STATUS requires RELOAD privilege.
- All global status reset moved to FLUSH GLOBAL STATUS.
- Replication semisync status variables are now reset by
  FLUSH GLOBAL STATUS.
- In test cases, the only changes are:
  - Replace FLUSH STATUS with FLUSH GLOBAL STATUS
  - Replace FLUSH STATUS with FLUSH STATUS; FLUSH GLOBAL STATUS.
    This was only done in a few tests where the test was using SHOW STATUS
    for both local and global variables.
- Uptime_since_flush_status is now always provided, independent if
  ENABLED_PROFILING is enabled when compiling MariaDB.
- @@global.Uptime_since_flush_status is reset on FLUSH GLOBAL STATUS
  and @@session.Uptime_since_flush_status is reset on FLUSH SESSION STATUS.
- When connected, @@session.Uptime_since_flush_status is set to 0.
2024-05-27 12:39:03 +02:00
Mattias Jonsson
e8bea38238 Bug#49369: No testcase for key caches on partitions
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
2009-12-03 13:31:56 +01:00