You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MariaDB does not work when I use the doctrine-extensions and DBAL 4. In this combination, the following check in src/Oro/ORM/Query/AST/FunctionFactory.php fails:
[Syntax Error] Not supported platform "Doctrine\DBAL\Platforms\MariaDB1052Platform"
It is because since DBAL 4, MariaDBPlatform does not extend MySQLPlatform anymore, but from AbstractMySQLPlatform.
Since DBAL 3, MySQLPlatform always extends from AbstractMySQLPlatform, so simply checking $platform instanceof AbstractMySQLPlatform instead of $platform instanceof MySQLPlatform should fix this for DBAL 4 and not break DBAL 3 at the same time.
Other than that, I had great success when testing the master branch! Probably after fixing this issue, an official release would be greatly appreciated :)
The text was updated successfully, but these errors were encountered:
MariaDB does not work when I use the doctrine-extensions and DBAL 4. In this combination, the following check in src/Oro/ORM/Query/AST/FunctionFactory.php fails:
I get the error:
It is because since DBAL 4,
MariaDBPlatform
does not extendMySQLPlatform
anymore, but fromAbstractMySQLPlatform
.Since DBAL 3,
MySQLPlatform
always extends fromAbstractMySQLPlatform
, so simply checking$platform instanceof AbstractMySQLPlatform
instead of$platform instanceof MySQLPlatform
should fix this for DBAL 4 and not break DBAL 3 at the same time.Other than that, I had great success when testing the master branch! Probably after fixing this issue, an official release would be greatly appreciated :)
The text was updated successfully, but these errors were encountered: