1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Reset some longlong global variables as part of FLUSH STATUS

Added SHOW_LONGLONG_NOFLUSH to mark the variables that should not be
flushed.

New variables cleared as part of SHOW STATUS:
- Rpl_semi_sync_master_request_ack
- Rpl_semi_sync_master_get_ac
- Rpl_semi_sync_slave_send_ack
- Slave_skipped_error
This commit is contained in:
Monty
2023-12-30 12:10:15 +02:00
committed by Sergei Golubchik
parent d7bc28e2a6
commit d2b39a2c82
4 changed files with 9 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ static inline SHOW_SCOPE show_scope_from_type(enum enum_mysql_show_type type)
case SHOW_UINT:
case SHOW_ULONG:
case SHOW_ULONGLONG:
case SHOW_LONGLONG_NOFLUSH:
return SHOW_SCOPE_GLOBAL;
case SHOW_DOUBLE_STATUS:
@@ -734,6 +735,7 @@ bool PFS_status_variable_cache::can_aggregate(enum_mysql_show_type variable_type
case SHOW_DOUBLE_STATUS:
case SHOW_HA_ROWS:
case SHOW_LONG_NOFLUSH:
case SHOW_LONGLONG_NOFLUSH:
case SHOW_SLONG:
default:
return false;