Home
last modified time | relevance | path

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

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_loaddata.c44 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 Dmysqlnd_wireprotocol.h76 unsigned int error_no; member
113 unsigned int error_no; member
143 unsigned int error_no; member
164 unsigned int error_no; member
297 unsigned int error_no; member
H A Dmysqlnd_wireprotocol.c200 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()
1361 info->error_no = err_no; in set_packet_error()
1768 &packet->error_info.error_no, in php_mysqlnd_rowp_read()
1920 &packet->error_info.error_no, in php_mysqlnd_prepare_read()
[all …]
H A Dmysqlnd_auth.c122 if (conn->error_info->error_no) { in mysqlnd_run_authentication()
160 DBG_INF_FMT("conn->error_info->error_no = %d", conn->error_info->error_no); in mysqlnd_run_authentication()
161 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL); in mysqlnd_run_authentication()
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()
478 if (conn->error_info->error_no) { in mysqlnd_auth_change_user()
1251 …DBG_ERR_FMT("ERROR:%u [SQLSTATE:%s] %s", result_packet.error_no, result_packet.sqlstate, result_pa… in mysqlnd_caching_sha2_handle_server_response()
1253 … SET_CLIENT_ERROR(conn->error_info, result_packet.error_no, UNKNOWN_SQLSTATE, result_packet.error); in mysqlnd_caching_sha2_handle_server_response()
H A Dmysqlnd_connection.c101 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()
792 …DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info…
793 if (!conn->error_info->error_no) {
795 … E_WARNING, "[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info…
964 return conn->error_info->error_no;
1165 if (FAIL == (ret = conn->m->query(conn, query, query_len)) || conn->error_info->error_no) {
1489 if (!conn->error_info->error_no) {
1495 …DBG_INF_FMT("Error from the server : (%u) %s", conn->error_info->error_no, conn->error_info->error…
H A Dmysqlnd_result.c392 if (conn->error_info->error_no != CR_SERVER_GONE_ERROR) { in mysqlnd_query_read_result_set_header()
398 if (rset_header.error_info.error_no) { in mysqlnd_query_read_result_set_header()
420 conn->error_info->error_no = 0; in mysqlnd_query_read_result_set_header()
740 if (row_packet->error_info.error_no) { in MYSQLND_METHOD()
742 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in MYSQLND_METHOD()
880 if (row_packet->error_info.error_no) { in MYSQLND_METHOD()
882 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in MYSQLND_METHOD()
H A Dmysqlnd_commands.c635 } else if (greet_packet.error_no) { in MYSQLND_METHOD()
636 DBG_ERR_FMT("errorno=%u error=%s", greet_packet.error_no, greet_packet.error); in MYSQLND_METHOD()
637 …SET_CLIENT_ERROR(conn->error_info, greet_packet.error_no, greet_packet.sqlstate, greet_packet.erro… in MYSQLND_METHOD()
H A Dmysqlnd_structs.h132 #define COPY_CLIENT_ERROR(dest, source) SET_CLIENT_ERROR((dest), (source).error_no, (source).sq…
150 unsigned int error_no; member
162 unsigned int error_no; member
169 int error_no; member
H A Dmysqlnd_result_meta.c66 if (field_packet.error_info.error_no) { in MYSQLND_METHOD()
H A Dmysqlnd_ps.c916 if (row_packet->error_info.error_no) { in mysqlnd_stmt_fetch_row_unbuffered()
1683 return stmt? stmt->error_info->error_no : 0; in MYSQLND_METHOD()
/PHP-8.0/ext/mysqli/
H A Dmysqli_prop.c132 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read()
205 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in link_error_list_read()
369 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in stmt_error_list_read()
H A Dphp_mysqli_structs.h286 zend_long error_no; variable
H A Dmysqli.c872 MyG(error_no) = 0; in PHP_RINIT_FUNCTION()
1140 unsigned error_no = conn->m->get_error_no(conn); in php_mysqli_fetch_into_hash_aux()
1141 if (error_no) { in php_mysqli_fetch_into_hash_aux()
1143 conn->m->get_sqlstate(conn), error_no, conn->m->get_error_str(conn)); in php_mysqli_fetch_into_hash_aux()
H A Dmysqli_nonapi.c38 MyG(error_no) = mysql_errno; in php_mysqli_set_error()
400 RETURN_LONG(MyG(error_no));
504 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
549 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);

Completed in 114 milliseconds