#include <DBUpdater.h>
bool DBUpdaterUtil::CheckExecutable |
( |
| ) |
|
|
static |
56 exe = search_path(
"mysql");
58 catch (std::runtime_error&)
62 if (!exe.empty() && exists(exe))
69 TC_LOG_FATAL(
"sql.updates",
"Didn't find executeable mysql binary at \'%s\' or in path, correct the path in the *.conf (\"Updates.MySqlCLIPath\").",
70 absolute(exe).generic_string().c_str());
static std::string GetCorrectedMySQLExecutable()
Definition: DBUpdater.cpp:39
#define TC_LOG_FATAL(filterType__,...)
Definition: Log.h:210
static std::string & corrected_path()
Definition: DBUpdater.cpp:77
std::string & DBUpdaterUtil::corrected_path |
( |
| ) |
|
|
staticprivate |
79 static std::string path;
std::string DBUpdaterUtil::GetCorrectedMySQLExecutable |
( |
| ) |
|
|
static |
TC_COMMON_API std::string GetMySQLExecutable()
Definition: BuiltInConfig.cpp:48
static std::string & corrected_path()
Definition: DBUpdater.cpp:77
The documentation for this class was generated from the following files: