MySQL 8.0.30
Source Code Documentation
page_track_service.cc File Reference
#include <sql/handler.h>
#include <sql/sql_class.h>
#include "mysql_page_track_imp.h"

Functions

bool check_backup_privilege (MYSQL_THD thd)
 Check if thd has backup privilege. More...
 

Function Documentation

◆ check_backup_privilege()

bool check_backup_privilege ( MYSQL_THD  thd)

Check if thd has backup privilege.

Parameters
[in]thdthread context
Returns
0 if thd has backup privilege, else 1