[aur-dev] [PATCH 2/2] Use non-persistant connections

Loui Chang louipc.ist at gmail.com
Wed Dec 31 10:15:36 EST 2008


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 at archlinux.org>
> ---
>  web/lib/aur.inc |   19 +++++++++++++++----
>  1 files changed, 15 insertions(+), 4 deletions(-)
 
Pushed.


More information about the aur-dev mailing list