MCPcopy Create free account
hub / github.com/MariaDB/server / test_if_data_home_dir

Function test_if_data_home_dir

sql/sql_parse.cc:10249–10259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10247*/
10248
10249int test_if_data_home_dir(const char *dir)
10250{
10251 char path[FN_REFLEN];
10252 DBUG_ENTER("test_if_data_home_dir");
10253
10254 if (!dir)
10255 DBUG_RETURN(0);
10256
10257 (void) fn_format(path, dir, "", "", MY_RETURN_REAL_PATH);
10258 DBUG_RETURN(path_starts_from_data_home_dir(path));
10259}
10260
10261
10262int error_if_data_home_dir(const char *path, const char *what)

Callers 1

error_if_data_home_dirFunction · 0.85

Calls 2

fn_formatFunction · 0.85

Tested by

no test coverage detected