/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_loaddata.c | 46 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 D | mysqlnd_wireprotocol.h | 88 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 D | mysqlnd_auth.c | 122 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() 462 if (conn->error_info->error_no) { in mysqlnd_auth_change_user()
|
H A D | mysqlnd_wireprotocol.c | 201 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() 697 &packet->error_no, packet->sqlstate in php_mysqlnd_auth_response_read() 865 &packet->error_no, packet->sqlstate in php_mysqlnd_ok_read() 961 &packet->error_no, packet->sqlstate in php_mysqlnd_eof_read() 1861 &packet->error_info.error_no, in php_mysqlnd_rowp_read() 2021 &packet->error_info.error_no, in php_mysqlnd_prepare_read() [all …]
|
H A D | mysqlnd_connection.c | 103 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() 799 …DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info… 800 if (!conn->error_info->error_no) { 802 … E_WARNING, "[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info… 975 return conn->error_info->error_no; 1199 } else if (conn->error_info->error_no) { 1536 if (!conn->error_info->error_no) { 1542 …DBG_INF_FMT("Error from the server : (%u) %s", conn->error_info->error_no, conn->error_info->error…
|
H A D | mysqlnd_result.c | 433 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 D | mysqlnd_structs.h | 136 #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 D | mysqlnd_result_meta.c | 80 if (field_packet->error_info.error_no) { in MYSQLND_METHOD()
|
H A D | mysqlnd_commands.c | 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()
|
H A D | mysqlnd_ps.c | 958 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.1/ext/mysqli/ |
H A D | mysqli_prop.c | 129 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 D | mysqli_nonapi.c | 47 MyG(error_no) = mysql_errno; in php_mysqli_set_error() 330 RETURN_LONG(MyG(error_no)); 437 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); 478 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
|
H A D | php_mysqli_structs.h | 332 zend_long error_no; variable
|
H A D | mysqli.c | 923 MyG(error_no) = 0; in PHP_RINIT_FUNCTION()
|