We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb4c0f commit d265e4cCopy full SHA for d265e4c
dev/tests/integration/framework/Magento/TestFramework/Db/Mysql.php
@@ -272,14 +272,17 @@ private function isUsingAuroraDb(): bool
272
*/
273
private function isMariaDB(): bool
274
{
275
- if (!$this->isMariaDB) {
276
- $version = $this->_shell->execute(
277
- 'mariadb-dump --version'
278
- );
+ try {
+ if (!$this->isMariaDB) {
+ $version = $this->_shell->execute(
+ 'mariadb-dump --version'
279
+ );
280
- $this->isMariaDB = (bool) preg_match('/-MariaDB/i', $version);
281
+ $this->isMariaDB = (bool) preg_match('/-MariaDB/i', $version);
282
+ }
283
+ } catch (LocalizedException $e) {
284
+ $this->isMariaDB = false;
285
}
-
286
return $this->isMariaDB;
287
288
0 commit comments