MXS-701: Improve binlogfilter
Added `match` and `exclude` functionality. This allows versatile filtering without a large investment of development time by leveraging the benefits of PCRE2 regular expressions. Also cleaned up the filter and removed the single table matching and active parameter that were obsoleted by the regular expression parameters.
This commit is contained in:
@ -761,6 +761,13 @@ qc_sql_mode_t qc_get_sql_mode();
|
||||
*/
|
||||
char** qc_get_table_names(GWBUF* stmt, int* size, bool fullnames);
|
||||
|
||||
/**
|
||||
* Free tables returned by qc_get_table_names
|
||||
*
|
||||
* @param names List of names
|
||||
* @param size Size of @c names
|
||||
*/
|
||||
void qc_free_table_names(char** names, int size);
|
||||
|
||||
/**
|
||||
* Returns a bitmask specifying the type(s) of the statement. The result
|
||||
|
Reference in New Issue
Block a user