Author: uwendel
Date: 2008-04-23 15:55:19 +0200 (Wed, 23 Apr 2008)
New Revision: 1516
Modified:
trunk/tests/ext/pdo_mysql/pdo_mysql_stmt_closecursor.phpt
Log:
Fixing test
Modified: trunk/tests/ext/pdo_mysql/pdo_mysql_stmt_closecursor.phpt
===================================================================
--- trunk/tests/ext/pdo_mysql/pdo_mysql_stmt_closecursor.phpt 2008-04-23 13:02:43 UTC (rev
1515)
+++ trunk/tests/ext/pdo_mysql/pdo_mysql_stmt_closecursor.phpt 2008-04-23 13:55:19 UTC (rev
1516)
@@ -93,7 +93,6 @@
var_export($id, true), gettype($id),
var_export($label, true), gettype($label));
-
$stmt->closeCursor();
$stmt->execute();
@@ -146,14 +145,22 @@
Buffered...
Warning: PDO::query(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while
other unbuffered queries are active. Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. in %s on line %d
+in = 0 -> id = '1' (string) / label = 'a' (string)
+in = 0 -> id = '2' (string) / label = 'b' (string)
Unbuffered...
Warning: PDO::query(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while
other unbuffered queries are active. Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. in %s on line %d
+in = 0 -> id = '1' (string) / label = 'a' (string)
+in = 0 -> id = '2' (string) / label = 'b' (string)
Testing native PS...
Buffered...
Warning: PDO::query(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while
other unbuffered queries are active. Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. in %s on line %d
+in = 0 -> id = '1' (string) / label = 'a' (string)
+in = 0 -> id = '2' (string) / label = 'b' (string)
Unbuffered...
Warning: PDO::query(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while
other unbuffered queries are active. Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. in %s on line %d
+in = 0 -> id = '1' (string) / label = 'a' (string)
+in = 0 -> id = '2' (string) / label = 'b' (string)
done!
\ No newline at end of file
| Thread |
|---|
| • PHP mysqlnd svn commit: r1516 - trunk/tests/ext/pdo_mysql | uwendel | 23 Apr |