31 Dec
2008
31 Dec
'08
3:15 p.m.
On Mon, Dec 29, 2008 at 08:46:06PM -0600, Dan McGee wrote:
There is really no need to use persistent connections to the database in this day and age. Most PHP development guides recommend against it, and the new mysqli interface doesn't even include the functionality.
Add a matching but currently unused db_disconnect() function while we are at it. Reference counting will cover us for the most part, however.
Signed-off-by: Dan McGee <dan@archlinux.org> --- web/lib/aur.inc | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-)
Pushed.