]> granicus.if.org Git - php/commitdiff
Fix test
authorJohannes Schlüter <johannes@php.net>
Sun, 19 Oct 2008 12:20:28 +0000 (12:20 +0000)
committerJohannes Schlüter <johannes@php.net>
Sun, 19 Oct 2008 12:20:28 +0000 (12:20 +0000)
ext/pdo_mysql/tests/bug46292.phpt

index 183708f0a6f9db4efa3c8c5a743b3c14cb925549..80423bc7a5d637c82deab89159e0d3322592c402 100644 (file)
@@ -34,6 +34,7 @@ if (version_compare(PHP_VERSION, '5.1.0', '<'))
        class myclass2 extends myclass { }
 
        $pdoDb->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
+       $pdoDb->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
        
        $pdoDb->query('DROP TABLE IF EXISTS testz');