Lines Matching refs:error_info
159 SET_CLIENT_ERROR(conn->error_info, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, in mysqlnd_handle_local_infile()
162 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile()
175 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile()
180 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
182 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile()
188 if ((ret = net->data->m.send(net, vio, buf, bufsize, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile()
190 SET_CLIENT_ERROR(conn->error_info, CR_SERVER_LOST, UNKNOWN_SQLSTATE, lost_conn); in mysqlnd_handle_local_infile()
196 if ((ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile()
197 SET_CLIENT_ERROR(conn->error_info, CR_SERVER_LOST, UNKNOWN_SQLSTATE, lost_conn); in mysqlnd_handle_local_infile()
203 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile()
208 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
219 conn->error_info, in mysqlnd_handle_local_infile()