[CP] fix secure_file_priv not working in oracle mode
This commit is contained in:
@ -144,8 +144,7 @@ int ObLoadDataResolver::resolve(const ParseNode &parse_tree)
|
||||
ret = OB_FILE_NOT_EXIST;
|
||||
LOG_WARN("file not exist", K(ret), K(cstyle_file_name));
|
||||
}
|
||||
//security check for mysql mode
|
||||
if (OB_SUCC(ret) && lib::is_mysql_mode()) {
|
||||
if (OB_SUCC(ret)) {
|
||||
ObString secure_file_priv;
|
||||
if (OB_FAIL(session_info_->get_secure_file_priv(secure_file_priv))) {
|
||||
LOG_WARN("failed to get secure file priv", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user