/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.h | 76 unsigned int error_no; member 113 unsigned int error_no; member 143 unsigned int error_no; member 164 unsigned int error_no; member 295 unsigned int error_no; member
|
H A D | mysqlnd_loaddata.c | 44 info->error_no = CR_UNKNOWN_ERROR; in mysqlnd_local_infile_init() 54 info->error_no = MYSQLND_EE_FILENOTFOUND; in mysqlnd_local_infile_init() 76 info->error_no = CR_UNKNOWN_ERROR; in mysqlnd_local_infile_read() 94 DBG_INF_FMT("have info, %d", info->error_no); in mysqlnd_local_infile_error() 95 DBG_RETURN(info->error_no); in mysqlnd_local_infile_error()
|
H A D | mysqlnd_wireprotocol.c | 200 unsigned int *error_no, char *sqlstate) in php_mysqlnd_read_error_from_line() argument 207 *error_no = CR_UNKNOWN_ERROR; in php_mysqlnd_read_error_from_line() 211 *error_no = uint2korr(p); in php_mysqlnd_read_error_from_line() 362 &packet->error_no, packet->sqlstate in php_mysqlnd_greet_read() 369 if (packet->error_no == 1040) { in php_mysqlnd_greet_read() 686 &packet->error_no, packet->sqlstate in php_mysqlnd_auth_response_read() 843 &packet->error_no, packet->sqlstate in php_mysqlnd_ok_read() 1348 info->error_no = err_no; in set_packet_error() 1714 &packet->error_info.error_no, in php_mysqlnd_rowp_read() 1816 &packet->error_info.error_no, in php_mysqlnd_prepare_read() [all …]
|
H A D | mysqlnd_auth.c | 117 if (conn->error_info->error_no) { in mysqlnd_run_authentication() 155 DBG_INF_FMT("conn->error_info->error_no = %d", conn->error_info->error_no); in mysqlnd_run_authentication() 156 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL); in mysqlnd_run_authentication() 346 …DBG_ERR_FMT("ERROR:%u [SQLSTATE:%s] %s", auth_resp_packet.error_no, auth_resp_packet.sqlstate, aut… in mysqlnd_auth_handshake() 348 …SET_CLIENT_ERROR(conn->error_info, auth_resp_packet.error_no, UNKNOWN_SQLSTATE, auth_resp_packet.e… in mysqlnd_auth_handshake() 473 if (conn->error_info->error_no) { in mysqlnd_auth_change_user() 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()
|
H A D | mysqlnd_result.c | 188 if (conn->error_info->error_no != CR_SERVER_GONE_ERROR) { in mysqlnd_query_read_result_set_header() 194 if (rset_header.error_info.error_no) { in mysqlnd_query_read_result_set_header() 216 conn->error_info->error_no = 0; in mysqlnd_query_read_result_set_header() 473 if (row_packet->error_info.error_no) { in MYSQLND_METHOD() 478 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in MYSQLND_METHOD()
|
H A D | mysqlnd_connection.c | 101 info->error_no = 0; in MYSQLND_METHOD() 122 info->error_no = err_no; in MYSQLND_METHOD() 126 error_for_the_list.error_no = err_no; in MYSQLND_METHOD() 729 …DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info… 730 if (!conn->error_info->error_no) { 872 return conn->error_info->error_no; 1026 if (FAIL == (ret = conn->m->query(conn, query, query_len)) || conn->error_info->error_no) { 1329 if (!conn->error_info->error_no) { 1335 …DBG_INF_FMT("Error from the server : (%u) %s", conn->error_info->error_no, conn->error_info->error…
|
H A D | mysqlnd_commands.c | 628 } else if (greet_packet.error_no) { in MYSQLND_METHOD() 629 DBG_ERR_FMT("errorno=%u error=%s", greet_packet.error_no, greet_packet.error); in MYSQLND_METHOD() 630 …SET_CLIENT_ERROR(conn->error_info, greet_packet.error_no, greet_packet.sqlstate, greet_packet.erro… in MYSQLND_METHOD()
|
H A D | mysqlnd_structs.h | 128 #define COPY_CLIENT_ERROR(dest, source) SET_CLIENT_ERROR((dest), (source).error_no, (source).sq… 146 unsigned int error_no; member 158 unsigned int error_no; member 165 int error_no; member
|
H A D | mysqlnd_result_meta.c | 66 if (field_packet.error_info.error_no) { in MYSQLND_METHOD()
|
H A D | mysqlnd_ps.c | 1430 return stmt? stmt->error_info->error_no : 0; in MYSQLND_METHOD()
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_prop.c | 149 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read() 217 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in link_error_list_read() 372 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in stmt_error_list_read()
|
H A D | php_mysqli_structs.h | 271 zend_long error_no; variable
|
H A D | mysqli_nonapi.c | 38 MyG(error_no) = mysql_errno; in php_mysqli_set_error() 405 RETURN_LONG(MyG(error_no)); 552 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); 597 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
|
H A D | mysqli.c | 829 MyG(error_no) = 0; in PHP_RINIT_FUNCTION() 1097 unsigned error_no = conn->m->get_error_no(conn); in php_mysqli_fetch_into_hash_aux() 1098 if (error_no) { in php_mysqli_fetch_into_hash_aux() 1100 conn->m->get_sqlstate(conn), error_no, conn->m->get_error_str(conn)); in php_mysqli_fetch_into_hash_aux()
|