Refine secure_file_priv system variable

This commit is contained in:
wjhh2008
2023-08-10 02:24:31 +00:00
committed by ob-robot
parent f498b76ce3
commit 3c61eb9f41
6 changed files with 25 additions and 18 deletions

View File

@ -2652,7 +2652,7 @@ static struct VarsInit{
}();
[&] (){
ObSysVars[186].default_value_ = "NULL" ;
ObSysVars[186].default_value_ = "" ;
ObSysVars[186].info_ = "limit the effect of data import and export operations" ;
ObSysVars[186].name_ = "secure_file_priv" ;
ObSysVars[186].data_type_ = ObVarcharType ;
@ -2660,7 +2660,7 @@ static struct VarsInit{
ObSysVars[186].id_ = SYS_VAR_SECURE_FILE_PRIV ;
cur_max_var_id = MAX(cur_max_var_id, static_cast<int64_t>(SYS_VAR_SECURE_FILE_PRIV)) ;
ObSysVarsIdToArrayIdx[SYS_VAR_SECURE_FILE_PRIV] = 186 ;
ObSysVars[186].base_value_ = "NULL" ;
ObSysVars[186].base_value_ = "" ;
ObSysVars[186].alias_ = "OB_SV_SECURE_FILE_PRIV" ;
}();

View File

@ -2673,8 +2673,8 @@
"secure_file_priv": {
"id": 10102,
"name": "secure_file_priv",
"default_value": "NULL",
"base_value": "NULL",
"default_value": "",
"base_value": "",
"data_type": "varchar",
"info": "limit the effect of data import and export operations",
"flags": "GLOBAL | INFLUENCE_PLAN | NULL",