From 9799895fcc1e431b1661b0e305fa86715de893a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Wed, 28 Sep 2022 01:39:35 +0200 Subject: [PATCH] Docs table regex (#53) * Add more specific info about regex * noop change to trigger checks --- bin/pt-table-checksum | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index 3fe7e73f..f25cd316 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -11,6 +11,7 @@ use warnings FATAL => 'all'; # in this file. Setting %INC to this file for each module makes Perl aware # of this so it will not try to load the module from @INC. See the tool's # documentation for a full list of dependencies. + BEGIN { $INC{$_} = __FILE__ for map { (my $pkg = "$_.pm") =~ s!::!/!g; $pkg } (qw( Percona::Toolkit @@ -12248,7 +12249,9 @@ Only checksum this comma-separated list of databases. type: string; group: Filter -Only checksum databases whose names match this Perl regex. +Only checksum databases whose names match this Perl regex. This is matched +against the lowercase table name. This is the bare regex; it should not be +enclosed in slashes. =item --defaults-file @@ -12370,7 +12373,9 @@ the database name. The L<"--replicate"> table is always automatically ignored. type: string; group: Filter -Ignore tables whose names match the Perl regex. +Ignore tables whose names match the Perl regex. This is matched +against the lowercase table name. This is the bare regex; it should not be +enclosed in slashes. =item --max-lag