bump cursor prophandler count
authorMichael Wallner <mike@php.net>
Fri, 29 May 2015 07:50:13 +0000 (09:50 +0200)
committerMichael Wallner <mike@php.net>
Fri, 29 May 2015 07:50:13 +0000 (09:50 +0200)
TODO
src/php_pqcur.c

diff --git a/TODO b/TODO
index 4f7fadb..0de7dd6 100644 (file)
--- 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
index a81f38e..58ffd86 100644 (file)
@@ -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);