iliaa Wed May 16 20:12:53 2007 UTC
Modified files:
/php-src/ext/pdo pdo_stmt.c
Log:
Fixed a typo
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.174&r2=1.175&diff_format=u
Index: php-src/ext/pdo/pdo_stmt.c
diff -u php-src/ext/pdo/pdo_stmt.c:1.174 php-src/ext/pdo/pdo_stmt.c:1.175
--- php-src/ext/pdo/pdo_stmt.c:1.174 Wed May 16 19:58:58 2007
+++ php-src/ext/pdo/pdo_stmt.c Wed May 16 20:12:53 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdo_stmt.c,v 1.174 2007/05/16 19:58:58 iliaa Exp $ */
+/* $Id: pdo_stmt.c,v 1.175 2007/05/16 20:12:53 iliaa Exp $ */
/* The PDO Statement Handle Class */
@@ -1043,7 +1043,7 @@
if (Z_TYPE_P(val) == IS_STRING)
{
zend_symtable_update(Z_ARRVAL_P(return_value), Z_STRVAL_P(val), Z_STRLEN_P(val)
+ 1, &tmp, sizeof(zval *), NULL);
- } else if (Z_TYPE_P(val) =
IS_LONG) {
+ } else if (Z_TYPE_P(val) ==
IS_LONG) {
zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_P(val), tmp,
sizeof(tmp), NULL);
} else {
convert_to_string(val);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php