From: Michael Wallner Date: Fri, 29 May 2015 07:50:13 +0000 (+0200) Subject: bump cursor prophandler count X-Git-Tag: v0.6.0RC1~5 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=commitdiff_plain;h=0e9cb8f91c2ae7319f8ae2f4b8d6447c90be60f1;hp=73cc53bc78ac31cf37f24f16573e22616c90b3b6 bump cursor prophandler count --- 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);