Home
last modified time | relevance | path

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

/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_loaddata.c48 info->error_no = CR_UNKNOWN_ERROR; in mysqlnd_local_infile_init()
58 info->error_no = MYSQLND_EE_FILENOTFOUND; in mysqlnd_local_infile_init()
80 info->error_no = CR_UNKNOWN_ERROR; in mysqlnd_local_infile_read()
98 DBG_INF_FMT("have info, %d", info->error_no); in mysqlnd_local_infile_error()
99 DBG_RETURN(info->error_no); in mysqlnd_local_infile_error()
H A Dmysqlnd_priv.h115 (error_info).error_no = 0; \
129 (error_info).error_no = (a); \
135 error_for_the_list.error_no = (a); \
149 …SET_CLIENT_ERROR((error_info_to), (error_info_from).error_no, (error_info_from).sqlstate, (error_i…
H A Dmysqlnd_wireprotocol.h85 unsigned int error_no; member
122 unsigned int error_no; member
152 unsigned int error_no; member
174 unsigned int error_no; member
H A Dmysqlnd_wireprotocol.c238 unsigned int *error_no, char *sqlstate TSRMLS_DC) in php_mysqlnd_read_error_from_line() argument
245 *error_no = CR_UNKNOWN_ERROR; in php_mysqlnd_read_error_from_line()
249 *error_no = uint2korr(p); in php_mysqlnd_read_error_from_line()
354 &packet->error_no, packet->sqlstate in php_mysqlnd_greet_read()
361 if (packet->error_no == 1040) { in php_mysqlnd_greet_read()
674 &packet->error_no, packet->sqlstate in php_mysqlnd_auth_response_read()
829 &packet->error_no, packet->sqlstate in php_mysqlnd_ok_read()
919 &packet->error_no, packet->sqlstate in php_mysqlnd_eof_read()
1807 &packet->error_info.error_no, in php_mysqlnd_rowp_read()
1953 &packet->error_info.error_no, in php_mysqlnd_prepare_read()
[all …]
H A Dmysqlnd_auth.c135 …DBG_ERR_FMT("ERROR:%u [SQLSTATE:%s] %s", auth_resp_packet->error_no, auth_resp_packet->sqlstate, a… in mysqlnd_auth_handshake()
137 …SET_CLIENT_ERROR(*conn->error_info, auth_resp_packet->error_no, UNKNOWN_SQLSTATE, auth_resp_packet… in mysqlnd_auth_handshake()
255 if (conn->error_info->error_no) { in mysqlnd_auth_change_user()
H A Dmysqlnd.c287 …SET_CLIENT_ERROR(*conn->error_info, ok_response->error_no, ok_response->sqlstate, ok_response->err… in MYSQLND_METHOD()
603 if (conn->error_info->error_no) { in mysqlnd_run_authentication()
639 DBG_INF_FMT("conn->error_info->error_no = %d", conn->error_info->error_no); in mysqlnd_run_authentication()
640 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL); in mysqlnd_run_authentication()
792 } else if (greet_packet->error_no) { in MYSQLND_METHOD()
793 DBG_ERR_FMT("errorno=%u error=%s", greet_packet->error_no, greet_packet->error); in MYSQLND_METHOD()
1076 if (!conn->error_info->error_no) {
1079 conn->error_info->error_no, conn->error_info->error, conn->scheme);
1556 return conn->error_info->error_no;
1813 } else if (conn->error_info->error_no) {
[all …]
H A Dmysqlnd_result.c379 if (rset_header->error_info.error_no) { in mysqlnd_query_read_result_set_header()
401 conn->error_info->error_no = 0; in mysqlnd_query_read_result_set_header()
697 if (row_packet->error_info.error_no) { in mysqlnd_fetch_row_unbuffered_c()
699 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in mysqlnd_fetch_row_unbuffered_c()
824 if (row_packet->error_info.error_no) { in mysqlnd_fetch_row_unbuffered()
826 … DBG_ERR_FMT("errorno=%u error=%s", row_packet->error_info.error_no, row_packet->error_info.error); in mysqlnd_fetch_row_unbuffered()
H A Dmysqlnd_structs.h113 unsigned int error_no; member
122 unsigned int error_no; member
129 int error_no; member
H A Dmysqlnd_result_meta.c124 if (field_packet->error_info.error_no) { in MYSQLND_METHOD()
H A Dmysqlnd_ps.c900 if (row_packet->error_info.error_no) { in mysqlnd_stmt_fetch_row_unbuffered()
1708 return stmt? stmt->error_info->error_no : 0; in MYSQLND_METHOD()
/PHP-5.5/ext/mysqli/
H A Dmysqli_prop.c139 ZVAL_LONG(*retval, (long)MyG(error_no)); in link_connect_errno_read()
218 add_assoc_long_ex(single_error, "errno", sizeof("errno"), message->error_no); in link_error_list_read()
415 add_assoc_long_ex(single_error, "errno", sizeof("errno"), message->error_no); in stmt_error_list_read()
H A Dmysqli_nonapi.c47 MyG(error_no) = mysql_errno; in php_mysqli_set_error()
329 RETURN_LONG(MyG(error_no));
442 add_assoc_long_ex(single_error, "errno", sizeof("errno"), message->error_no);
486 add_assoc_long_ex(single_error, "errno", sizeof("errno"), message->error_no);
H A Dphp_mysqli_structs.h335 long error_no; variable
H A Dmysqli.c913 MyG(error_no) = 0; in PHP_RINIT_FUNCTION()

Completed in 76 milliseconds