![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
#include "plugin/group_replication/include/plugin_handlers/read_mode_handler.h"#include "my_dbug.h"#include "plugin/group_replication/include/plugin.h"#include "plugin/group_replication/include/plugin_utils.h"#include "plugin/group_replication/include/services/system_variable/get_system_variable.h"#include "plugin/group_replication/include/services/system_variable/set_system_variable.h"Functions | |
| int | enable_server_read_mode () | 
| Enable the super read only mode in the server.  More... | |
| int | disable_server_read_mode () | 
| Disable the read only mode in the server.  More... | |
| int | get_read_mode_state (bool *read_only_enabled, bool *super_read_only_enabled) | 
| Get read mode status from server.  More... | |
| int | set_read_mode_state (bool read_only_enabled, bool super_read_only_enabled) | 
| Set read mode status from server.  More... | |
| int disable_server_read_mode | ( | ) | 
Disable the read only mode in the server.
| 0 | OK | 
| !=0 | Error | 
| int enable_server_read_mode | ( | ) | 
Enable the super read only mode in the server.
| 0 | OK | 
| !=0 | Error | 
| int get_read_mode_state | ( | bool * | read_only_enabled, | 
| bool * | super_read_only_enabled | ||
| ) | 
Get read mode status from server.
| read_only_enabled | Update with value of read only mode | 
| super_read_only_enabled | Update with value of super read only mode | 
| 0 | OK | 
| !=0 | Error | 
| int set_read_mode_state | ( | bool | read_only_enabled, | 
| bool | super_read_only_enabled | ||
| ) | 
Set read mode status from server.
| read_only_enabled | Value to set on read only mode | 
| super_read_only_enabled | Value to set on super read only mode | 
| 0 | OK | 
| !=0 | Error |