- 29 Jun, 2020 1 commit
-
-
Sergei Morozov authored
-
- 27 Jun, 2020 1 commit
-
-
Sergei Morozov authored
Testing the implementations of this method requires partial mocking of the implementing class which makes it impossible to make them `final` (#3590). Additionally, this API breaks the encapsulation of the driver layer: instead of exposing the fact of whether the connection will perform a query to detect the server version, the driver should just instantiate a platform corresponding to a connection. The rationale behind introducing this method (#487) is really questionable: > This is also required for drivers that cannot return the database server version without an additional query (performance reasons). 1. There's no evidence that an underlying driver that exposes the server version via its API doesn't make a request of any kind to the server. 2. For an application that works with any realistic database, a query like `SELECT VERSION()` wouldn't be a performance bottleneck. 3. Even if it was, it's always possible to specify the platform version upfront. Otherwise, the current logic of falling back to a default platform may cause undefined behavior of the application (we don't test the compatibility of the lowest level of the DBAL platform with all supported server versions). Remember, “If it doesn’t work, it doesn’t matter how fast it doesn’t work.”
-
- 21 Mar, 2020 1 commit
-
-
Sergei Morozov authored
-
- 17 Mar, 2020 1 commit
-
-
Sergei Morozov authored
-
- 07 Oct, 2018 1 commit
-
-
Sergei Morozov authored
-
- 02 Oct, 2018 2 commits
-
-
Sergei Morozov authored
-
Sergei Morozov authored
-
- 29 Jan, 2018 1 commit
-
-
Gabriel Caruso authored
-
- 12 Feb, 2014 1 commit
-
-
Steve Müller authored
-
- 10 Feb, 2014 1 commit
-
-
Martin Hasoň authored
-
- 27 Dec, 2013 1 commit
-
-
Steve Müller authored
-
- 21 Jun, 2013 1 commit
-
-
Benjamin Morel authored
- Fixed docblocks - Removed return statements on void methods - Cleaned up unused private / local variables - Fixed license issues - Removed SVN leftovers - Fixed doctrine-project.org links - Added line breaks before return statements
-
- 25 May, 2012 1 commit
-
-
Benjamin Eberlei authored
-
- 19 Dec, 2011 1 commit
-
-
Benjamin Eberlei authored
-
- 27 Feb, 2011 1 commit
-
-
Benjamin Eberlei authored
[DBAL-45] Add reserved keywords feature through platforms and as a validator for any Schema instance with subelements. Add Command to check for reserved keywords in current database.
-