Home
last modified time | relevance | path

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

/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_loaddata.c46 info->error_no = CR_UNKNOWN_ERROR; in mysqlnd_local_infile_init()
56 info->error_no = MYSQLND_EE_FILENOTFOUND; in mysqlnd_local_infile_init()
78 info->error_no = CR_UNKNOWN_ERROR; in mysqlnd_local_infile_read()
96 DBG_INF_FMT("have info, %d", info->error_no); in mysqlnd_local_infile_error()
97 DBG_RETURN(info->error_no); in mysqlnd_local_infile_error()
H A Dmysqlnd_wireprotocol.h88 unsigned int error_no; member
125 unsigned int error_no; member
155 unsigned int error_no; member
176 unsigned int error_no; member
H A Dmysqlnd_auth.c122 if (conn->error_info->error_no) { in mysqlnd_run_authentication()
158 DBG_INF_FMT("conn->error_info->error_no = %d", conn->error_info->error_no); in mysqlnd_run_authentication()
159 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL); in mysqlnd_run_authentication()
342 …DBG_ERR_FMT("ERROR:%u [SQLSTATE:%s] %s", auth_resp_packet->error_no, auth_resp_packet->sqlstate, a… in mysqlnd_auth_handshake()
344 …SET_CLIENT_ERROR(conn->error_info, auth_resp_packet->error_no, UNKNOWN_SQLSTATE, auth_resp_packet-… in mysqlnd_auth_handshake()
465 if (conn->error_info->error_no) { in mysqlnd_auth_change_user()
H A Dmysqlnd_wireprotocol.c201 unsigned int *error_no, char *sqlstate) in php_mysqlnd_read_error_from_line() argument
208 *error_no = CR_UNKNOWN_ERROR; in php_mysqlnd_read_error_from_line()
212 *error_no = uint2korr(p); in php_mysqlnd_read_error_from_line()
363 &packet->error_no, packet->sqlstate in php_mysqlnd_greet_read()
370 if (packet->error_no == 1040) { in php_mysqlnd_greet_read()
699 &packet->error_no, packet->sqlstate in php_mysqlnd_auth_response_read()
867 &packet->error_no, packet->sqlstate in php_mysqlnd_ok_read()
963 &packet->error_no, packet->sqlstate in php_mysqlnd_eof_read()
1867 &packet->error_info.error_no, in php_mysqlnd_rowp_read()
2027 &packet->error_info.error_no, in php_mysqlnd_prepare_read()
[all …]
H A Dmysqlnd_connection.c103 info->error_no = 0; in MYSQLND_METHOD()
124 info->error_no = err_no; in MYSQLND_METHOD()
130 error_for_the_list.error_no = err_no; in MYSQLND_METHOD()
804 …DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info…
805 if (!conn->error_info->error_no) {
807 … E_WARNING, "[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info…
983 return conn->error_info->error_no;
1207 } else if (conn->error_info->error_no) {
1552 if (!conn->error_info->error_no) {
1558 …DBG_INF_FMT("Error from the server : (%u) %s", conn->error_info->error_no, conn->error_info->error…
H A Dmysqlnd_result.c433 if (rset_header->error_info.error_no) { in mysqlnd_query_read_result_set_header()
455 conn->error_info->error_no = 0; in mysqlnd_query_read_result_set_header()
776 if (row_packet->error_info.error_no) { in MYSQLND_METHOD()
778 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in MYSQLND_METHOD()
904 if (row_packet->error_info.error_no) { in MYSQLND_METHOD()
906 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in MYSQLND_METHOD()
H A Dmysqlnd_structs.h136 #define COPY_CLIENT_ERROR(dest, source) SET_CLIENT_ERROR((dest), (source).error_no, (source).sq…
154 unsigned int error_no; member
166 unsigned int error_no; member
173 int error_no; member
H A Dmysqlnd_result_meta.c80 if (field_packet->error_info.error_no) { in MYSQLND_METHOD()
H A Dmysqlnd_commands.c1310 } 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()
H A Dmysqlnd_ps.c958 if (row_packet->error_info.error_no) { in mysqlnd_stmt_fetch_row_unbuffered()
1790 return stmt? stmt->error_info->error_no : 0; in MYSQLND_METHOD()
/PHP-7.2/ext/mysqli/
H A Dmysqli_prop.c129 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read()
199 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in link_error_list_read()
389 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in stmt_error_list_read()
H A Dmysqli_nonapi.c47 MyG(error_no) = mysql_errno; in php_mysqli_set_error()
379 RETURN_LONG(MyG(error_no));
486 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
527 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
H A Dphp_mysqli_structs.h332 zend_long error_no; variable
H A Dmysqli.c926 MyG(error_no) = 0; in PHP_RINIT_FUNCTION()

Completed in 72 milliseconds