|
|
|
|
25
|
{
|
25
|
{
|
26
|
BResult res;
|
26
|
BResult res;
|
27
|
_dumpFilePath = getTempFile();
|
27
|
_dumpFilePath = getTempFile();
|
28
|
- int status = system(std::string("mysqldump --routines '-h" + _masterConfig.getHost() + "'"
|
|
|
|
|
28
|
+ int status = system(std::string("mysqldump '-h" + _masterConfig.getHost() + "'"
|
29
|
+ " '-u" + _masterConfig.getUser() + "'"
|
29
|
+ " '-u" + _masterConfig.getUser() + "'"
|
30
|
+ " '-p" + _masterConfig.getPassword() + "'"
|
30
|
+ " '-p" + _masterConfig.getPassword() + "'"
|
31
|
+ " " + _masterConfig.getDatabase()
|
31
|
+ " " + _masterConfig.getDatabase()
|