From 8dc0353a89ba0e6211d19e2051cebaaffa345725 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Tue, 17 Mar 2020 10:36:55 +0000
Subject: [PATCH] Issue #3120124 by effulgentsia, daffie: Raise the minimum
 MariaDB version to 10.3(.7) in Drupal 9

---
 core/INSTALL.txt                                            | 2 +-
 .../lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/INSTALL.txt b/core/INSTALL.txt
index eef7efb09bbf..f6dd1b28f145 100644
--- a/core/INSTALL.txt
+++ b/core/INSTALL.txt
@@ -52,7 +52,7 @@ Drupal requires:
   recommended to update to at least 7.3.13.
 - One of the following databases:
   - MySQL 5.7.8 (or greater) (http://www.mysql.com/).
-  - MariaDB 10.2.7 (or greater) (https://mariadb.org/). MariaDB is a fully
+  - MariaDB 10.3.7 (or greater) (https://mariadb.org/). MariaDB is a fully
     compatible drop-in replacement for MySQL.
   - Percona Server 5.7.8 (or greater) (http://www.percona.com/). Percona
     Server is a backwards-compatible replacement for MySQL.
diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
index 9265195f3686..833bce7507d1 100644
--- a/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
+++ b/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
@@ -24,10 +24,10 @@ class Tasks extends InstallTasks {
   /**
    * Minimum required MariaDB version.
    *
-   * 10.2.7 is the minimum version that supports the JSON datatype (alias).
-   * @see https://mariadb.com/kb/en/json-data-type/
+   * 10.3.7 is the first stable (GA) release in the 10.3 series.
+   * @see https://mariadb.com/kb/en/changes-improvements-in-mariadb-103/#list-of-all-mariadb-103-releases
    */
-  const MARIADB_MINIMUM_VERSION = '10.2.7';
+  const MARIADB_MINIMUM_VERSION = '10.3.7';
 
   /**
    * Minimum required MySQLnd version.
-- 
GitLab