Unverified Commit b1f99248 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3283 from sidz/maria-db-improvements

MariaDB improvements, support 10.3
parents e9a62962 0da04500
......@@ -179,6 +179,18 @@ jobs:
addons:
mariadb: 10.2
- stage: Test
php: 7.2
env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.2
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.1
env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes
......
......@@ -37,6 +37,11 @@ MySQL
- ``MySQL57Platform`` for version 5.7 (5.7.9 GA) and above.
- ``MySQL80Platform`` for version 8.0 (8.0 GA) and above.
MariaDB
^^^^^
- ``MariaDb1027Platform`` for version 10.2 (10.2.7 GA) and above.
Oracle
^^^^^^
......
......@@ -24,21 +24,13 @@ use Doctrine\DBAL\Types\Type;
/**
* Provides the behavior, features and SQL dialect of the MariaDB 10.2 (10.2.7 GA) database platform.
*
* Note: Should not be used with versions prior ro 10.2.7.
* Note: Should not be used with versions prior to 10.2.7.
*
* @author Vanvelthem Sébastien
* @link www.doctrine-project.org
*/
final class MariaDb1027Platform extends MySqlPlatform
{
/**
* {@inheritdoc}
*/
public function hasNativeJsonType() : bool
{
return false;
}
/**
* {@inheritdoc}
*
......
......@@ -3,8 +3,6 @@
namespace Doctrine\Tests\DBAL\Platforms;
use Doctrine\DBAL\Platforms\MariaDb1027Platform;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Types\Type;
class MariaDb1027PlatformTest extends AbstractMySQLPlatformTestCase
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment