cvs: pecl /pdo pdo_stmt.c
| From: | Wez Furlong | Date: | Sun, 13 Feb 2005 06:42:19 +0000 |
| Subject: | cvs: pecl /pdo pdo_stmt.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2540@lists.php.net to get a copy of this message | ||
wez Sun Feb 13 01:42:19 2005 EDT
Modified files:
/pecl/pdo pdo_stmt.c
Log:
Fix variable declaration
http://cvs.php.net/diff.php/pecl/pdo/pdo_stmt.c?r1=1.69&r2=1.70&ty=u
Index: pecl/pdo/pdo_stmt.c
diff -u pecl/pdo/pdo_stmt.c:1.69 pecl/pdo/pdo_stmt.c:1.70
--- pecl/pdo/pdo_stmt.c:1.69 Sun Feb 13 01:29:35 2005
+++ pecl/pdo/pdo_stmt.c Sun Feb 13 01:42:19 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdo_stmt.c,v 1.69 2005/02/13 06:29:35 wez Exp $ */
+/* $Id: pdo_stmt.c,v 1.70 2005/02/13 06:42:19 wez Exp $ */
/* The PDO Statement Handle Class */
@@ -82,7 +82,7 @@
* we will raise an error, as we can't be sure that it is safe
* to bind multiple parameters onto the same zval in the underlying
* driver */
- char **name;
+ char *name;
int position = 0;
zend_hash_internal_pointer_reset(stmt->bound_param_map);
while (SUCCESS == zend_hash_get_current_data(stmt->bound_param_map, (void**)&name)) {