MySQL 8.4.0
Source Code Documentation
|
Class used when we want a column view over a table in a context where the replicated table contains a GIPK on the replica, but not on the source. More...
#include <column_filter_inbound_gipk.h>
Static Public Member Functions | |
static bool | is_filter_needed (THD const &thd, TABLE *table, table_def const *tabledef) |
Is this filter needed given context passed in the parameters. More... | |
Private Member Functions | |
bool | filter_column (TABLE const *, size_t column_index) override |
Additional Inherited Members | |
Public Member Functions inherited from cs::util::ColumnFilter | |
virtual | ~ColumnFilter ()=default |
Class used when we want a column view over a table in a context where the replicated table contains a GIPK on the replica, but not on the source.
SOURCE TABLE t
+-—+-—+-—+ | C1 | C2 | C3 | +-—+-—+-—+
REPLICA TABLE t
+---—+-—+-—+-—+ | GIPK | C1 | C2 | C3 | +---—+-—+-—+-—+
This class filters the first column on iteration.
|
overrideprivatevirtual |
Implements cs::util::ColumnFilter.
|
static |
Is this filter needed given context passed in the parameters.
thd | the thread objected associated to filter |
table | the table where the columns are being iterated |
tabledef | the source table definition if applicable |