From 174f2bceb25a497a18f28f1feb07c3a2f63ed224 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 03:49:25 +0000 Subject: Virtual table patch parts --- libdbpp/connection.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libdbpp/connection.h b/libdbpp/connection.h index 8430b3d..f92be3d 100644 --- a/libdbpp/connection.h +++ b/libdbpp/connection.h @@ -143,9 +143,13 @@ namespace DB { static boost::optional resolvePlugin(const std::type_info &, const std::string &); protected: - unsigned int patchDeletes(TablePatch * tp); - unsigned int patchUpdates(TablePatch * tp); - unsigned int patchInserts(TablePatch * tp); + /// Internal perform table patch delete operations. + virtual unsigned int patchDeletes(TablePatch * tp); + /// Internal perform table patch update operations. + virtual unsigned int patchUpdates(TablePatch * tp); + /// Internal perform table patch insert operations. + virtual unsigned int patchInserts(TablePatch * tp); + private: }; -- cgit v1.2.3