Lines Matching refs:error_info

322 	if (conn->error_info) {  in MYSQLND_METHOD_PRIVATE()
323 mysqlnd_error_info_free_contents(conn->error_info); in MYSQLND_METHOD_PRIVATE()
324 conn->error_info = NULL; in MYSQLND_METHOD_PRIVATE()
328 mysqlnd_pfc_free(conn->protocol_frame_codec, conn->stats, conn->error_info); in MYSQLND_METHOD_PRIVATE()
333 mysqlnd_vio_free(conn->vio, conn->stats, conn->error_info); in MYSQLND_METHOD_PRIVATE()
387 conn->error_info = &conn->error_info_impl; in MYSQLND_METHOD()
506 … conn->vio->data->m.connect(conn->vio, *scheme, conn->persistent, conn->stats, conn->error_info)) { in MYSQLND_METHOD()
507 …nn->protocol_frame_codec->data->m.reset(conn->protocol_frame_codec, conn->stats, conn->error_info); in MYSQLND_METHOD()
575 SET_EMPTY_ERROR(conn->error_info);
678 SET_OOM_ERROR(conn->error_info);
692 SET_OOM_ERROR(conn->error_info);
701 SET_OOM_ERROR(conn->error_info);
707 SET_EMPTY_ERROR(conn->error_info);
728 …DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", conn->error_info->error_no, conn->error_info
729 if (!conn->error_info->error_no) {
733 SET_CLIENT_ERROR(conn->error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, msg);
871 return conn->error_info->error_no;
880 return conn->error_info->error;
889 return conn->error_info->sqlstate[0] ? conn->error_info->sqlstate:MYSQLND_SQLSTATE_NULL;
1018 …SET_CLIENT_ERROR(conn->error_info, CR_CANT_FIND_CHARSET, UNKNOWN_SQLSTATE, "Invalid character set …
1025 if (FAIL == (ret = conn->m->query(conn, query, query_len)) || conn->error_info->error_no) {
1073 vio->data->m.close_stream(vio, conn->stats, conn->error_info);
1103 vio->data->m.close_stream(vio, conn->stats, conn->error_info);
1300 SET_EMPTY_ERROR(conn->error_info);
1317 if (!conn->error_info->error_no) {
1323 …DBG_INF_FMT("Error from the server : (%u) %s", conn->error_info->error_no, conn->error_info->error…
1351 SET_EMPTY_ERROR(conn->error_info);
1457 …SET_CLIENT_ERROR(conn->error_info, CR_CANT_FIND_CHARSET, UNKNOWN_SQLSTATE, "Unknown character set"…
1597 …SET_CLIENT_ERROR(conn->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync);
1629 …SET_CLIENT_ERROR(conn->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync);
1782 SET_OOM_ERROR(conn->error_info);
1828 SET_OOM_ERROR(conn->error_info);
1835 SET_CLIENT_ERROR(conn->error_info, CR_NOT_IMPLEMENTED, UNKNOWN_SQLSTATE,
1851 …SET_CLIENT_ERROR(conn->error_info, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, "Savepoint name not provide…
1858 SET_OOM_ERROR(conn->error_info);
1876 …SET_CLIENT_ERROR(conn->error_info, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, "Savepoint name not provide…
1883 SET_OOM_ERROR(conn->error_info);