From: Antony Dovgal Date: Sun, 7 Oct 2007 12:23:29 +0000 (+0000) Subject: fix typos X-Git-Tag: RELEASE_2_0_0a1~1639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9ded30d23ee66e72a44a085476c387e0a3097de;p=php fix typos --- diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index 19fc79ef03..219da141c8 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -1494,7 +1494,7 @@ void mysqlnd_stmt_separate_result_bind(MYSQLND_STMT * const stmt TSRMLS_DC) for (i = 0; i < stmt->field_count; i++) { /* Let's try with no cache */ if (stmt->result_bind[i].bound == TRUE) { - DBG_INF_FMT("%d has refcount=%u", i, ZVAL_REFCOUNT(stmt->result_bind[i].zv)); + DBG_INF_FMT("%d has refcount=%u", i, Z_REFCOUNT_P(stmt->result_bind[i].zv)); /* We have to separate the actual zval value of the bound variable from our allocated zvals or we will face double-free diff --git a/ext/mysqlnd/mysqlnd_result.c b/ext/mysqlnd/mysqlnd_result.c index 7f037d1fdb..80fcf531f6 100644 --- a/ext/mysqlnd/mysqlnd_result.c +++ b/ext/mysqlnd/mysqlnd_result.c @@ -1138,7 +1138,7 @@ MYSQLND_METHOD(mysqlnd_res, fetch_field_data)(MYSQLND_RES *result, unsigned int *return_value = **entry; zval_copy_ctor(return_value); - Z_REFCOUNT_P(return_value) = 1; + Z_SET_REFCOUNT_P(return_value, 1); zval_dtor(&row); DBG_VOID_RETURN;