List:Commits« Previous MessageNext Message »
From:uwendel Date:April 4 2008 10:25am
Subject:PHP mysqlnd svn commit: r1382 - trunk/tests/ext/pdo_mysql
View as plain text  
Author: uwendel
Date: 2008-04-04 12:25:15 +0200 (Fri, 04 Apr 2008)
New Revision: 1382

Added:
   trunk/tests/ext/pdo_mysql/pdo_mysql_mantis_366.phpt
Log:
See Mantis #366 - wrong PDO::MYSQL_ATTR_USE_BUFFERED_QUERY default


Added: trunk/tests/ext/pdo_mysql/pdo_mysql_mantis_366.phpt
===================================================================
--- trunk/tests/ext/pdo_mysql/pdo_mysql_mantis_366.phpt	                        (rev 0)
+++ trunk/tests/ext/pdo_mysql/pdo_mysql_mantis_366.phpt	2008-04-04 10:25:15 UTC (rev 1382)
@@ -0,0 +1,21 @@
+--TEST--
+Mantis #366 (Wrong PDO::MYSQL_ATTR_USE_BUFFERED_QUERY default) - remove test after fix!
+--SKIPIF--
+<?php
+require_once('skipif.inc');
+require_once('mysql_pdo_test.inc');
+MySQLPDOTest::skip();
+$db = MySQLPDOTest::factory();
+?>
+--FILE--
+<?php
+	require_once('mysql_pdo_test.inc');
+	$db = MySQLPDOTest::factory();
+
+	var_dump($db->getAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY));
+
+
+	print "done!";
+--EXPECTF--
+int(1)
+done!
\ No newline at end of file

Thread
PHP mysqlnd svn commit: r1382 - trunk/tests/ext/pdo_mysqluwendel4 Apr