Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b1f99248
Unverified
Commit
b1f99248
authored
Sep 20, 2018
by
Sergei Morozov
Committed by
GitHub
Sep 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3283 from sidz/maria-db-improvements
MariaDB improvements, support 10.3
parents
e9a62962
0da04500
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
+18
-11
.travis.yml
.travis.yml
+12
-0
platforms.rst
docs/en/reference/platforms.rst
+5
-0
MariaDb1027Platform.php
lib/Doctrine/DBAL/Platforms/MariaDb1027Platform.php
+1
-9
MariaDb1027PlatformTest.php
...Doctrine/Tests/DBAL/Platforms/MariaDb1027PlatformTest.php
+0
-2
No files found.
.travis.yml
View file @
b1f99248
...
...
@@ -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
...
...
docs/en/reference/platforms.rst
View file @
b1f99248
...
...
@@ -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
^^^^^^
...
...
lib/Doctrine/DBAL/Platforms/MariaDb1027Platform.php
View file @
b1f99248
...
...
@@ -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
r
o 10.2.7.
* Note: Should not be used with versions prior
t
o 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}
*
...
...
tests/Doctrine/Tests/DBAL/Platforms/MariaDb1027PlatformTest.php
View file @
b1f99248
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment