Lines Matching refs:greet_packet
1294 MYSQLND_PACKET_GREET * greet_packet; in mysqlnd_com_handshake_run() local
1300 …greet_packet = conn->payload_decoder_factory->m.get_greet_packet(conn->payload_decoder_factory, FA… in mysqlnd_com_handshake_run()
1301 if (!greet_packet) { in mysqlnd_com_handshake_run()
1306 if (FAIL == PACKET_READ(greet_packet)) { in mysqlnd_com_handshake_run()
1310 } else if (greet_packet->error_no) { in mysqlnd_com_handshake_run()
1311 DBG_ERR_FMT("errorno=%u error=%s", greet_packet->error_no, greet_packet->error); in mysqlnd_com_handshake_run()
1312 …SET_CLIENT_ERROR(conn->error_info, greet_packet->error_no, greet_packet->sqlstate, greet_packet->e… in mysqlnd_com_handshake_run()
1314 } else if (greet_packet->pre41) { in mysqlnd_com_handshake_run()
1315 …DBG_ERR_FMT("Connecting to 3.22, 3.23 & 4.0 is not supported. Server is %-.32s", greet_packet->ser… in mysqlnd_com_handshake_run()
1317 " is not supported. Server is %-.32s", greet_packet->server_version); in mysqlnd_com_handshake_run()
1323 conn->thread_id = greet_packet->thread_id; in mysqlnd_com_handshake_run()
1324 conn->protocol_version = greet_packet->protocol_version; in mysqlnd_com_handshake_run()
1325 conn->server_version = mnd_pestrdup(greet_packet->server_version, conn->persistent); in mysqlnd_com_handshake_run()
1327 conn->greet_charset = mysqlnd_find_charset_nr(greet_packet->charset_no); in mysqlnd_com_handshake_run()
1330 …"Server sent charset (%d) unknown to the client. Please, report to the developers", greet_packet->… in mysqlnd_com_handshake_run()
1336 conn->server_capabilities = greet_packet->server_capabilities; in mysqlnd_com_handshake_run()
1339 greet_packet->authentication_plugin_data, greet_packet->auth_protocol, in mysqlnd_com_handshake_run()
1340 greet_packet->charset_no, greet_packet->server_capabilities, in mysqlnd_com_handshake_run()
1347 UPSERT_STATUS_SET_SERVER_STATUS(conn->upsert_status, greet_packet->server_status); in mysqlnd_com_handshake_run()
1349 PACKET_FREE(greet_packet); in mysqlnd_com_handshake_run()
1353 PACKET_FREE(greet_packet); in mysqlnd_com_handshake_run()