File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
use Doctrine \DBAL \Platforms \AbstractMySQLPlatform ;
10
10
use Doctrine \DBAL \Platforms \AbstractPlatform ;
11
11
use Doctrine \DBAL \Platforms \MariaDb1027Platform ;
12
+ use Doctrine \DBAL \Platforms \MariaDb1043Platform ;
12
13
use Doctrine \DBAL \Platforms \MySQL57Platform ;
13
14
use Doctrine \DBAL \Platforms \MySQL80Platform ;
14
15
use Doctrine \DBAL \Platforms \MySQLPlatform ;
@@ -34,6 +35,10 @@ abstract class AbstractMySQLDriver implements VersionAwarePlatformDriver
34
35
public function createDatabasePlatformForVersion ($ version )
35
36
{
36
37
$ mariadb = stripos ($ version , 'mariadb ' ) !== false ;
38
+ if ($ mariadb && version_compare ($ this ->getMariaDbMysqlVersionNumber ($ version ), '10.4.3 ' , '>= ' )) {
39
+ return new MariaDb1043Platform ();
40
+ }
41
+
37
42
if ($ mariadb && version_compare ($ this ->getMariaDbMysqlVersionNumber ($ version ), '10.2.7 ' , '>= ' )) {
38
43
return new MariaDb1027Platform ();
39
44
}
You can’t perform that action at this time.
0 commit comments