Author: uwendel
Date: 2007-06-20 14:28:25 +0200 (Wed, 20 Jun 2007)
New Revision: 404
Modified:
trunk/tests/ext/mysqli/mysqli_stmt_attr_get.phpt
Log:
We seem to have the prefetch code in mysqlnd: either we deprecate prefetching at all or we
document and test it. But please, no skipping, not for a clean release.
Modified: trunk/tests/ext/mysqli/mysqli_stmt_attr_get.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_stmt_attr_get.phpt 2007-06-20 12:07:30 UTC (rev 403)
+++ trunk/tests/ext/mysqli/mysqli_stmt_attr_get.phpt 2007-06-20 12:28:25 UTC (rev 404)
@@ -28,11 +28,9 @@
if (mysqli_get_client_version() > 50003)
$valid_attr["cursor_type"] = MYSQLI_STMT_ATTR_CURSOR_TYPE;
-/* prefetch rows aren't supported anymore (disabled in libmysql)
- if (mysqli_get_client_version() > 50007)
+ if ($IS_MYSQLND && mysqli_get_client_version() > 50007)
$valid_attr["prefetch_rows"] = MYSQLI_STMT_ATTR_PREFETCH_ROWS;
-*/
-
+
do {
$invalid_attr = mt_rand(0, 10000);
} while (in_array($invalid_attr, $valid_attr));
| Thread |
|---|
| • PHP mysqlnd svn commit: r404 - trunk/tests/ext/mysqli | uwendel | 20 Jun |