YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
#ifndef WSREP_APPLIER_H #define WSREP_APPLIER_H
#include"sql_class.h"// THD class #include"rpl_rli.h"// Relay_log_info #include"log_event.h"// Format_description_log_event
/* Applier error codes, when nothing better is available. */ #define WSREP_RET_SUCCESS 0// Success #define WSREP_ERR_GENERIC 1// When in doubt (MySQL default error code) #define WSREP_ERR_BAD_EVENT 2// Can't parse event #define WSREP_ERR_NOT_FOUND 3// Key. table, schema not found #define WSREP_ERR_EXISTS 4// Key, table, schema already exists #define WSREP_ERR_WRONG_TYPE 5// Incompatible data type #define WSREP_ERR_FAILED 6// Operation failed for some internal reason #define WSREP_ERR_ABORTED 7// Operation was aborted externally
/* Loops over THD diagnostic area and concatenates all error messages *anderrorcodestoasinglecontinuousbuffertocreateaunique *butconsistentfailuresignaturewhichprovidercanuseforvoting *betweenthenodesinthecluster. * *@paramthdTHDcontext *@paramdstbuffertostorethesignature *@paraminclude_msgwhethertouseMySQLerrormessageinadditionto *MySQLerrorcode.NotethatinthecaseofaTOI *operationthemessagemaybenotconsistentbetween *thenodese.g.duetoadifferentclientlocalesetting
* and should be omitted */ void wsrep_store_error(const THD* thd,
wsrep::mutable_buffer& buf, bool include_msg);
class Format_description_log_event; void wsrep_set_apply_format(THD*, Format_description_log_event*);
Format_description_log_event* wsrep_get_apply_format(THD* thd);
#endif/* WSREP_APPLIER_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.