diff options
Diffstat (limited to 'ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt b/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt index 51e5b7b44a..72a29f9e36 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt @@ -23,7 +23,7 @@ MySQLPDOTest::skip(); $db1->exec('SET @pdo_persistent_connection=1'); $stmt = $db2->query('SELECT @pdo_persistent_connection as _pers'); $tmp = $stmt->fetch(PDO::FETCH_ASSOC); - if ($tmp['_pers'] !== '1') + if ($tmp['_pers'] != 1) printf("[001] Both handles should use the same connection."); $stmt = $db1->query('SELECT CONNECTION_ID() as _con1'); |