wez Mon Jul 11 22:38:43 2005 EDT Modified files: /php-src/ext/pdo/tests pdo_018.phpt Log: should always bind columns after execute. There're probably more of these to fix. http://cvs.php.net/diff.php/php-src/ext/pdo/tests/pdo_018.phpt?r1=1.9&r2=1.10&ty=u Index: php-src/ext/pdo/tests/pdo_018.phpt diff -u php-src/ext/pdo/tests/pdo_018.phpt:1.9 php-src/ext/pdo/tests/pdo_018.phpt:1.10 --- php-src/ext/pdo/tests/pdo_018.phpt:1.9 Fri Jul 8 23:52:41 2005 +++ php-src/ext/pdo/tests/pdo_018.phpt Mon Jul 11 22:38:39 2005 @@ -85,7 +85,6 @@ $stmt = $db->prepare('SELECT id FROM classtypes WHERE name=:cname'); $stmt->bindParam(':cname', $cname); -$stmt->bindColumn('id', $ctype); $ctypes = array(); @@ -94,6 +93,7 @@ $cname = get_class($obj); $ctype = NULL; /* set default for non stored class name */ $stmt->execute(); + $stmt->bindColumn('id', $ctype); $stmt->fetch(PDO_FETCH_BOUND); $ctypes[$cname] = $ctype; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php