Home
last modified time | relevance | path

Searched refs:auth_resp_packet (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.c262 MYSQLND_PACKET_AUTH_RESPONSE auth_resp_packet; in mysqlnd_auth_handshake() local
330 if (FAIL == PACKET_READ(conn, &auth_resp_packet) || auth_resp_packet.response_code >= 0xFE) { in mysqlnd_auth_handshake()
331 if (auth_resp_packet.response_code == 0xFE) { in mysqlnd_auth_handshake()
333 if (!auth_resp_packet.new_auth_protocol) { in mysqlnd_auth_handshake()
337 …*switch_to_auth_protocol = mnd_pestrndup(auth_resp_packet.new_auth_protocol, auth_resp_packet.new_… in mysqlnd_auth_handshake()
339 if (auth_resp_packet.new_auth_protocol_data) { in mysqlnd_auth_handshake()
349 if (auth_resp_packet.sqlstate[0]) { in mysqlnd_auth_handshake()
351 …DBG_ERR_FMT("ERROR:%u [SQLSTATE:%s] %s", auth_resp_packet.error_no, auth_resp_packet.sqlstate, aut… in mysqlnd_auth_handshake()
353 …SET_CLIENT_ERROR(conn->error_info, auth_resp_packet.error_no, UNKNOWN_SQLSTATE, auth_resp_packet.e… in mysqlnd_auth_handshake()
358 …EW_MESSAGE(conn->last_message.s, conn->last_message.l, auth_resp_packet.message, auth_resp_packet.… in mysqlnd_auth_handshake()
[all …]

Completed in 11 milliseconds