diff --git a/TODO b/TODO index 4f7fadb..0de7dd6 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,4 @@ * COPY: getAsync & putAsync -* CURSOR: *Async() * fetchInto/fetchCtor? * binary protocol? * parse explicit array dimension information in front of arrays diff --git a/src/php_pqcur.c b/src/php_pqcur.c index a81f38e..58ffd86 100644 --- a/src/php_pqcur.c +++ b/src/php_pqcur.c @@ -445,7 +445,7 @@ PHP_MINIT_FUNCTION(pqcur) php_pqcur_object_handlers.get_properties = php_pq_object_properties; php_pqcur_object_handlers.get_debug_info = php_pq_object_debug_info; - zend_hash_init(&php_pqcur_object_prophandlers, 2, NULL, NULL, 1); + zend_hash_init(&php_pqcur_object_prophandlers, 4, NULL, NULL, 1); zend_declare_class_constant_long(php_pqcur_class_entry, ZEND_STRL("BINARY"), PHP_PQ_DECLARE_BINARY TSRMLS_CC); zend_declare_class_constant_long(php_pqcur_class_entry, ZEND_STRL("INSENSITIVE"), PHP_PQ_DECLARE_INSENSITIVE TSRMLS_CC);