Lines Matching refs:error_info
163 if (conn->error_info->error_list) { in MYSQLND_METHOD()
164 zend_llist_clean(conn->error_info->error_list); in MYSQLND_METHOD()
165 mnd_pefree(conn->error_info->error_list, pers); in MYSQLND_METHOD()
166 conn->error_info->error_list = NULL; in MYSQLND_METHOD()
187 mysqlnd_net_free(conn->net, conn->stats, conn->error_info TSRMLS_CC); in MYSQLND_METHOD_PRIVATE()
222 SET_OOM_ERROR(*conn->error_info); in MYSQLND_METHOD()
235 …SET_CLIENT_ERROR(*conn->error_info, ok_response->error_no, ok_response->sqlstate, ok_response->err… in MYSQLND_METHOD()
268 SET_OOM_ERROR(*conn->error_info); in MYSQLND_METHOD()
272 SET_CLIENT_ERROR(*conn->error_info, CR_MALFORMED_PACKET, UNKNOWN_SQLSTATE, in MYSQLND_METHOD()
281 …SET_CLIENT_ERROR(*conn->error_info, ok_response->error_no, ok_response->sqlstate, ok_response->err… in MYSQLND_METHOD()
284 SET_CLIENT_ERROR(*conn->error_info, CR_MALFORMED_PACKET, UNKNOWN_SQLSTATE, "Malformed packet"); in MYSQLND_METHOD()
297 SET_CLIENT_ERROR(*conn->error_info, CR_MALFORMED_PACKET, UNKNOWN_SQLSTATE, "Malformed packet"); in MYSQLND_METHOD()
324 SET_CLIENT_ERROR(*conn->error_info, CR_SERVER_GONE_ERROR, UNKNOWN_SQLSTATE, mysqlnd_server_gone); in MYSQLND_METHOD()
328 …SET_CLIENT_ERROR(*conn->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync… in MYSQLND_METHOD()
334 SET_EMPTY_ERROR(*conn->error_info); in MYSQLND_METHOD()
338 SET_OOM_ERROR(*conn->error_info); in MYSQLND_METHOD()
432 SET_OOM_ERROR(*conn->error_info); in mysqlnd_switch_to_ssl_if_needed()
481 SET_CLIENT_ERROR(*conn->error_info, CR_SERVER_GONE_ERROR, UNKNOWN_SQLSTATE, mysqlnd_server_gone); in mysqlnd_switch_to_ssl_if_needed()
543 …SET_CLIENT_ERROR(*conn->error_info, CR_NOT_IMPLEMENTED, UNKNOWN_SQLSTATE, "The server requested au… in mysqlnd_connect_run_authentication()
565 SET_OOM_ERROR(*conn->error_info); in mysqlnd_connect_run_authentication()
600 DBG_INF_FMT("conn->error_info->error_no = %d", conn->error_info->error_no); in mysqlnd_connect_run_authentication()
601 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL); in mysqlnd_connect_run_authentication()
649 SET_EMPTY_ERROR(*conn->error_info);
731 SET_OOM_ERROR(*conn->error_info);
746 SET_OOM_ERROR(*conn->error_info);
751 conn->stats, conn->error_info TSRMLS_CC))
764 …SET_CLIENT_ERROR(*conn->error_info, greet_packet->error_no, greet_packet->sqlstate, greet_packet->…
770 SET_CLIENT_ERROR(*conn->error_info, CR_NOT_IMPLEMENTED, UNKNOWN_SQLSTATE,
783 SET_CLIENT_ERROR(*conn->error_info, CR_NOT_IMPLEMENTED, UNKNOWN_SQLSTATE,
849 SET_OOM_ERROR(*conn->error_info);
856 SET_OOM_ERROR(*conn->error_info);
864 SET_OOM_ERROR(*conn->error_info);
870 SET_OOM_ERROR(*conn->error_info);
882 SET_OOM_ERROR(*conn->error_info);
888 SET_OOM_ERROR(*conn->error_info);
895 SET_OOM_ERROR(*conn->error_info);
909 SET_EMPTY_ERROR(*conn->error_info);
959 …DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info…
960 if (!conn->error_info->error_no) {
961 …SET_CLIENT_ERROR(*conn->error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, conn->error_info->error…
963 conn->error_info->error_no, conn->error_info->error, conn->scheme);
1373 SET_OOM_ERROR(*conn->error_info);
1432 return conn->error_info->error_no;
1441 return conn->error_info->error;
1450 return conn->error_info->sqlstate[0] ? conn->error_info->sqlstate:MYSQLND_SQLSTATE_NULL;
1555 SET_OOM_ERROR(*conn->error_info);
1611 SET_OOM_ERROR(*conn->error_info);
1676 SET_CLIENT_ERROR(*conn->error_info, CR_CANT_FIND_CHARSET, UNKNOWN_SQLSTATE,
1687 } else if (conn->error_info->error_no) {
2025 SET_EMPTY_ERROR(*conn->error_info);
2036 if (!conn->error_info->error_no) {
2041 …DBG_INF_FMT("Error from the server : (%u) %s", conn->error_info->error_no, conn->error_info->error…
2136 SET_EMPTY_ERROR(*conn->error_info);
2184 …SET_CLIENT_ERROR(*conn->error_info, CR_NOT_IMPLEMENTED, UNKNOWN_SQLSTATE, "The server requested au…
2206 SET_OOM_ERROR(*conn->error_info);
2243 DBG_INF_FMT("conn->error_info->error_no = %d", conn->error_info->error_no);
2244 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL);
2349 …SET_CLIENT_ERROR(*conn->error_info, CR_CANT_FIND_CHARSET, UNKNOWN_SQLSTATE, "Unknown character set…
2422 SET_OOM_ERROR(*conn->error_info);
2448 …SET_CLIENT_ERROR(*conn->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync…
2490 …SET_CLIENT_ERROR(*conn->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync…
2606 conn->net = mysqlnd_net_init(conn->persistent, conn->stats, conn->error_info TSRMLS_CC);