40{
42 if (!is_regular_file(exe))
43 {
45 if (!exe.empty() && is_regular_file(exe))
46 {
47
49 return true;
50 }
51
52 LOG_FATAL(
"sql.updates",
"Didn't find any executable MySQL binary at \'{}\' or in path, correct the path in the *.conf (\"MySQLExecutable\").",
53 absolute(exe).generic_string());
54
55 return false;
56 }
57 return true;
58}
#define LOG_FATAL(filterType__,...)
Definition: Log.h:152
std::string SearchExecutableInPath(std::string const &filename)
Definition: StartProcess.cpp:265
static std::string & corrected_path()
Definition: DBUpdater.cpp:60
static std::string GetCorrectedMySQLExecutable()
Definition: DBUpdater.cpp:31