summaryrefslogtreecommitdiffstats
path: root/135.patch
diff options
context:
space:
mode:
Diffstat (limited to '135.patch')
-rw-r--r--135.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/135.patch b/135.patch
new file mode 100644
index 0000000..e4baad7
--- /dev/null
+++ b/135.patch
@@ -0,0 +1,22 @@
+From 84eb59673485cfcbb7c64a6916cd6a115915c233 Mon Sep 17 00:00:00 2001
+From: George Peter Banyard <girgias@php.net>
+Date: Fri, 12 Jul 2019 14:58:00 +0200
+Subject: [PATCH] Convert php_error_docref0() to php_error_docref()
+
+---
+ ext/src/Cluster/Builder.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/src/Cluster/Builder.c b/ext/src/Cluster/Builder.c
+index 22c5c7b8..97ca0d87 100644
+--- a/ext/src/Cluster/Builder.c
++++ b/ext/src/Cluster/Builder.c
+@@ -130,7 +130,7 @@ PHP_METHOD(ClusterBuilder, build)
+ rc = cass_cluster_set_use_hostname_resolution(cluster->cluster, self->enable_hostname_resolution);
+ if (rc == CASS_ERROR_LIB_NOT_IMPLEMENTED) {
+ if (self->enable_hostname_resolution) {
+- php_error_docref0(NULL TSRMLS_CC, E_WARNING,
++ php_error_docref(NULL TSRMLS_CC, E_WARNING,
+ "The underlying C/C++ driver does not implement hostname resolution it will be disabled");
+ }
+ } else {