- 28 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.”
-
- 17 Jun, 2020 3 commits
-
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
- 09 Jun, 2020 1 commit
-
-
Sergei Morozov authored
-
- 27 May, 2020 1 commit
-
-
Sergei Morozov authored
-
- 11 Apr, 2020 1 commit
-
-
Sergei Morozov authored
-
- 08 Apr, 2020 1 commit
-
-
Sergei Morozov authored
-
- 07 Apr, 2020 1 commit
-
-
Sergei Morozov authored
-
- 21 Mar, 2020 1 commit
-
-
Sergei Morozov authored
-
- 17 Mar, 2020 1 commit
-
-
Sergei Morozov authored
-
- 30 Dec, 2019 3 commits
-
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
- 17 Mar, 2019 2 commits
-
-
Ahmed Abdou authored
-
Ahmed Abdou authored
-
- 02 Oct, 2018 4 commits
-
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
Sergei Morozov authored
-
- 01 Jul, 2018 1 commit
-
-
Vladimir Reznichenko authored
-
- 01 Apr, 2018 1 commit
-
-
Michael Moravec authored
-
- 29 Jan, 2018 1 commit
-
-
Sergei Morozov authored
-
- 07 Dec, 2017 1 commit
-
-
Gabriel Caruso authored
-
- 19 Nov, 2017 2 commits
-
-
belgattitude authored
-
Nathan Tolbert authored
-
- 13 Jun, 2017 1 commit
-
-
Alessandro Minoccheri authored
-
- 29 Apr, 2017 1 commit
-
-
Piotr Różański authored
-
- 01 Feb, 2017 1 commit
-
-
Pau authored
The current driver has no option to allow the usage of SSL connections on mysql. I've used the same name params as mysql client. An example of mysql client usage would be: mysql --ssl-ca='path_to_ca.pem' --ssl-cert='path_to_client_cert.pem' --ssl-key='path_to_client_key.pem' refactor secure connection as params remove space add space refactor secure connection rename method rename method docs: add ssl params to use in mysqli driver rename test method refactor method setSecureConnection fix bug add comment to method remove string escaping
-
- 29 Dec, 2014 1 commit
-
-
Nicolas Grekas authored
-
- 19 Dec, 2014 1 commit
-
-
Jeroen Thora authored
-
- 05 Nov, 2014 1 commit
-
-
Steve Müller authored
-
- 20 Oct, 2014 1 commit
-
-
Steve Müller authored
-
- 08 Jul, 2014 1 commit
-
-
mikeSimonson authored
The PDO connection allow the instantiation of the connection even if the dbname parameter isn't present. This change is there to make sure both behave the same way.
-
- 21 May, 2014 1 commit
-
-
till authored
Fixes the warning emitted by mysqli when sqlstate is not set (yet?). http://git.php.net/?p=php-src.git;a=blob;f=ext/mysqli/mysqli_prop.c;h=2d36336372b75922bd8fbf40c5c9054a5230c8a0;hb=HEAD#l36 Warning masks actual connection error.
-
- 12 Feb, 2014 2 commits
-
-
Steve Müller authored
-
Steve Müller authored
-
- 09 Feb, 2014 1 commit
-
-
marcini authored
-
- 08 Feb, 2014 1 commit
-
-
marcini authored
Added flags support for mysqli::real_connect in Mysqli driver. This is necessary if you want to set connection options like compression or SSL encryption.
-