Merge pull request #19283 from liviuconcioiu/18897

Fix #18897 - Unknown storage engine InnoDB
This commit is contained in:
Maurício Meneghini Fauth 2024-09-06 11:24:38 -03:00 committed by GitHub
commit e2ff85bfbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 12 deletions

View File

@ -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(
__(

View File

@ -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;');
}
/**

View File

@ -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.')
);