Req #62065 [Asn]: PDO should have a disconnect method

From: Date: Tue, 24 Oct 2017 03:25:52 +0000
Subject: Req #62065 [Asn]: PDO should have a disconnect method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211896@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62065&edit=1

 ID:                 62065
 Updated by:         kalle@php.net
 Reported by:        b12 at bsdpower dot com
 Summary:            PDO should have a disconnect method
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            PDO related
 Operating System:   Any
 PHP Version:        5.3.13
 Assigned To:        willfitch
 Block user comment: N
 Private report:     N

 New Comment:

Will, if this is something you still are intending to work on, then please submit an RFC for it.

On a personal note, I agree with the reporter that this behavior is poor design of PDO


Previous Comments:
------------------------------------------------------------------------
[2016-08-29 14:38:19] cmb@php.net

Related To: Bug #67473

------------------------------------------------------------------------
[2016-07-01 09:56:21] cmb@php.net

Related To: Bug #62847

------------------------------------------------------------------------
[2016-07-01 09:13:09] cmb@php.net

Related To: Bug #69730

------------------------------------------------------------------------
[2016-07-01 08:08:52] cmb@php.net

Related to doc bug #69730.

------------------------------------------------------------------------
[2016-04-06 21:33:39] doug at opendns dot com

Hey there,

I just wanted to add a vote for this feature, and also to note a connection to https://bugs.php.net/bug.php?id=62847, wherein
PDOStatement appears to hold onto a reference to the connection when a query error occurs. At that
point, setting the connection to null doesn't actually release the connection. In that case it
would be great to be able to manually force a disconnect.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=62065


--
Edit this bug report at https://bugs.php.net/bug.php?id=62065&edit=1


Thread (13 messages)

« previous php.bugs (#211896) next »