mysqlnd_ms_match_wild
Finds whether a table name matches a wildcard pattern or not
&reftitle.description;
bool
mysqlnd_ms_match_wild
stringtable_name
stringwildcard
Finds whether a table name matches a wildcard pattern or not.
This function is not of much practical relevance with PECL mysqlnd_ms 1.1.0
because the plugin does not support MySQL replication table filtering yet.
&reftitle.parameters;
table_name
The table name to check if it is matched by the wildcard.
wildcard
The wildcard pattern to check against the table name.
The wildcard pattern supports the same placeholders as
MySQL replication filters do.
MySQL replication filters
can be configured by using the MySQL Server configuration
options --replicate-wild-do-table and
--replicate-wild-do-db. Please, consult
the MySQL Reference Manual to learn more about this MySQL
Server feature.
The supported placeholders are:
% - zero or more literals
_ - one literal
Placeholders can be escaped using \.
&reftitle.returnvalues;
Returns &true; table_name is
matched by wildcard.
Otherwise, returns &false;
&reftitle.examples;
mysqlnd_ms_match_wild example
]]>
&example.outputs;