Lines Matching refs:ok_response
238 …MYSQLND_PACKET_OK * ok_response = conn->protocol->m.get_ok_packet(conn->protocol, FALSE TSRMLS_CC); in MYSQLND_METHOD() local
239 if (!ok_response) { in MYSQLND_METHOD()
243 if (FAIL == (ret = PACKET_READ(ok_response, conn))) { in MYSQLND_METHOD()
251 if (0xFF == ok_response->field_count) { in MYSQLND_METHOD()
253 …SET_CLIENT_ERROR(conn->error_info, ok_response->error_no, ok_response->sqlstate, ok_response->erro… in MYSQLND_METHOD()
268 ok_response->message, ok_response->message_len, in MYSQLND_METHOD()
272 conn->upsert_status.warning_count = ok_response->warning_count; in MYSQLND_METHOD()
273 conn->upsert_status.server_status = ok_response->server_status; in MYSQLND_METHOD()
274 conn->upsert_status.affected_rows = ok_response->affected_rows; in MYSQLND_METHOD()
275 conn->upsert_status.last_insert_id = ok_response->last_insert_id; in MYSQLND_METHOD()
279 PACKET_FREE(ok_response); in MYSQLND_METHOD()
283 …MYSQLND_PACKET_EOF * ok_response = conn->protocol->m.get_eof_packet(conn->protocol, FALSE TSRMLS_C… in MYSQLND_METHOD() local
284 if (!ok_response) { in MYSQLND_METHOD()
288 if (FAIL == (ret = PACKET_READ(ok_response, conn))) { in MYSQLND_METHOD()
296 } else if (0xFF == ok_response->field_count) { in MYSQLND_METHOD()
298 …SET_CLIENT_ERROR(conn->error_info, ok_response->error_no, ok_response->sqlstate, ok_response->erro… in MYSQLND_METHOD()
300 } else if (0xFE != ok_response->field_count) { in MYSQLND_METHOD()
303 … DBG_ERR_FMT("EOF packet expected, field count wasn't 0xFE but 0x%2X", ok_response->field_count); in MYSQLND_METHOD()
305 ok_response->field_count); in MYSQLND_METHOD()
310 PACKET_FREE(ok_response); in MYSQLND_METHOD()