Fix mysltest case
This commit is contained in:
parent
67c805fdf2
commit
a0fad7ed1a
@ -493,13 +493,6 @@ int ObUtlFileHandler::frename(const char *src_dir, const char *src_filename,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ObUtlFileHandler::fis_open(const int64_t &fd, bool &b_open)
|
|
||||||
{
|
|
||||||
int ret = OB_SUCCESS;
|
|
||||||
b_open = (fd > 0);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ObUtlFileHandler::is_valid_path(const char *path, size_t &path_len)
|
bool ObUtlFileHandler::is_valid_path(const char *path, size_t &path_len)
|
||||||
{
|
{
|
||||||
return OB_NOT_NULL(path) && ((path_len = STRLEN(path)) > 0)
|
return OB_NOT_NULL(path) && ((path_len = STRLEN(path)) > 0)
|
||||||
|
@ -52,7 +52,6 @@ public:
|
|||||||
static int fgetpos(const int64_t &fd, int64_t &pos);
|
static int fgetpos(const int64_t &fd, int64_t &pos);
|
||||||
static int frename(const char *src_dir, const char *src_filename,
|
static int frename(const char *src_dir, const char *src_filename,
|
||||||
const char *dst_dir, const char *dst_filename, bool overwrite);
|
const char *dst_dir, const char *dst_filename, bool overwrite);
|
||||||
static int fis_open(const int64_t &fd, bool &b_open);
|
|
||||||
public:
|
public:
|
||||||
static bool is_valid_max_line_size(const int size);
|
static bool is_valid_max_line_size(const int size);
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user