✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/include/mysql/server/private//rpl_gtid.h
/* Copyright (c) 2013, Kristian Nielsen and MariaDB Services Ab.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335  USA */

#ifndef RPL_GTID_H
#define RPL_GTID_H

#include "hash.h"
#include "queues.h"
#include <atomic>

/* Definitions for MariaDB global transaction ID (GTID). */


extern const LEX_CSTRING rpl_gtid_slave_state_table_name;

class String;
#define PARAM_GTID(G) G.domain_id, G.server_id, G.seq_no

#define GTID_MAX_STR_LENGTH (10+1+10+1+20)
#define PARAM_GTID(G) G.domain_id, G.server_id, G.seq_no

struct rpl_gtid
{
  uint32 domain_id;
  uint32 server_id;
  uint64 seq_no;
};

inline bool operator==(const rpl_gtid& lhs, const rpl_gtid& rhs)
{
  return
    lhs.domain_id == rhs.domain_id &&
    lhs.server_id == rhs.server_id &&
    lhs.seq_no    == rhs.seq_no;
};

inline bool operator<(const rpl_gtid& lhs, const rpl_gtid& rhs)
{
  return (lhs.domain_id == rhs.domain_id) ? lhs.seq_no < rhs.seq_no
                                          : lhs.domain_id < rhs.domain_id;
};

inline bool operator>(const rpl_gtid& lhs, const rpl_gtid& rhs)
{
  return (lhs.domain_id == rhs.domain_id) ? lhs.seq_no > rhs.seq_no
                                          : lhs.domain_id > rhs.domain_id;
};

enum enum_gtid_skip_type {
  GTID_SKIP_NOT, GTID_SKIP_STANDALONE, GTID_SKIP_TRANSACTION
};


/*
  Structure to keep track of threads waiting in MASTER_GTID_WAIT().

  Since replication is (mostly) single-threaded, we want to minimise the
  performance impact on that from MASTER_GTID_WAIT(). To achieve this, we
  are careful to keep the common lock between replication threads and
  MASTER_GTID_WAIT threads held for as short as possible. We keep only
  a single thread waiting to be notified by the replication threads; this
  thread then handles all the (potentially heavy) lifting of dealing with
  all current waiting threads.
*/
struct gtid_waiting {
  /* Elements in the hash, basically a priority queue for each domain. */
  struct hash_element {
    QUEUE queue;
    uint32 domain_id;
  };
  /* A priority queue to handle waiters in one domain in seq_no order. */
  struct queue_element {
    uint64 wait_seq_no;
    THD *thd;
    int queue_idx;
    /*
      do_small_wait is true if we have responsibility for ensuring that there
      is a small waiter.
    */
    bool do_small_wait;
    /*
      The flag `done' is set when the wait is completed (either due to reaching
      the position waited for, or due to timeout or kill). The queue_element
      is in the queue if and only if `done' is true.
    */
    bool done;
  };

  mysql_mutex_t LOCK_gtid_waiting;
  HASH hash;

  void init();
  void destroy();
  hash_element *get_entry(uint32 domain_id);
  int wait_for_pos(THD *thd, String *gtid_str, longlong timeout_us);
  void promote_new_waiter(gtid_waiting::hash_element *he);
  int wait_for_gtid(THD *thd, rpl_gtid *wait_gtid, struct timespec *wait_until);
  void process_wait_hash(uint64 wakeup_seq_no, gtid_waiting::hash_element *he);
  int register_in_wait_queue(THD *thd, rpl_gtid *wait_gtid, hash_element *he,
                             queue_element *elem);
  void remove_from_wait_queue(hash_element *he, queue_element *elem);
};


class Relay_log_info;
struct rpl_group_info;
class Gtid_list_log_event;

/*
  Replication slave state.

  For every independent replication stream (identified by domain_id), this
  remembers the last gtid applied on the slave within this domain.

  Since events are always committed in-order within a single domain, this is
  sufficient to maintain the state of the replication slave.
*/
struct rpl_slave_state
{
  /* Elements in the list of GTIDs kept for each domain_id. */
  struct list_element
  {
    struct list_element *next;
    uint64 sub_id;
    uint32 domain_id;
    uint32 server_id;
    uint64 seq_no;
    /*
      hton of mysql.gtid_slave_pos* table used to record this GTID.
      Can be NULL if the gtid table failed to load (eg. missing
      mysql.gtid_slave_pos table following an upgrade).
    */
    void *hton;
  };

  /* Elements in the HASH that hold the state for one domain_id. */
  struct element
  {
    struct list_element *list;
    uint32 domain_id;
    /* Highest seq_no seen so far in this domain. */
    uint64 highest_seq_no;
    /*
      If this is non-NULL, then it is the waiter responsible for the small
      wait in MASTER_GTID_WAIT().
    */
    gtid_waiting::queue_element *gtid_waiter;
    /*
      If gtid_waiter is non-NULL, then this is the seq_no that its
      MASTER_GTID_WAIT() is waiting on. When we reach this seq_no, we need to
      signal the waiter on COND_wait_gtid.
    */
    uint64 min_wait_seq_no;
    mysql_cond_t COND_wait_gtid;

    /*
      For --gtid-ignore-duplicates. The Relay_log_info that currently owns
      this domain, and the number of worker threads that are active in it.

      The idea is that only one of multiple master connections is allowed to
      actively apply events for a given domain. Other connections must either
      discard the events (if the seq_no in GTID shows they have already been
      applied), or wait to see if the current owner will apply it.
    */
    const Relay_log_info *owner_rli;
    uint32 owner_count;
    mysql_cond_t COND_gtid_ignore_duplicates;

    list_element *grab_list() { list_element *l= list; list= NULL; return l; }
    void add(list_element *l)
    {
      l->next= list;
      list= l;
    }
  };

  /* Descriptor for mysql.gtid_slave_posXXX table in specific engine. */
  enum gtid_pos_table_state {
    GTID_POS_AUTO_CREATE,
    GTID_POS_CREATE_REQUESTED,
    GTID_POS_CREATE_IN_PROGRESS,
    GTID_POS_AVAILABLE
  };
  struct gtid_pos_table {
    struct gtid_pos_table *next;
    /*
      Use a void * here, rather than handlerton *, to make explicit that we
      are not using the value to access any functionality in the engine. It
      is just used as an opaque value to identify which engine we are using
      for each GTID row.
    */
    void *table_hton;
    LEX_CSTRING table_name;
    uint8 state;
  };

  /* Mapping from domain_id to its element. */
  HASH hash;
  /* GTIDs added since last purge of old mysql.gtid_slave_pos rows. */
  uint32 pending_gtid_count;
  /* Mutex protecting access to the state. */
  mysql_mutex_t LOCK_slave_state;
  /* Auxiliary buffer to sort gtid list. */
  DYNAMIC_ARRAY gtid_sort_array;

  uint64 last_sub_id;
  /*
    List of tables available for durably storing the slave GTID position.

    Accesses to this table is protected by LOCK_slave_state. However for
    efficiency, there is also a provision for read access to it from a running
    slave without lock.

    An element can be added at the head of a list by storing the new
    gtid_pos_tables pointer atomically with release semantics, to ensure that
    the next pointer of the new element is visible to readers of the new list.
    Other changes (like deleting or replacing elements) must happen only while
    all SQL driver threads are stopped. LOCK_slave_state must be held in any
    case.

    The list can be read without lock by an SQL driver thread or worker thread
    by reading the gtid_pos_tables pointer atomically with acquire semantics,
    to ensure that it will see the correct next pointer of a new head element.
  */
  std::atomic<gtid_pos_table*> gtid_pos_tables;
  /* The default entry in gtid_pos_tables, mysql.gtid_slave_pos. */
  std::atomic<gtid_pos_table*> default_gtid_pos_table;
  bool loaded;

  rpl_slave_state();
  ~rpl_slave_state();

  void truncate_hash();
  ulong count() const { return hash.records; }
  int update(uint32 domain_id, uint32 server_id, uint64 sub_id,
             uint64 seq_no, void *hton, rpl_group_info *rgi);
  int update_nolock(uint32 domain_id, uint32 server_id, uint64 sub_id,
                    uint64 seq_no, void *hton, rpl_group_info *rgi);
  int truncate_state_table(THD *thd);
  void select_gtid_pos_table(THD *thd, LEX_CSTRING *out_tablename);
  int record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id,
                  bool in_transaction, bool in_statement, void **out_hton);
  list_element *gtid_grab_pending_delete_list();
  LEX_CSTRING *select_gtid_pos_table(void *hton);
  void gtid_delete_pending(THD *thd, rpl_slave_state::list_element **list_ptr);
  uint64 next_sub_id(uint32 domain_id);
  int iterate(int (*cb)(rpl_gtid *, void *), void *data,
              rpl_gtid *extra_gtids, uint32 num_extra,
              bool sort);
  int tostring(String *dest, rpl_gtid *extra_gtids, uint32 num_extra);
  bool domain_to_gtid(uint32 domain_id, rpl_gtid *out_gtid);
  int load(THD *thd, const char *state_from_master, size_t len, bool reset,
           bool in_statement);
  bool is_empty();

  element *get_element(uint32 domain_id);
  int put_back_list(list_element *list);

  void update_state_hash(uint64 sub_id, rpl_gtid *gtid, void *hton,
                         rpl_group_info *rgi);
  int record_and_update_gtid(THD *thd, struct rpl_group_info *rgi);
  int check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi);
  void release_domain_owner(rpl_group_info *rgi);
  void set_gtid_pos_tables_list(gtid_pos_table *new_list,
                                gtid_pos_table *default_entry);
  void add_gtid_pos_table(gtid_pos_table *entry);
  struct gtid_pos_table *alloc_gtid_pos_table(LEX_CSTRING *table_name,
      void *hton, rpl_slave_state::gtid_pos_table_state state);
  void free_gtid_pos_tables(struct gtid_pos_table *list);
};


/*
  Binlog state.
  This keeps the last GTID written to the binlog for every distinct
  (domain_id, server_id) pair.
  This will be logged at the start of the next binlog file as a
  Gtid_list_log_event; this way, it is easy to find the binlog file
  containing a given GTID, by simply scanning backwards from the newest
  one until a lower seq_no is found in the Gtid_list_log_event at the
  start of a binlog for the given domain_id and server_id.

  We also remember the last logged GTID for every domain_id. This is used
  to know where to start when a master is changed to a slave. As a side
  effect, it also allows to skip a hash lookup in the very common case of
  logging a new GTID with same server id as last GTID.
*/
struct rpl_binlog_state
{
  struct element {
    uint32 domain_id;
    HASH hash;                /* Containing all server_id for one domain_id */
    /* The most recent entry in the hash. */
    rpl_gtid *last_gtid;
    /* Counter to allocate next seq_no for this domain. */
    uint64 seq_no_counter;

    int update_element(const rpl_gtid *gtid);
  };
  /* Mapping from domain_id to collection of elements. */
  HASH hash;
  /* Mutex protecting access to the state. */
  mysql_mutex_t LOCK_binlog_state;
  my_bool initialized;

  /* Auxiliary buffer to sort gtid list. */
  DYNAMIC_ARRAY gtid_sort_array;

   rpl_binlog_state() :initialized(0) {}
  ~rpl_binlog_state();

  void init();
  void reset_nolock();
  void reset();
  void free();
  bool load(struct rpl_gtid *list, uint32 count);
  bool load(rpl_slave_state *slave_pos);
  int update_nolock(const struct rpl_gtid *gtid, bool strict);
  int update(const struct rpl_gtid *gtid, bool strict);
  int update_with_next_gtid(uint32 domain_id, uint32 server_id,
                             rpl_gtid *gtid);
  int alloc_element_nolock(const rpl_gtid *gtid);
  bool check_strict_sequence(uint32 domain_id, uint32 server_id, uint64 seq_no,
                             bool no_error= false);
  int bump_seq_no_if_needed(uint32 domain_id, uint64 seq_no);
  int write_to_iocache(IO_CACHE *dest);
  int read_from_iocache(IO_CACHE *src);
  uint32 count();
  int get_gtid_list(rpl_gtid *gtid_list, uint32 list_size);
  int get_most_recent_gtid_list(rpl_gtid **list, uint32 *size);
  bool append_pos(String *str);
  bool append_state(String *str);
  rpl_gtid *find_nolock(uint32 domain_id, uint32 server_id);
  rpl_gtid *find(uint32 domain_id, uint32 server_id);
  rpl_gtid *find_most_recent(uint32 domain_id);
  const char* drop_domain(DYNAMIC_ARRAY *ids, Gtid_list_log_event *glev,
                          char*, size_t errbuf_size);
};


/*
  Represent the GTID state that a slave connection to a master requests
  the master to start sending binlog events from.
*/
struct slave_connection_state
{
  struct entry {
    rpl_gtid gtid;
    uint32 flags;
  };
  /* Bits for 'flags' */
  enum start_flags
  {
    START_OWN_SLAVE_POS= 0x1,
    START_ON_EMPTY_DOMAIN= 0x2
  };

  /* Mapping from domain_id to the entry with GTID requested for that domain. */
  HASH hash;

  /* Auxiliary buffer to sort gtid list. */
  DYNAMIC_ARRAY gtid_sort_array;

  slave_connection_state();
  ~slave_connection_state();

  void reset() { my_hash_reset(&hash); }
  int load(const char *slave_request, size_t len);
  int load(const rpl_gtid *gtid_list, uint32 count);
  int load(rpl_slave_state *state, rpl_gtid *extra_gtids, uint32 num_extra);
  rpl_gtid *find(uint32 domain_id);
  entry *find_entry(uint32 domain_id);
  int update(const rpl_gtid *in_gtid);
  void remove(const rpl_gtid *gtid);
  void remove_if_present(const rpl_gtid *in_gtid);
  ulong count() const { return hash.records; }
  int to_string(String *out_str);
  int append_to_string(String *out_str);
  int get_gtid_list(rpl_gtid *gtid_list, uint32 list_size);
  bool is_pos_reached();
};


extern bool rpl_slave_state_tostring_helper(String *dest, const rpl_gtid *gtid,
                                            bool *first);
extern int gtid_check_rpl_slave_state_table(TABLE *table);
extern rpl_gtid *gtid_parse_string_to_list(const char *p, size_t len,
                                           uint32 *out_len);
extern rpl_gtid *gtid_unpack_string_to_list(const char *p, size_t len,
                                           uint32 *out_len);



/*
  This class ensures that the GTID state of an event stream is consistent with
  the set of provided binary log files. In particular, it has two concerns:

    1) Ensuring that GTID events are monotonically increasing within each
       domain
    2) Ensuring that the GTID state of the specified binary logs is consistent
       both with the initial state that a user provides, and between
       binary logs (if multiple are specified)
*/
class Binlog_gtid_state_validator
{
public:

  struct audit_elem
  {
    uint32 domain_id;


    /*
      Holds the largest GTID received, and is indexed by domain_id
    */
    rpl_gtid last_gtid;

    /*
      Holds the largest GTID received, and is indexed by domain_id
    */
    rpl_gtid start_gtid;

    /*
      List of the problematic GTIDs received which were out of order
    */
    DYNAMIC_ARRAY late_gtids_real;

    /*
      For each problematic GTID in late_gtids_real, this list contains the last
      GTID of the domain at the time of receiving the out of order GTID.
    */
    DYNAMIC_ARRAY late_gtids_previous;
  };

  Binlog_gtid_state_validator();
  ~Binlog_gtid_state_validator();

  /*
    Initialize where we should start monitoring for invalid GTID entries
    in the event stream. Note that these start positions must occur at or after
    a given binary logs GTID state (from Gtid_list_log_event)
  */
  void initialize_start_gtids(rpl_gtid *start_gtids, size_t n_gtids);

  /*
    Initialize our current state so we know where to expect GTIDs to start
    increasing from. Error if the state exists after our expected start_gtid
    positions, because we know we will be missing event data (possibly from
    a purged log).
  */
  my_bool initialize_gtid_state(FILE *out, rpl_gtid *gtids, size_t n_gtids);

  /*
    Ensures that the expected stop GTID positions exist within the specified
    binary logs.
  */
  my_bool verify_stop_state(FILE *out, rpl_gtid *stop_gtids,
                            size_t n_stop_gtids);

  /*
    Ensure a GTID state (e.g., from a Gtid_list_log_event) is consistent with
    the current state of our auditing. For example, if we see a GTID from a
    Gtid_list_log_event that is ahead of our current state for that domain, we
    have missed events (perhaps from a missing log).
  */
  my_bool verify_gtid_state(FILE *out, rpl_gtid *gtid_state_cur);

  /*
    Take note of a new GTID being processed.

    returns TRUE if the GTID is invalid, FALSE on success
  */
  my_bool record(rpl_gtid *gtid);

  /*
    Writes warnings/errors (if any) during GTID processing

    Returns TRUE if any findings were reported, FALSE otherwise
  */
  my_bool report(FILE *out, my_bool is_strict_mode);

  static void report_details(FILE *out, const char *format, va_list args)
  {
    vfprintf(out, format, args);
    fprintf(out, "\n");
  }

  static void warn(FILE *out, const char *format,...)
  {
    va_list args;
    va_start(args, format);
    fprintf(out, "WARNING: ");
    report_details(out, format, args);
  }

  static void error(FILE *out, const char *format,...)
  {
    va_list args;
    va_start(args, format);
    fprintf(out, "ERROR: ");
    report_details(out, format, args);
  }

private:

  /*
    Holds the records for each domain id we are monitoring. Elements are of
    type `struct audit_elem` and indexed by domian_id.
  */
  HASH m_audit_elem_domain_lookup;
};

/*
  Interface to support different methods of filtering log events by GTID
*/
class Gtid_event_filter
{
public:
  Gtid_event_filter() {};
  virtual ~Gtid_event_filter() {};

  enum gtid_event_filter_type
  {
    DELEGATING_GTID_FILTER_TYPE = 1,
    WINDOW_GTID_FILTER_TYPE = 2,
    ACCEPT_ALL_GTID_FILTER_TYPE = 3,
    REJECT_ALL_GTID_FILTER_TYPE = 4,
    INTERSECTING_GTID_FILTER_TYPE = 5
  };

  enum class id_restriction_mode
  {
    MODE_NOT_SET,
    WHITELIST_MODE,
    BLACKLIST_MODE,
  };

  /*
    Run the filter on an input gtid to test if the corresponding log events
    should be excluded from a result

    Returns TRUE when the event group corresponding to the input GTID should be
    excluded.
    Returns FALSE when the event group should be included.
  */
  virtual my_bool exclude(rpl_gtid *) = 0;

  /*
    The gtid_event_filter_type that corresponds to the underlying filter
    implementation
  */
  virtual uint32 get_filter_type() = 0;

  /*
    For filters that can maintain their own state, this tests if the filter
    implementation has completed.

    Returns TRUE when completed, and FALSE when the filter has not finished.
  */
  virtual my_bool has_finished() = 0;

  /**
    Check that this filter implementation is at a final,
    completed state, and warn if it is not.

    For a filter that can maintain their own state,
    this not only validates if the filter ::has_finished(),
    but may also print specific warnings for its variety of non-final states.

    For a filter that manage multiple subfilters, this should iterate
    through all of those to have each self-report any ineffectiveness.
    This cumulative result may not correlate with the ::has_finished() state.

    @return
      `false` if the filter is at a completed state, or `true` if it
      warned incompleteness (This scheme is the opposite of has_finished()!)
  */
  virtual bool verify_final_state() { return false; }
};

/*
  Filter implementation which will include any and all input GTIDs. This is
  used to set default behavior for GTIDs that do not have explicit filters
  set on their domain_id, e.g. when a Window_gtid_event_filter is used for
  a specific domain, then all other domain_ids will be accepted using this
  filter implementation.
*/
class Accept_all_gtid_filter : public Gtid_event_filter
{
public:
  Accept_all_gtid_filter() {}
  ~Accept_all_gtid_filter() {}
  my_bool exclude(rpl_gtid *) override { return FALSE; }
  uint32 get_filter_type() override { return ACCEPT_ALL_GTID_FILTER_TYPE; }
  my_bool has_finished() override { return FALSE; }
};

/*
  Filter implementation to exclude all tested GTIDs.
*/
class Reject_all_gtid_filter : public Gtid_event_filter
{
public:
  Reject_all_gtid_filter() {}
  ~Reject_all_gtid_filter() {}
  my_bool exclude(rpl_gtid *) override { return TRUE; }
  uint32 get_filter_type() override { return REJECT_ALL_GTID_FILTER_TYPE; }
  my_bool has_finished() override { return FALSE; }
};

/*
  A filter implementation that includes events that exist between two GTID
  positions, m_start (exclusive) and m_stop (inclusive), within a domain.

  This filter is stateful, such that it expects GTIDs to be an increasing
  stream, and internally, the window will activate and deactivate when the
  start and stop positions of the event stream have passed through,
  respectively.
*/
class Window_gtid_event_filter : public Gtid_event_filter
{
public:
  Window_gtid_event_filter();
  ~Window_gtid_event_filter() {}

  my_bool exclude(rpl_gtid*) override;
  my_bool has_finished() override;
  bool verify_final_state() override;

  /*
    Set the GTID that begins this window (exclusive)

    Returns 0 on ok, non-zero on error
  */
  int set_start_gtid(rpl_gtid *start);

  /*
    Set the GTID that ends this window (inclusive)

    Returns 0 on ok, non-zero on error
  */
  int set_stop_gtid(rpl_gtid *stop);

  uint32 get_filter_type() override { return WINDOW_GTID_FILTER_TYPE; }

  /*
    Validates the underlying range is correct, and writes an error if not, i.e.
    m_start >= m_stop.

    Returns FALSE on ok, TRUE if range is invalid
  */
  my_bool is_range_invalid();

  /*
    Getter/setter methods
  */
  my_bool has_start() { return m_has_start; }
  my_bool has_stop() { return m_has_stop; }
  rpl_gtid get_start_gtid() { return m_start; }
  rpl_gtid get_stop_gtid() { return m_stop; }

  void clear_start_pos()
  {
    m_has_start= FALSE;
    m_start= {0, 0, 0};
  }

  void clear_stop_pos()
  {
    m_has_stop= FALSE;
    m_stop= {0, 0, 0};
  }

private:

  enum warning_flags
  {
    WARN_GTID_SEQUENCE_NUMBER_OUT_OF_ORDER= 0x1
  };

  /*
    m_has_start : Indicates if a start to this window has been explicitly
                  provided. A window starts immediately if not provided.
  */
  my_bool m_has_start;

  /*
    m_has_stop : Indicates if a stop to this window has been explicitly
                 provided. A window continues indefinitely if not provided.
  */
  my_bool m_has_stop;

  /*
    m_is_active : Indicates whether or not the program is currently reading
                  events from within this window. When TRUE, events with
                  different server ids than those specified by m_start or
                  m_stop will be passed through.
  */
  my_bool m_is_active;

  /*
    m_has_passed : Indicates whether or not the program is currently reading
                   events from beyond this window.
   */
  my_bool m_has_passed;

  /* m_start : marks the GTID that begins the window (exclusive). */
  rpl_gtid m_start;

  /* m_stop : marks the GTID that ends the range (inclusive). */
  rpl_gtid m_stop;
};

template <typename T> struct gtid_filter_element
{
  Gtid_event_filter *filter;
  T identifier; /* Used for HASH lookup */
};

/*
  Gtid_event_filter subclass which has no specific implementation, but rather
  delegates the filtering to specific identifiable/mapped implementations.

  A default filter is used for GTIDs that are passed through which no explicit
  filter can be identified.

  This class should be subclassed, where the get_id_from_gtid function
  specifies how to extract the filter identifier from a GTID. The type of the
  filter identifier is a template for the class.
*/
template <typename T>
class Id_delegating_gtid_event_filter : public Gtid_event_filter
{
public:
  Id_delegating_gtid_event_filter();
  ~Id_delegating_gtid_event_filter();

  my_bool exclude(rpl_gtid *gtid) override;
  my_bool has_finished() override;
  bool verify_final_state() override;
  void set_default_filter(Gtid_event_filter *default_filter);

  uint32 get_filter_type() override { return DELEGATING_GTID_FILTER_TYPE; }

  virtual T get_id_from_gtid(rpl_gtid *) = 0;
  virtual const char* get_id_type_name() = 0;

  /*
    Sets restrictions on entire ids using the corresponding mode (i.e. either
    whitelist or blacklist, refer to Gtid_event_filter::id_restriction_mode)

    A blacklist will allow all ids except for the ones provided in the input
    list.
    A whitelist will only allow ids provided in the input list.

    Returns 0 on ok, non-zero on error.
  */
  int set_id_restrictions(T *id_list, size_t n_ids,
                          Gtid_event_filter::id_restriction_mode mode);

protected:

  uint32 m_num_stateful_filters;
  uint32 m_num_completed_filters;
  Gtid_event_filter *m_default_filter;

  HASH m_filters_by_id_hash;

  Gtid_event_filter::id_restriction_mode m_id_restriction_mode;

  gtid_filter_element<T> *find_or_create_filter_element_for_id(T);
};

/*
  A subclass of Id_delegating_gtid_event_filter which identifies filters using
  the domain id of a GTID.

  Additional helper functions include:
    add_start_gtid(GTID)   : adds a start GTID position to this filter, to be
                             identified by its domain id
    add_stop_gtid(GTID)    : adds a stop GTID position to this filter, to be
                             identified by its domain id
    clear_start_gtids()    : removes existing GTID start positions
    clear_stop_gtids()     : removes existing GTID stop positions
    get_start_gtids()      : gets all added GTID start positions
    get_stop_gtids()       : gets all added GTID stop positions
    get_num_start_gtids()  : gets the count of added GTID start positions
    get_num_stop_gtids()   : gets the count of added GTID stop positions
*/
class Domain_gtid_event_filter
    : public Id_delegating_gtid_event_filter<decltype(rpl_gtid::domain_id)>
{
public:
  Domain_gtid_event_filter()
  {
    my_init_dynamic_array(PSI_INSTRUMENT_ME, &m_start_filters,
                          sizeof(decltype(rpl_gtid::domain_id) *), 8, 8,
                          MYF(0));
    my_init_dynamic_array(PSI_INSTRUMENT_ME, &m_stop_filters,
                          sizeof(decltype(rpl_gtid::domain_id) *), 8, 8,
                          MYF(0));
  }
  ~Domain_gtid_event_filter()
  {
    delete_dynamic(&m_start_filters);
    delete_dynamic(&m_stop_filters);
  }

  /*
    Returns the domain id of from the input GTID
  */
  decltype(rpl_gtid::domain_id) get_id_from_gtid(rpl_gtid *gtid) override
  {
    return gtid->domain_id;
  }

  const char* get_id_type_name() override { return "domain"; }

  /*
    Override Id_delegating_gtid_event_filter to extend with domain specific
    filtering logic
  */
  my_bool exclude(rpl_gtid*) override;

  /*
    Validates that window filters with both a start and stop GTID satisfy
    stop_gtid > start_gtid

    Returns 0 on ok, non-zero if any windows are invalid.
  */
  int validate_window_filters();

  /*
    Helper function to start a GTID window filter at the given GTID

    Returns 0 on ok, non-zero on error
  */
  int add_start_gtid(rpl_gtid *gtid);

  /*
    Helper function to end a GTID window filter at the given GTID

    Returns 0 on ok, non-zero on error
  */
  int add_stop_gtid(rpl_gtid *gtid);

  /*
    If start or stop position is respecified, we remove all existing values
    and start over with the new specification.
  */
  void clear_start_gtids();
  void clear_stop_gtids();

  /*
    Return list of all GTIDs used as start position.

    Note that this list is allocated and it is up to the user to free it
  */
  rpl_gtid *get_start_gtids();

  /*
    Return list of all GTIDs used as stop position.

    Note that this list is allocated and it is up to the user to free it
  */
  rpl_gtid *get_stop_gtids();

  size_t get_num_start_gtids() { return m_start_filters.elements; }
  size_t get_num_stop_gtids() { return m_stop_filters.elements; }

private:
  DYNAMIC_ARRAY m_start_filters;
  DYNAMIC_ARRAY m_stop_filters;

  Window_gtid_event_filter *
  find_or_create_window_filter_for_id(decltype(rpl_gtid::domain_id));
};

/*
  A subclass of Id_delegating_gtid_event_filter which identifies filters using
  the server id of a GTID.
*/
class Server_gtid_event_filter
    : public Id_delegating_gtid_event_filter<decltype(rpl_gtid::server_id)>
{
public:
  /*
    Returns the server id of from the input GTID
  */
  decltype(rpl_gtid::server_id) get_id_from_gtid(rpl_gtid *gtid) override
  {
    return gtid->server_id;
  }

  const char* get_id_type_name() override { return "server"; }
};

/*
  A Gtid_event_filter implementation that delegates the filtering to other
  filters, where the result is the intersection between them all.
*/
class Intersecting_gtid_event_filter : public Gtid_event_filter
{
public:
  Intersecting_gtid_event_filter(Gtid_event_filter *filter1,
                                 Gtid_event_filter *filter2);
  ~Intersecting_gtid_event_filter();

  /*
    Returns TRUE if any filers exclude the gtid, returns FALSE otherwise, i.e.
    all filters must allow the GTID.
  */
  my_bool exclude(rpl_gtid *gtid) override;

  /*
    Returns true if any filters have finished. To elaborate, as this filter
    performs an intersection, if any filter has finished, the result would
    be excluded regardless.
  */
  my_bool has_finished() override;

  bool verify_final_state() override;
  uint32 get_filter_type() override { return INTERSECTING_GTID_FILTER_TYPE; }

  /*
    Adds a new filter to the intersection
  */
  my_bool add_filter(Gtid_event_filter *filter)
  {
    return insert_dynamic(&m_filters, (void *) &filter);
  }

  protected:
    DYNAMIC_ARRAY m_filters;
};

#endif  /* RPL_GTID_H */

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
22 Aug 2026 4.57 AM
root / root
0755
atomic
--
22 Aug 2026 4.57 AM
root / root
0755
data
--
19 Aug 2026 9.46 AM
root / root
0755
providers
--
22 Aug 2026 4.57 AM
root / root
0755
aligned.h
1.109 KB
19 Aug 2026 6.22 AM
root / root
0644
aria_backup.h
1.745 KB
19 Aug 2026 6.22 AM
root / root
0644
assume_aligned.h
2.295 KB
19 Aug 2026 6.22 AM
root / root
0644
authors.h
9.955 KB
19 Aug 2026 6.22 AM
root / root
0644
backup.h
1.663 KB
19 Aug 2026 6.22 AM
root / root
0644
bounded_queue.h
5.95 KB
19 Aug 2026 6.22 AM
root / root
0644
client_settings.h
1.89 KB
19 Aug 2026 6.22 AM
root / root
0644
compat56.h
2.227 KB
19 Aug 2026 6.22 AM
root / root
0644
config.h
14.006 KB
19 Aug 2026 9.01 AM
root / root
0644
contributors.h
4.815 KB
19 Aug 2026 6.22 AM
root / root
0644
create_options.h
4.095 KB
19 Aug 2026 6.22 AM
root / root
0644
create_tmp_table.h
2.742 KB
19 Aug 2026 6.22 AM
root / root
0644
cset_narrowing.h
3.875 KB
19 Aug 2026 6.22 AM
root / root
0644
custom_conf.h
1.057 KB
19 Aug 2026 6.22 AM
root / root
0644
datadict.h
1.66 KB
19 Aug 2026 6.22 AM
root / root
0644
ddl_log.h
12.507 KB
19 Aug 2026 6.22 AM
root / root
0644
debug.h
1.205 KB
19 Aug 2026 6.22 AM
root / root
0644
debug_sync.h
1.998 KB
19 Aug 2026 6.22 AM
root / root
0644
derived_handler.h
2.323 KB
19 Aug 2026 6.22 AM
root / root
0644
derror.h
0.957 KB
19 Aug 2026 6.22 AM
root / root
0644
des_key_file.h
1.207 KB
19 Aug 2026 6.22 AM
root / root
0644
discover.h
1.533 KB
19 Aug 2026 6.22 AM
root / root
0644
dur_prop.h
1.057 KB
19 Aug 2026 6.22 AM
root / root
0644
embedded_priv.h
1.692 KB
19 Aug 2026 6.22 AM
root / root
0644
event_data_objects.h
4.089 KB
19 Aug 2026 6.22 AM
root / root
0644
event_db_repository.h
3.563 KB
19 Aug 2026 6.22 AM
root / root
0644
event_parse_data.h
2.831 KB
19 Aug 2026 6.22 AM
root / root
0644
event_queue.h
3.357 KB
19 Aug 2026 6.22 AM
root / root
0644
event_scheduler.h
3.213 KB
19 Aug 2026 6.22 AM
root / root
0644
events.h
4.594 KB
19 Aug 2026 6.22 AM
root / root
0644
field.h
217.201 KB
19 Aug 2026 6.22 AM
root / root
0644
field_comp.h
1.146 KB
19 Aug 2026 6.22 AM
root / root
0644
filesort.h
7.112 KB
19 Aug 2026 6.22 AM
root / root
0644
filesort_utils.h
8.003 KB
19 Aug 2026 6.22 AM
root / root
0644
ft_global.h
3.04 KB
19 Aug 2026 6.22 AM
root / root
0644
gcalc_slicescan.h
16.924 KB
19 Aug 2026 6.22 AM
root / root
0644
gcalc_tools.h
11.621 KB
19 Aug 2026 6.22 AM
root / root
0644
grant.h
2.693 KB
19 Aug 2026 6.22 AM
root / root
0644
group_by_handler.h
3.451 KB
19 Aug 2026 6.22 AM
root / root
0644
gstream.h
2.38 KB
19 Aug 2026 6.22 AM
root / root
0644
ha_handler_stats.h
2.28 KB
19 Aug 2026 6.22 AM
root / root
0644
ha_partition.h
63.18 KB
19 Aug 2026 6.22 AM
root / root
0644
ha_sequence.h
6.099 KB
19 Aug 2026 6.22 AM
root / root
0644
handle_connections_win.h
0.863 KB
19 Aug 2026 6.22 AM
root / root
0644
handler.h
195.173 KB
19 Aug 2026 6.22 AM
root / root
0644
hash.h
4.348 KB
19 Aug 2026 6.22 AM
root / root
0644
hash_filo.h
5.468 KB
19 Aug 2026 6.22 AM
root / root
0644
heap.h
9.265 KB
19 Aug 2026 6.22 AM
root / root
0644
hostname.h
5.292 KB
19 Aug 2026 6.22 AM
root / root
0644
ilist.h
7.067 KB
19 Aug 2026 6.22 AM
root / root
0644
init.h
0.832 KB
19 Aug 2026 6.22 AM
root / root
0644
innodb_priv.h
1.288 KB
19 Aug 2026 6.22 AM
root / root
0644
item.h
278.768 KB
19 Aug 2026 6.22 AM
root / root
0644
item_cmpfunc.h
132.049 KB
19 Aug 2026 6.22 AM
root / root
0644
item_create.h
11.238 KB
19 Aug 2026 6.22 AM
root / root
0644
item_func.h
135.433 KB
19 Aug 2026 6.22 AM
root / root
0644
item_geofunc.h
38.684 KB
19 Aug 2026 6.22 AM
root / root
0644
item_jsonfunc.h
24.833 KB
19 Aug 2026 6.22 AM
root / root
0644
item_row.h
5.106 KB
19 Aug 2026 6.22 AM
root / root
0644
item_strfunc.h
73.501 KB
19 Aug 2026 6.22 AM
root / root
0644
item_subselect.h
57.702 KB
19 Aug 2026 6.22 AM
root / root
0644
item_sum.h
70.991 KB
19 Aug 2026 6.22 AM
root / root
0644
item_timefunc.h
64.352 KB
19 Aug 2026 6.22 AM
root / root
0644
item_vers.h
4.31 KB
19 Aug 2026 6.22 AM
root / root
0644
item_windowfunc.h
34.267 KB
19 Aug 2026 6.22 AM
root / root
0644
item_xmlfunc.h
4.541 KB
19 Aug 2026 6.22 AM
root / root
0644
json_table.h
9.44 KB
19 Aug 2026 6.22 AM
root / root
0644
key.h
2.082 KB
19 Aug 2026 6.22 AM
root / root
0644
keycaches.h
1.948 KB
19 Aug 2026 6.22 AM
root / root
0644
lex.h
29.141 KB
19 Aug 2026 6.22 AM
root / root
0644
lex_charset.h
23.743 KB
19 Aug 2026 6.22 AM
root / root
0644
lex_hash.h
139.754 KB
19 Aug 2026 9.10 AM
root / root
0644
lex_ident.h
2.072 KB
19 Aug 2026 6.22 AM
root / root
0644
lex_string.h
3.981 KB
19 Aug 2026 6.22 AM
root / root
0644
lex_symbol.h
1.292 KB
19 Aug 2026 6.22 AM
root / root
0644
lex_token.h
41.642 KB
19 Aug 2026 9.10 AM
root / root
0644
lf.h
6.311 KB
19 Aug 2026 6.22 AM
root / root
0644
lock.h
2.168 KB
19 Aug 2026 6.22 AM
root / root
0644
log.h
45.373 KB
19 Aug 2026 6.22 AM
root / root
0644
log_event.h
185.026 KB
19 Aug 2026 6.22 AM
root / root
0644
log_event_data_type.h
1.846 KB
19 Aug 2026 6.22 AM
root / root
0644
log_event_old.h
19.365 KB
19 Aug 2026 6.22 AM
root / root
0644
log_slow.h
2.385 KB
19 Aug 2026 6.22 AM
root / root
0644
maria.h
5.734 KB
19 Aug 2026 6.22 AM
root / root
0644
mariadb.h
1.247 KB
19 Aug 2026 6.22 AM
root / root
0644
mdl.h
37.981 KB
19 Aug 2026 6.22 AM
root / root
0644
mem_root_array.h
6.939 KB
19 Aug 2026 6.22 AM
root / root
0644
message.h
1.167 KB
19 Aug 2026 6.22 AM
root / root
0644
multi_range_read.h
22.636 KB
19 Aug 2026 6.22 AM
root / root
0644
my_alarm.h
2.372 KB
19 Aug 2026 6.22 AM
root / root
0644
my_apc.h
4.636 KB
19 Aug 2026 6.22 AM
root / root
0644
my_atomic.h
7.11 KB
19 Aug 2026 6.22 AM
root / root
0644
my_atomic_wrapper.h
2.979 KB
19 Aug 2026 6.22 AM
root / root
0644
my_base.h
27.1 KB
19 Aug 2026 6.22 AM
root / root
0644
my_bit.h
6.051 KB
19 Aug 2026 6.22 AM
root / root
0644
my_bitmap.h
5.373 KB
19 Aug 2026 6.22 AM
root / root
0644
my_check_opt.h
2.557 KB
19 Aug 2026 6.22 AM
root / root
0644
my_compare.h
10.932 KB
19 Aug 2026 6.22 AM
root / root
0644
my_counter.h
1.681 KB
19 Aug 2026 6.22 AM
root / root
0644
my_cpu.h
4.771 KB
19 Aug 2026 6.22 AM
root / root
0644
my_crypt.h
0.883 KB
19 Aug 2026 6.22 AM
root / root
0644
my_decimal.h
14.164 KB
19 Aug 2026 6.22 AM
root / root
0644
my_default.h
1.836 KB
19 Aug 2026 6.22 AM
root / root
0644
my_handler_errors.h
4.768 KB
19 Aug 2026 6.22 AM
root / root
0644
my_json_writer.h
18.268 KB
19 Aug 2026 6.22 AM
root / root
0644
my_libwrap.h
1.155 KB
19 Aug 2026 6.22 AM
root / root
0644
my_md5.h
1.451 KB
19 Aug 2026 6.22 AM
root / root
0644
my_minidump.h
0.828 KB
19 Aug 2026 6.22 AM
root / root
0644
my_nosys.h
1.404 KB
19 Aug 2026 6.22 AM
root / root
0644
my_rdtsc.h
9.882 KB
19 Aug 2026 6.22 AM
root / root
0644
my_rnd.h
0.99 KB
19 Aug 2026 6.22 AM
root / root
0644
my_service_manager.h
2.038 KB
19 Aug 2026 6.22 AM
root / root
0644
my_stack_alloc.h
6.341 KB
19 Aug 2026 6.22 AM
root / root
0644
my_stacktrace.h
3.14 KB
19 Aug 2026 6.22 AM
root / root
0644
my_time.h
10.17 KB
19 Aug 2026 6.22 AM
root / root
0644
my_tree.h
3.897 KB
19 Aug 2026 6.22 AM
root / root
0644
my_uctype.h
67.898 KB
19 Aug 2026 6.22 AM
root / root
0644
my_user.h
1.1 KB
19 Aug 2026 6.22 AM
root / root
0644
my_virtual_mem.h
1.226 KB
19 Aug 2026 6.22 AM
root / root
0644
myisam.h
17.096 KB
19 Aug 2026 6.22 AM
root / root
0644
myisamchk.h
4.623 KB
19 Aug 2026 6.22 AM
root / root
0644
myisammrg.h
4.782 KB
19 Aug 2026 6.22 AM
root / root
0644
myisampack.h
14.579 KB
19 Aug 2026 6.22 AM
root / root
0644
mysqld.h
40.259 KB
19 Aug 2026 6.22 AM
root / root
0644
mysqld_default_groups.h
0.199 KB
19 Aug 2026 6.22 AM
root / root
0644
mysqld_suffix.h
1.173 KB
19 Aug 2026 6.22 AM
root / root
0644
mysys_err.h
2.951 KB
19 Aug 2026 6.22 AM
root / root
0644
opt_histogram_json.h
4.529 KB
19 Aug 2026 6.22 AM
root / root
0644
opt_range.h
64.358 KB
19 Aug 2026 6.22 AM
root / root
0644
opt_subselect.h
14.204 KB
19 Aug 2026 6.22 AM
root / root
0644
opt_trace.h
9.282 KB
19 Aug 2026 6.22 AM
root / root
0644
opt_trace_context.h
3.214 KB
19 Aug 2026 6.22 AM
root / root
0644
parse_file.h
4.32 KB
19 Aug 2026 6.22 AM
root / root
0644
partition_element.h
5.301 KB
19 Aug 2026 6.22 AM
root / root
0644
partition_info.h
19.398 KB
19 Aug 2026 6.22 AM
root / root
0644
password.h
1.583 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_file_provider.h
3.079 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_idle_provider.h
1.353 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_memory_provider.h
1.588 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_metadata_provider.h
1.854 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_socket_provider.h
2.205 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_stage_provider.h
1.52 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_statement_provider.h
4.245 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_table_provider.h
2.563 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_thread_provider.h
5.43 KB
19 Aug 2026 6.22 AM
root / root
0644
pfs_transaction_provider.h
2.779 KB
19 Aug 2026 6.22 AM
root / root
0644
privilege.h
28.177 KB
19 Aug 2026 6.22 AM
root / root
0644
probes_mysql.h
0.95 KB
19 Aug 2026 6.22 AM
root / root
0644
probes_mysql_nodtrace.h
5.944 KB
19 Aug 2026 9.00 AM
root / root
0644
procedure.h
6.659 KB
19 Aug 2026 6.22 AM
root / root
0644
protocol.h
12.243 KB
19 Aug 2026 6.22 AM
root / root
0644
proxy_protocol.h
0.535 KB
19 Aug 2026 6.22 AM
root / root
0644
queues.h
3.396 KB
19 Aug 2026 6.22 AM
root / root
0644
records.h
3.073 KB
19 Aug 2026 6.22 AM
root / root
0644
repl_failsafe.h
1.548 KB
19 Aug 2026 6.22 AM
root / root
0644
replication.h
15.752 KB
19 Aug 2026 6.22 AM
root / root
0644
rijndael.h
1.671 KB
19 Aug 2026 6.22 AM
root / root
0644
rowid_filter.h
15.111 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_constants.h
3.278 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_filter.h
4.662 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_gtid.h
29.282 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_injector.h
9.396 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_mi.h
16.246 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_parallel.h
17.801 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_record.h
1.548 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_record_old.h
1.374 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_reporting.h
3.626 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_rli.h
35.225 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_tblmap.h
3.103 KB
19 Aug 2026 6.22 AM
root / root
0644
rpl_utility.h
9.57 KB
19 Aug 2026 6.22 AM
root / root
0644
scheduler.h
3.124 KB
19 Aug 2026 6.22 AM
root / root
0644
scope.h
4.29 KB
19 Aug 2026 6.22 AM
root / root
0644
select_handler.h
2.176 KB
19 Aug 2026 6.22 AM
root / root
0644
semisync.h
2.233 KB
19 Aug 2026 6.22 AM
root / root
0644
semisync_master.h
25.16 KB
19 Aug 2026 6.22 AM
root / root
0644
semisync_master_ack_receiver.h
8.505 KB
19 Aug 2026 6.22 AM
root / root
0644
semisync_slave.h
3.648 KB
19 Aug 2026 6.22 AM
root / root
0644
service_versions.h
2.231 KB
19 Aug 2026 6.22 AM
root / root
0644
session_tracker.h
13.94 KB
19 Aug 2026 6.22 AM
root / root
0644
set_var.h
16.925 KB
19 Aug 2026 6.22 AM
root / root
0644
slave.h
12.102 KB
19 Aug 2026 6.22 AM
root / root
0644
socketpair.h
0.822 KB
19 Aug 2026 6.22 AM
root / root
0644
source_revision.h
0.065 KB
19 Aug 2026 6.22 AM
root / root
0644
sp.h
22.059 KB
19 Aug 2026 6.22 AM
root / root
0644
sp_cache.h
1.989 KB
19 Aug 2026 6.22 AM
root / root
0644
sp_head.h
63.396 KB
19 Aug 2026 6.22 AM
root / root
0644
sp_pcontext.h
24.831 KB
19 Aug 2026 6.22 AM
root / root
0644
sp_rcontext.h
14.103 KB
19 Aug 2026 6.22 AM
root / root
0644
span.h
3.839 KB
19 Aug 2026 6.22 AM
root / root
0644
spatial.h
22.166 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_acl.h
13.835 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_admin.h
2.847 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_alloc.h
1.691 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_alter.h
15.034 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_analyse.h
10.793 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_analyze_stmt.h
12.386 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_array.h
6.697 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_audit.h
13.83 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_base.h
25.439 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_basic_types.h
9.3 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_binlog.h
0.874 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_bitmap.h
7.658 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_bootstrap.h
1.77 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_cache.h
21.168 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_callback.h
1.506 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_class.h
265.465 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_cmd.h
5.822 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_command.h
4.688 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_connect.h
3.991 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_const.h
11.357 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_crypt.h
1.403 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_cte.h
16.107 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_cursor.h
4.324 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_db.h
2.381 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_debug.h
5.593 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_delete.h
1.312 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_derived.h
1.259 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_digest.h
3.729 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_digest_stream.h
1.53 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_do.h
0.932 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_error.h
38.909 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_explain.h
29.608 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_expression_cache.h
4.257 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_get_diagnostics.h
7.698 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_handler.h
2.842 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_help.h
0.972 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_hset.h
3.321 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_i_s.h
8.288 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_insert.h
5.052 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_join_cache.h
47.519 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_lex.h
170.831 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_lifo_buffer.h
9.458 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_limit.h
3.112 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_list.h
21.866 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_load.h
1.246 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_locale.h
2.638 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_manager.h
0.938 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_mode.h
6.577 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_parse.h
8.76 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_partition.h
12.377 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_partition_admin.h
5.801 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_plist.h
7.53 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_plugin.h
7.399 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_plugin_compat.h
2.185 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_prepare.h
11.142 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_priv.h
18.094 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_profile.h
7.633 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_reload.h
1.012 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_rename.h
0.959 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_repl.h
2.974 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_schema.h
3.226 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_select.h
87.64 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_sequence.h
5.056 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_servers.h
1.735 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_show.h
9.589 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_signal.h
3.283 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_sort.h
21.449 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_statistics.h
16.117 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_string.h
38.095 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_table.h
9.582 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_test.h
2.603 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_time.h
8.306 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_trigger.h
12.043 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_truncate.h
2.03 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_tvc.h
2.361 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type.h
290.305 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_fixedbin.h
64.041 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_fixedbin_storage.h
5.339 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_geom.h
18.593 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_int.h
9.767 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_json.h
6.011 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_real.h
1.228 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_type_string.h
1.591 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_udf.h
4.736 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_union.h
1.043 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_update.h
1.878 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_view.h
2.412 KB
19 Aug 2026 6.22 AM
root / root
0644
sql_window.h
6.654 KB
19 Aug 2026 6.22 AM
root / root
0644
ssl_compat.h
3.301 KB
19 Aug 2026 6.22 AM
root / root
0644
strfunc.h
2.489 KB
19 Aug 2026 6.22 AM
root / root
0644
structs.h
28.767 KB
19 Aug 2026 6.22 AM
root / root
0644
sys_vars_shared.h
2.665 KB
19 Aug 2026 6.22 AM
root / root
0644
t_ctype.h
5.507 KB
19 Aug 2026 6.22 AM
root / root
0644
table.h
116.22 KB
19 Aug 2026 6.22 AM
root / root
0644
table_cache.h
4.133 KB
19 Aug 2026 6.22 AM
root / root
0644
thr_alarm.h
2.863 KB
19 Aug 2026 6.22 AM
root / root
0644
thr_lock.h
7.178 KB
19 Aug 2026 6.22 AM
root / root
0644
thr_malloc.h
1.174 KB
19 Aug 2026 6.22 AM
root / root
0644
thr_timer.h
1.526 KB
19 Aug 2026 6.22 AM
root / root
0644
thread_cache.h
5.767 KB
19 Aug 2026 6.22 AM
root / root
0644
threadpool.h
4.697 KB
19 Aug 2026 6.22 AM
root / root
0644
threadpool_generic.h
3.876 KB
19 Aug 2026 6.22 AM
root / root
0644
threadpool_winsockets.h
2.236 KB
19 Aug 2026 6.22 AM
root / root
0644
transaction.h
1.432 KB
19 Aug 2026 6.22 AM
root / root
0644
tzfile.h
4.896 KB
19 Aug 2026 6.22 AM
root / root
0644
tztime.h
3.317 KB
19 Aug 2026 6.22 AM
root / root
0644
uniques.h
4.118 KB
19 Aug 2026 6.22 AM
root / root
0644
unireg.h
7.541 KB
19 Aug 2026 6.22 AM
root / root
0644
vers_string.h
2.483 KB
19 Aug 2026 6.22 AM
root / root
0644
violite.h
9.723 KB
19 Aug 2026 6.22 AM
root / root
0644
waiting_threads.h
4.426 KB
19 Aug 2026 6.22 AM
root / root
0644
welcome_copyright_notice.h
1.189 KB
19 Aug 2026 6.22 AM
root / root
0644
win_tzname_data.h
6.354 KB
19 Aug 2026 6.22 AM
root / root
0644
winservice.h
5.878 KB
19 Aug 2026 6.22 AM
root / root
0644
wqueue.h
1.528 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep.h
3.23 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_allowlist_service.h
1.011 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_applier.h
2.64 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_binlog.h
3.468 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_client_service.h
2.541 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_client_state.h
1.529 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_condition_variable.h
1.449 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_high_priority_service.h
4.797 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_mutex.h
1.21 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_mysqld.h
21.49 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_mysqld_c.h
1.198 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_on.h
1.678 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_priv.h
1.596 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_schema.h
5.748 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_server_service.h
3.546 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_server_state.h
2.47 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_sst.h
3.858 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_status.h
1.773 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_storage_service.h
1.767 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_thd.h
11.218 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_trans_observer.h
17.748 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_types.h
1.084 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_utils.h
10.011 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_var.h
4.504 KB
19 Aug 2026 6.22 AM
root / root
0644
wsrep_xid.h
1.474 KB
19 Aug 2026 6.22 AM
root / root
0644
xa.h
1.802 KB
19 Aug 2026 6.22 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF