summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2008-10-19 12:20:43 +0000
committerJohannes Schlüter <johannes@php.net>2008-10-19 12:20:43 +0000
commit0b216b41614934eab273932df0219d7ce50b2e5f (patch)
tree18512dd7544530028cc85f97bed2e4747d8f655a /ext/pdo_mysql
parent8696c389665f933c0c1d09dc827a5346003783c1 (diff)
downloadphp-git-0b216b41614934eab273932df0219d7ce50b2e5f.tar.gz
Fix test
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r--ext/pdo_mysql/tests/bug46292.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/bug46292.phpt b/ext/pdo_mysql/tests/bug46292.phpt
index 183708f0a6..80423bc7a5 100644
--- a/ext/pdo_mysql/tests/bug46292.phpt
+++ b/ext/pdo_mysql/tests/bug46292.phpt
@@ -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');