You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-24 08:41:09 +03:00
MCOL-943
This commit is contained in:
@@ -874,29 +874,6 @@ bool writeConfig( Config* sysConfig )
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string getmysqlpw(std::string logFile)
|
||||
{
|
||||
ifstream oldFile (logFile.c_str());
|
||||
if (oldFile) {
|
||||
char line[200];
|
||||
string buf;
|
||||
while (oldFile.getline(line, 200))
|
||||
{
|
||||
buf = line;
|
||||
string::size_type pos = buf.find("mysqlpw=",0);
|
||||
if (pos != string::npos)
|
||||
{
|
||||
string mysqlpw = buf.substr(pos+8, 80);
|
||||
// unlink(logFile);
|
||||
return mysqlpw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return oam::UnassignedName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user