Req #62782 [Com]: Allow PDO::MYSQL_ATTR_FOUND_ROWS in $driver_options argument of PDO->prepare()

From: Date: Wed, 27 Sep 2017 07:59:35 +0000
Subject: Req #62782 [Com]: Allow PDO::MYSQL_ATTR_FOUND_ROWS in $driver_options argument of PDO->prepare()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211378@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62782&edit=1 ID: 62782 Comment by: col dot shrapnel at gmail dot com Reported by: cmanley at xs4all dot nl Summary: Allow PDO::MYSQL_ATTR_FOUND_ROWS in $driver_options argument of PDO->prepare() Status: Open Type: Feature/Change Request Package: PDO MySQL PHP Version: 5.3.15 Block user comment: N Private report: N New Comment: Given CLIENT_FOUND_ROWS is a connection option that can be used with mysql_real_connect() only, there is no way to change its value on the fly, so this issue can be closed as not a bug. Previous Comments: ------------------------------------------------------------------------ [2012-08-08 17:12:54] cmanley at xs4all dot nl Description: ------------ Currently PDO::MYSQL_ATTR_FOUND_ROWS is supported as an option in the PDO constructor. It would be even better if this option was additionally supported in the $driver_options argument of PDO->prepare(). The reason being that the option can be applied only locally where needed, and not in all statements executed by the current PDO object with the possibility of wreaking havoc in larger applications that share a PDO connection object. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62782&edit=1

« previous php.bugs (#211378) next »