From c6c1ca92ea2d65278271fcf139c33e7f24f916f4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Jun 2021 00:51:57 +0100 Subject: Support stopping the event stream reading --- lib/input/replStream.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/input/replStream.cpp') diff --git a/lib/input/replStream.cpp b/lib/input/replStream.cpp index c5bc61f..eb6c030 100644 --- a/lib/input/replStream.cpp +++ b/lib/input/replStream.cpp @@ -39,4 +39,10 @@ namespace MyGrate::Input { } } } + + void + ReplicationStream::stopEvents() + { + mariadb_cancel(this); + } } -- cgit v1.2.3