diff options
Diffstat (limited to 'test/helpers.cpp')
-rw-r--r-- | test/helpers.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/helpers.cpp b/test/helpers.cpp index f4fc030..6cb6fdc 100644 --- a/test/helpers.cpp +++ b/test/helpers.cpp @@ -13,3 +13,10 @@ MemStream::flush() { fflush(s); } + +EventCounterTarget & +EventCounterTarget::add(mariadb_rpl_event e, unsigned long n) +{ + counters[e] += n; + return *this; +} |