1. 21 Jan, 2020 2 commits
  2. 20 Jan, 2020 2 commits
  3. 18 Jan, 2020 2 commits
  4. 17 Jan, 2020 2 commits
  5. 16 Jan, 2020 9 commits
  6. 15 Jan, 2020 1 commit
  7. 13 Jan, 2020 3 commits
  8. 12 Jan, 2020 5 commits
  9. 11 Jan, 2020 2 commits
  10. 10 Jan, 2020 2 commits
  11. 08 Jan, 2020 1 commit
  12. 04 Jan, 2020 3 commits
  13. 03 Jan, 2020 2 commits
    • Benjamin Morel's avatar
      d19fa868
    • Sergei Morozov's avatar
      Removed ServerInfoAwareConnection#requiresQueryForServerVersion() as implementation detail · 8d015895
      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.”
      
      In addition to the above, the only driver that doesn't support the platform version detection via the underlying driver API is `sqsql` which is barely supported.
      8d015895
  14. 02 Jan, 2020 1 commit
  15. 01 Jan, 2020 1 commit
  16. 31 Dec, 2019 2 commits
    • Sergei Morozov's avatar
      Removed deprecation leftovers · e24b40a6
      Sergei Morozov authored
      1. `SqliteSchemaManager#_getPortableTableColumnList()` was mistakenly marked `@deprecated` instead of `#_getPortableTableIndexDefinition()` in #3565.
      2. `OracleSchemaManager#_getPortableDatabaseDefinition()` was mistakenly marked `@deprecated` instead of `#_getPortableFunctionDefinition()` in #3565.
      3. The deprecation message in the `OracleSchemaManager#createDatabase()` description is irrelevant as of #3565.
      e24b40a6
    • Sergei Morozov's avatar
      Merge pull request #3579 from jwage/remove-deprecated-stuff · acc4686b
      Sergei Morozov authored
      Remove deprecated stuff for 3.0
      acc4686b