svn: /php/php-src/trunk/ext/pdo/ pdo_stmt.c
| From: | Felipe Pena | Date: | Wed, 02 Jun 2010 16:54:13 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/pdo/ pdo_stmt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62797@lists.php.net to get a copy of this message | ||
felipe Wed, 02 Jun 2010 16:54:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300097
Log:
- Removed clone_obj from PDORow object handlers, as zend_objects_store_clone_obj requires a clone
handler (ce->clone == NULL -> error) and it is not supplied, hence it is being useless and
leading ReflectionClass::isCloneable() to give false positive information
Changed paths:
U php/php-src/trunk/ext/pdo/pdo_stmt.c
Modified: php/php-src/trunk/ext/pdo/pdo_stmt.c
===================================================================
--- php/php-src/trunk/ext/pdo/pdo_stmt.c 2010-06-02 15:29:42 UTC (rev 300096)
+++ php/php-src/trunk/ext/pdo/pdo_stmt.c 2010-06-02 16:54:13 UTC (rev 300097)
@@ -2754,7 +2754,9 @@
}
zend_object_handlers pdo_row_object_handlers = {
- ZEND_OBJECTS_STORE_HANDLERS,
+ zend_objects_store_add_ref,
+ zend_objects_store_del_ref,
+ NULL,
row_prop_read,
row_prop_write,
row_dim_read,