mirror of
https://github.com/php/php-src.git
synced 2025-01-07 19:44:02 +08:00
Merge branch 'PHP-5.4' into PHP-5.5
This commit is contained in:
commit
aa2369f85a
@ -24,7 +24,7 @@ class ModelA {
|
||||
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));
|
||||
$this->db = new PDO3(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, array(PDO::ATTR_PERSISTENT => true));
|
||||
}
|
||||
$this->db->query('SELECT 1')->fetchAll();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user