summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-07-01 18:23:06 +0300
committerDmitry Stogov <dmitry@zend.com>2015-07-01 18:23:06 +0300
commit068f63ceb263a5595227b9f1de77a6be6d456c71 (patch)
tree3bfbcca957e2cc0ec5055cdd4b9863773b7f1a58
parent2ea3258ed5ed89dbb53df55a848f8a0aa9f10a14 (diff)
downloadphp-git-068f63ceb263a5595227b9f1de77a6be6d456c71.tar.gz
Fixed broken name
-rw-r--r--ext/mysqli/mysqli_warning.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mysqli/mysqli_warning.c b/ext/mysqli/mysqli_warning.c
index 7d69ce62ec..fa42e87130 100644
--- a/ext/mysqli/mysqli_warning.c
+++ b/ext/mysqli/mysqli_warning.c
@@ -29,7 +29,7 @@
#include "mysqli_priv.h"
/* Define these in the PHP7 tree to make merging easy process */
-#define Zzend_string_dupLICATE (1<<0)
+#define ZSTR_DUPLICATE (1<<0)
#define ZSTR_AUTOFREE (1<<1)
#define ZVAL_UTF8_STRING(z, s, flags) ZVAL_STRING((z), (char*)(s))
@@ -59,9 +59,9 @@ MYSQLI_WARNING *php_new_warning(const char *reason, int errorno)
w = (MYSQLI_WARNING *)ecalloc(1, sizeof(MYSQLI_WARNING));
- ZVAL_UTF8_STRING(&(w->reason), reason, Zzend_string_dupLICATE);
+ ZVAL_UTF8_STRING(&(w->reason), reason, ZSTR_DUPLICATE);
- ZVAL_UTF8_STRINGL(&(w->sqlstate), "HY000", sizeof("HY000") - 1, Zzend_string_dupLICATE);
+ ZVAL_UTF8_STRINGL(&(w->sqlstate), "HY000", sizeof("HY000") - 1, ZSTR_DUPLICATE);
w->errorno = errorno;
@@ -108,7 +108,7 @@ MYSQLI_WARNING *php_new_warning(zval * reason, int errorno)
ZVAL_COPY(&w->reason, reason);
convert_to_string(&w->reason);
- ZVAL_UTF8_STRINGL(&(w->sqlstate), "HY000", sizeof("HY000") - 1, Zzend_string_dupLICATE);
+ ZVAL_UTF8_STRINGL(&(w->sqlstate), "HY000", sizeof("HY000") - 1, ZSTR_DUPLICATE);
w->errorno = errorno;