Re: com php-src: Fixed bug #63176 (Segmentation fault when instantiate 2 persistent PDO to the same db server): NEWS ext/pdo/pdo_dbh.c
ext/pdo_mysql/tests/bug63176.phpt

From: Date: Sun, 16 Jun 2013 19:37:42 +0000
Subject: Re: com php-src: Fixed bug #63176 (Segmentation fault when instantiate 2 persistent PDO to the same db server): NEWS ext/pdo/pdo_dbh.c
ext/pdo_mysql/tests/bug63176.phpt
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72383@lists.php.net to get a copy of this message
Hi Laruence 2013/6/16 Xinchen Hui <laruence@php.net>: > + if ($h) { > + $this->db = new PDO2(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, > PDO_MYSQL_TEST_PASS, array(PDO::ATTR_PERSISTENT => true)); > + } else { > + $this->db = new PDO2(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, > PDO_MYSQL_TEST_PASS, array(PDO::ATTR_PERSISTENT => true)); > + } Shouldn't this be PDO3, in the else, or did I miss something? -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.cvs (#72383) next »