From 0e9cb8f91c2ae7319f8ae2f4b8d6447c90be60f1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 29 May 2015 09:50:13 +0200 Subject: [PATCH] bump cursor prophandler count --- TODO | 1 - src/php_pqcur.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.30.2