Merge pull request #19283 from liviuconcioiu/18897
Fix #18897 - Unknown storage engine InnoDB
This commit is contained in:
commit
e2ff85bfbc
@ -405,8 +405,7 @@ class Routines
|
||||
{
|
||||
if ($flushPrivileges) {
|
||||
// Flush the Privileges
|
||||
$flushPrivQuery = 'FLUSH PRIVILEGES;';
|
||||
$this->dbi->query($flushPrivQuery);
|
||||
$this->dbi->tryQuery('FLUSH PRIVILEGES;');
|
||||
|
||||
$message = Message::success(
|
||||
__(
|
||||
|
||||
@ -345,8 +345,7 @@ class Operations
|
||||
$this->dbi->query($query_proc_specific);
|
||||
|
||||
// Finally FLUSH the new privileges
|
||||
$flush_query = 'FLUSH PRIVILEGES;';
|
||||
$this->dbi->query($flush_query);
|
||||
$this->dbi->tryQuery('FLUSH PRIVILEGES;');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -442,8 +441,7 @@ class Operations
|
||||
}
|
||||
|
||||
// Finally FLUSH the new privileges
|
||||
$flush_query = 'FLUSH PRIVILEGES;';
|
||||
$this->dbi->query($flush_query);
|
||||
$this->dbi->tryQuery('FLUSH PRIVILEGES;');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -816,8 +814,7 @@ class Operations
|
||||
$this->dbi->query($query_col_specific);
|
||||
|
||||
// Finally FLUSH the new privileges
|
||||
$flush_query = 'FLUSH PRIVILEGES;';
|
||||
$this->dbi->query($flush_query);
|
||||
$this->dbi->tryQuery('FLUSH PRIVILEGES;');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -871,8 +868,7 @@ class Operations
|
||||
}
|
||||
|
||||
// Finally FLUSH the new privileges
|
||||
$flush_query = 'FLUSH PRIVILEGES;';
|
||||
$this->dbi->query($flush_query);
|
||||
$this->dbi->tryQuery('FLUSH PRIVILEGES;');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -2477,8 +2477,7 @@ class Privileges
|
||||
{
|
||||
$message = null;
|
||||
if (isset($_GET['flush_privileges'])) {
|
||||
$sqlQuery = 'FLUSH PRIVILEGES;';
|
||||
$this->dbi->query($sqlQuery);
|
||||
$this->dbi->tryQuery('FLUSH PRIVILEGES;');
|
||||
$message = Message::success(
|
||||
__('The privileges were reloaded successfully.')
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user