You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-03 08:20:57 +03:00
MCOL-520 - add in the mariadb upgrade code
This commit is contained in:
@@ -6599,6 +6599,7 @@ int ProcessMonitor::runUpgrade(std::string mysqlpw)
|
||||
string cmd = startup::StartUp::installDir() + "/mysql/bin/mysql_upgrade --defaults-file=" + startup::StartUp::installDir() + "/mysql/my.cnf " +
|
||||
passwordOption + " > " + tmpLog + " 2>&1";
|
||||
|
||||
log.writeLog(__LINE__, "runUpgrade, cmd = " + cmd, LOG_TYPE_DEBUG);
|
||||
int retCode = system(cmd.c_str());
|
||||
if ( retCode == 0 ) {
|
||||
log.writeLog(__LINE__, "mysql_upgrade.sh: Successful return", LOG_TYPE_DEBUG);
|
||||
|
||||
Reference in New Issue
Block a user