Lines Matching refs:result_packet
1238 MYSQLND_PACKET_CACHED_SHA2_RESULT result_packet; in mysqlnd_caching_sha2_handle_server_response() local
1245 conn->payload_decoder_factory->m.init_cached_sha2_result_packet(&result_packet); in mysqlnd_caching_sha2_handle_server_response()
1246 if (FAIL == PACKET_READ(conn, &result_packet)) { in mysqlnd_caching_sha2_handle_server_response()
1250 switch (result_packet.response_code) { in mysqlnd_caching_sha2_handle_server_response()
1252 if (result_packet.sqlstate[0]) { in mysqlnd_caching_sha2_handle_server_response()
1253 strlcpy(conn->error_info->sqlstate, result_packet.sqlstate, sizeof(conn->error_info->sqlstate)); in mysqlnd_caching_sha2_handle_server_response()
1254 …DBG_ERR_FMT("ERROR:%u [SQLSTATE:%s] %s", result_packet.error_no, result_packet.sqlstate, result_pa… in mysqlnd_caching_sha2_handle_server_response()
1256 … SET_CLIENT_ERROR(conn->error_info, result_packet.error_no, UNKNOWN_SQLSTATE, result_packet.error); in mysqlnd_caching_sha2_handle_server_response()
1260 *new_auth_protocol = result_packet.new_auth_protocol; in mysqlnd_caching_sha2_handle_server_response()
1261 *new_auth_protocol_len = result_packet.new_auth_protocol_len; in mysqlnd_caching_sha2_handle_server_response()
1262 *new_auth_protocol_data = result_packet.new_auth_protocol_data; in mysqlnd_caching_sha2_handle_server_response()
1263 *new_auth_protocol_data_len = result_packet.new_auth_protocol_data_len; in mysqlnd_caching_sha2_handle_server_response()
1271 result_packet.password = (zend_uchar *)passwd; in mysqlnd_caching_sha2_handle_server_response()
1272 result_packet.password_len = passwd_len + 1; in mysqlnd_caching_sha2_handle_server_response()
1273 PACKET_WRITE(conn, &result_packet); in mysqlnd_caching_sha2_handle_server_response()
1276 …result_packet.password_len = mysqlnd_caching_sha2_get_and_use_key(conn, auth_plugin_data, auth_plu… in mysqlnd_caching_sha2_handle_server_response()
1277 PACKET_WRITE(conn, &result_packet); in mysqlnd_caching_sha2_handle_server_response()
1278 efree(result_packet.password); in mysqlnd_caching_sha2_handle_server_response()
1286 …g, 0, "Unexpected server response while doing caching_sha2 auth: %i", result_packet.response_code); in mysqlnd_caching_sha2_handle_server_response()