-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take care about mariadb platform #742
Conversation
Hello, thank you for creating this pull request. I have automatically opened an issue http://www.doctrine-project.org/jira/browse/DBAL-1073 We use Jira to track the state of pull requests and the versions they got |
looks sane to me. Please add some test data here and I'll merge. |
Should we have a different platform for mariadb? The entire mariadb-mysql-yaddayadda-galeracluster-xtradb stuff is going to get out of hand. |
39911d8
to
9a7a4a0
Compare
9a7a4a0
to
7f89a78
Compare
@deeky666 added some test cases. |
@Ocramius having a specific platform which would be the same than MySQLPlatform is not worth the maintenance IMO. And having a MariaDBDriver forcing the usage of this platform would make things more complex. IMO, detecting MariaDB versions is the best approach for our users, as this keeps MariaDB as a drop-in replacement (but it is a drop-in replacement for 5.6 in its version 10.0) |
The point is that MariaDB is becoming less of a drop-in replacement as time passes (like with any forked software) |
@stof @Ocramius I tend to agree with you both. I think this solution here is acceptable for now considering, that the current DBAL MySQL platforms are not differenciated enough to even reflect all of MySQL's version specific semantics (especially reserved keywords which even tend to change in patch versions regularly). |
👍 |
Take care about mariadb platform
@nlegoff thx! |
Hi,
After upgrading to DBAL 2.5, I got an issue where I could not rename index while migrating because of MariaDB versioning which outputs
10.0.15-MariaDB-1~wheezy
as server version.Because 10.x > 5.7 it loads new features from mysql 5.7 which are not available in mariadb ..