Lines Matching refs:sqlstate
200 unsigned int *error_no, char *sqlstate) in php_mysqlnd_read_error_from_line() argument
208 memcpy(sqlstate, unknown_sqlstate, MYSQLND_SQLSTATE_LENGTH); in php_mysqlnd_read_error_from_line()
220 memcpy(sqlstate, p, MYSQLND_SQLSTATE_LENGTH); in php_mysqlnd_read_error_from_line()
232 sqlstate[MYSQLND_SQLSTATE_LENGTH] = '\0'; in php_mysqlnd_read_error_from_line()
276 &error_info->error_no, error_info->sqlstate in mysqlnd_read_header()
370 &packet->error_no, packet->sqlstate in php_mysqlnd_greet_read()
378 memcpy(packet->sqlstate, "08004", MYSQLND_SQLSTATE_LENGTH); in php_mysqlnd_greet_read()
700 &packet->error_no, packet->sqlstate in php_mysqlnd_auth_response_read()
860 &packet->error_no, packet->sqlstate in php_mysqlnd_ok_read()
953 &packet->error_no, packet->sqlstate in php_mysqlnd_eof_read()
1084 &packet->error_info.error_no, packet->error_info.sqlstate in php_mysqlnd_rset_header_read()
1226 &packet->error_info.error_no, packet->error_info.sqlstate in php_mysqlnd_rset_field_read()
1367 MYSQLND_ERROR_INFO *info, unsigned err_no, const char *sqlstate, const char *error) in set_packet_error() argument
1370 strlcpy(info->sqlstate, sqlstate, sizeof(info->sqlstate)); in set_packet_error()
1756 packet->error_info.sqlstate in php_mysqlnd_rowp_read()
1858 packet->error_info.sqlstate in php_mysqlnd_prepare_read()
1950 packet->error_info.sqlstate in php_mysqlnd_chg_user_read()
2129 &packet->error_no, packet->sqlstate in php_mysqlnd_cached_sha2_result_read()
2541 SET_CLIENT_ERROR(error_info, ok_response.error_no, ok_response.sqlstate, ok_response.error); in MYSQLND_METHOD()
2593 …DBG_INF_FMT("Error_no=%d SQLstate=%s Error=%s", response.error_no, response.sqlstate, response.err… in MYSQLND_METHOD()
2595 SET_CLIENT_ERROR(error_info, response.error_no, response.sqlstate, response.error); in MYSQLND_METHOD()