summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 03:49:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit174f2bceb25a497a18f28f1feb07c3a2f63ed224 (patch)
treea63f189750543ab2bd244ec9721aab949c345026
parentAdd briefer, smart pointer functions for getting new command instances (diff)
downloadlibdbpp-174f2bceb25a497a18f28f1feb07c3a2f63ed224.tar.bz2
libdbpp-174f2bceb25a497a18f28f1feb07c3a2f63ed224.tar.xz
libdbpp-174f2bceb25a497a18f28f1feb07c3a2f63ed224.zip
Virtual table patch parts
-rw-r--r--libdbpp/connection.h10
1 files 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<std::string> 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:
};