[CP] [secure_file_priv]limit dumpfile

This commit is contained in:
zhjc1124 2023-11-09 13:29:16 +00:00 committed by ob-robot
parent 251666af5f
commit f6c40db8ee

View File

@ -116,7 +116,7 @@ int ObSelectIntoOp::inner_open()
}
if (OB_SUCC(ret)
&& T_INTO_OUTFILE == into_type
&& (T_INTO_OUTFILE == into_type || T_INTO_DUMPFILE == into_type)
&& IntoFileLocation::SERVER_DISK == file_location_) {
ObString file_name = url_;
ObString file_path = file_name.split_on(file_name.reverse_find('/'));