#At file:///data/msvensson/mysql/t4-atrt-from-clone/
2668 Magnus Svensson 2008-06-23
Improve error message when failing to find config file to use
modified:
storage/ndb/test/run-test/main.cpp
=== modified file 'storage/ndb/test/run-test/main.cpp'
--- a/storage/ndb/test/run-test/main.cpp 2008-05-27 19:57:28 +0000
+++ b/storage/ndb/test/run-test/main.cpp 2008-06-23 13:55:42 +0000
@@ -444,7 +444,9 @@ parse_args(int argc, char** argv)
mycnf.append("my.cnf");
if (lstat(mycnf.c_str(), &sbuf) != 0)
{
- g_logger.error("Unable to stat %s", mycnf.c_str());
+ g_logger.error("Could not find out which config file to use! "
+ "Pass it as first argument to atrt: 'atrt <config file>' "
+ "(default: '%s')", mycnf.c_str());
return false;
}
}
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.4 branch (msvensson:2668) | Magnus Svensson | 23 Jun |