(bug 32774) Added config options and flags for SSL and compression in DB.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Wed, 15 Aug 2012 20:44:41 +0000 (16:44 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Thu, 16 Aug 2012 14:48:07 +0000 (10:48 -0400)
commit494b8b51b1689d3e2cde4cf0bcef4def275e50f7
tree0ba35b160900b25ed7fd4867469253f8eccfd8f9
parentc735d67ee3e806140cace16779f33c150f48bea2
(bug 32774) Added config options and flags for SSL and compression in DB.

Added configuration options ($wgDBssl, $wgDBcompress) and related
connection flags (DBO_SSL, DBO_COMPRESS) to allow SSL/TLS and
compression on database connections. The flags are only observed if
the functionality is supported for that type of database (e.g.,
SQLite will ignore both flags as neither are supported).

Currently, only MySQL and PgSQL have support for at least one of
these flags in their PHP extensions. MySQL supports both flags and
PgSQL supports the SSL flag only.

Change-Id: I7b4d3ba82ccab0eed4a19e3b4e7bc0b4eb881262
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
RELEASE-NOTES-1.20
includes/DefaultSettings.php
includes/Defines.php
includes/db/DatabaseMysql.php
includes/db/DatabasePostgres.php
includes/db/LBFactory.php