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