1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

MCOL-520 - add in the mariadb upgrade code

This commit is contained in:
David Hill
2018-11-02 14:22:44 -05:00
parent 1699f05ce6
commit 23e5602496

View File

@@ -6598,8 +6598,8 @@ int ProcessMonitor::runUpgrade(std::string mysqlpw)
//run upgrade script
string cmd = startup::StartUp::installDir() + "/mysql/bin/mysql_upgrade --defaults-file=" + startup::StartUp::installDir() + "/mysql/my.cnf " +
passwordOption + " > " + tmpLog + " 2>&1";
int retCode = system(cmd.c_str());
int retCode = system(cmd.c_str());
if ( retCode == 0 ) {
log.writeLog(__LINE__, "mysql_upgrade.sh: Successful return", LOG_TYPE_DEBUG);
return oam::API_SUCCESS;