Lines Matching refs:param_bind
671 if (!stmt->param_bind) { in MYSQLND_METHOD()
677 if (Z_ISUNDEF(stmt->param_bind[i].zv)) { in MYSQLND_METHOD()
919 if (stmt->param_bind) { in MYSQLND_METHOD()
924 if (stmt->param_bind[i].flags & MYSQLND_PARAM_BIND_BLOB_USED) { in MYSQLND_METHOD()
925 stmt->param_bind[i].flags &= ~MYSQLND_PARAM_BIND_BLOB_USED; in MYSQLND_METHOD()
1017 if (!stmt->param_bind) { in MYSQLND_METHOD()
1027 if (stmt->param_bind[param_no].type != MYSQL_TYPE_LONG_BLOB) { in MYSQLND_METHOD()
1037 stmt->param_bind[param_no].flags |= MYSQLND_PARAM_BIND_BLOB_USED; in MYSQLND_METHOD()
1099 …ETHOD(mysqlnd_stmt, bind_parameters)(MYSQLND_STMT * const s, MYSQLND_PARAM_BIND * const param_bind) in MYSQLND_METHOD()
1113 if (param_bind) { in MYSQLND_METHOD()
1114 s->m->free_parameter_bind(s, param_bind); in MYSQLND_METHOD()
1125 if (!param_bind) { in MYSQLND_METHOD()
1129 } else if (stmt->param_bind) { in MYSQLND_METHOD()
1140 zval_ptr_dtor(&stmt->param_bind[i].zv); in MYSQLND_METHOD()
1142 if (stmt->param_bind != param_bind) { in MYSQLND_METHOD()
1143 s->m->free_parameter_bind(s, stmt->param_bind); in MYSQLND_METHOD()
1147 stmt->param_bind = param_bind; in MYSQLND_METHOD()
1150 DBG_INF_FMT("%u is of type %u", i, stmt->param_bind[i].type); in MYSQLND_METHOD()
1153 Z_TRY_ADDREF(stmt->param_bind[i].zv); in MYSQLND_METHOD()
1154 stmt->param_bind[i].flags = 0; in MYSQLND_METHOD()
1155 if (stmt->param_bind[i].type == MYSQL_TYPE_LONG_BLOB) { in MYSQLND_METHOD()
1156 stmt->param_bind[i].flags &= ~MYSQLND_PARAM_BIND_BLOB_USED; in MYSQLND_METHOD()
1160 } else if (param_bind && param_bind != stmt->param_bind) { in MYSQLND_METHOD()
1161 s->m->free_parameter_bind(s, param_bind); in MYSQLND_METHOD()
1198 if (!stmt->param_bind) { in MYSQLND_METHOD()
1199 stmt->param_bind = mnd_ecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND)); in MYSQLND_METHOD()
1200 if (!stmt->param_bind) { in MYSQLND_METHOD()
1210 zval_ptr_dtor(&stmt->param_bind[param_no].zv); in MYSQLND_METHOD()
1213 stmt->param_bind[param_no].flags &= ~MYSQLND_PARAM_BIND_BLOB_USED; in MYSQLND_METHOD()
1215 ZVAL_COPY_VALUE(&stmt->param_bind[param_no].zv, zv); in MYSQLND_METHOD()
1216 stmt->param_bind[param_no].type = type; in MYSQLND_METHOD()
1739 …" ZEND_ULONG_FMT " param_bind=%p param_count=%u", stmt->stmt_id, stmt->param_bind, stmt->param_cou… in MYSQLND_METHOD()
1742 if (stmt->param_bind) { in MYSQLND_METHOD()
1754 zval_ptr_dtor(&stmt->param_bind[i].zv); in MYSQLND_METHOD()
1756 s->m->free_parameter_bind(s, stmt->param_bind); in MYSQLND_METHOD()
1757 stmt->param_bind = NULL; in MYSQLND_METHOD()
1905 …_METHOD(mysqlnd_stmt, free_parameter_bind)(MYSQLND_STMT * const s, MYSQLND_PARAM_BIND * param_bind) in MYSQLND_METHOD()
1909 mnd_efree(param_bind); in MYSQLND_METHOD()