Author: uwendel
Date: 2008-04-17 13:50:12 +0200 (Thu, 17 Apr 2008)
New Revision: 1480
Modified:
trunk/tests/ext/pdo/pdo_stmt_fetchall_group.phpt
Log:
Seems to be MYSQL version dependent - however, a warning is the desired result
Modified: trunk/tests/ext/pdo/pdo_stmt_fetchall_group.phpt
===================================================================
--- trunk/tests/ext/pdo/pdo_stmt_fetchall_group.phpt 2008-04-16 18:03:22 UTC (rev 1479)
+++ trunk/tests/ext/pdo/pdo_stmt_fetchall_group.phpt 2008-04-17 11:50:12 UTC (rev 1480)
@@ -254,21 +254,10 @@
}
}
fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_UNIQUE, PHP_INT_MAX + 1)
-array(3) {
- [5]=>
- array(1) {
- [0]=>
- string(1) "A"
- }
- [6]=>
- array(1) {
- [0]=>
- string(1) "A"
- }
- [7]=>
- array(1) {
- [0]=>
- string(1) "B"
- }
+
+Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: Invalid column index
in %s on line %d
+
+Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error in %d on line %d
+array(0) {
}
done!
\ No newline at end of file
| Thread |
|---|
| • PHP mysqlnd svn commit: r1480 - trunk/tests/ext/pdo | uwendel | 17 Apr |