pt-online-schema-chnage: Added plugin feature 'override_slavelag_check' which allows modules to create their own ReplicaLagWaiter callback.

I fixed the current tests.
This commit is contained in:
Kenny Gryp
2014-03-24 19:25:41 +01:00
parent 433e5db1f6
commit dc6f1442c8
3 changed files with 16 additions and 1 deletions

View File

@@ -96,4 +96,11 @@ sub before_exit {
print "PLUGIN before_exit\n";
}
sub override_slavelag_check {
my ($self, %args) = @_;
print "PLUGIN override_slavelag_check\n";
return sub { return 0; };
}
1;