You've already forked mariadb-columnstore-engine
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user