1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

mcol-953 - fixed non-root user - use root user

This commit is contained in:
david hill
2017-10-18 15:53:40 -05:00
parent 7a0e0f629b
commit e05683c7ca
2 changed files with 3 additions and 3 deletions

View File

@@ -8757,8 +8757,8 @@ namespace oam
while (file.getline(line, 400)) while (file.getline(line, 400))
{ {
buf = line; buf = line;
//find the mariadb user, root
string::size_type pos = buf.find(USER,0); string::size_type pos = buf.find("root",0);
if (pos != string::npos) if (pos != string::npos)
{ {
file.getline(line, 400); file.getline(line, 400);

View File

@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
{ {
buf = line; buf = line;
string::size_type pos = buf.find(USER,0); string::size_type pos = buf.find("root",0);
if (pos != string::npos) if (pos != string::npos)
{ {
file.getline(line, 400); file.getline(line, 400);