Commit 0da04500 authored by Oleg Zhulnev's avatar Oleg Zhulnev

MariaDB improvements, refactoring default keywords for 10.2 version and extends them for 10.3

revert back MariaDb1027Platform
parent 133571c8
...@@ -179,6 +179,18 @@ jobs: ...@@ -179,6 +179,18 @@ jobs:
addons: addons:
mariadb: 10.2 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 - stage: Test
php: 7.1 php: 7.1
env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes
......
...@@ -37,6 +37,11 @@ MySQL ...@@ -37,6 +37,11 @@ MySQL
- ``MySQL57Platform`` for version 5.7 (5.7.9 GA) and above. - ``MySQL57Platform`` for version 5.7 (5.7.9 GA) and above.
- ``MySQL80Platform`` for version 8.0 (8.0 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 Oracle
^^^^^^ ^^^^^^
......
...@@ -24,21 +24,13 @@ use Doctrine\DBAL\Types\Type; ...@@ -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. * 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 * @author Vanvelthem Sébastien
* @link www.doctrine-project.org * @link www.doctrine-project.org
*/ */
final class MariaDb1027Platform extends MySqlPlatform final class MariaDb1027Platform extends MySqlPlatform
{ {
/**
* {@inheritdoc}
*/
public function hasNativeJsonType() : bool
{
return false;
}
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
namespace Doctrine\Tests\DBAL\Platforms; namespace Doctrine\Tests\DBAL\Platforms;
use Doctrine\DBAL\Platforms\MariaDb1027Platform; use Doctrine\DBAL\Platforms\MariaDb1027Platform;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
class MariaDb1027PlatformTest extends AbstractMySQLPlatformTestCase 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