Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-10-20 16:37:11 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-10-20 16:46:05 +0300
commit9d15f07adb0de7ae02111f942bf7d0957bbc25d0 (patch)
tree13356925721c75bf2d5aff2e98d9d9f201e54a81 /redis_cluster.c
parent75e7c81dad243eda06c332dcd4c5ecfe2e0c4a68 (diff)
Issue #1224
Diffstat (limited to 'redis_cluster.c')
-rw-r--r--redis_cluster.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis_cluster.c b/redis_cluster.c
index 94b0077c..f1136471 100644
--- a/redis_cluster.c
+++ b/redis_cluster.c
@@ -332,6 +332,8 @@ create_cluster_context(zend_class_entry *class_type TSRMLS_DC) {
zend_hash_copy(cluster->std.properties, &class_type->default_properties,
(copy_ctor_func_t)zval_add_ref, (void*)&tmp, sizeof(zval*));
+#else
+ object_properties_init(&cluster->std, class_type);
#endif
retval.handle = zend_objects_store_put(cluster,