summaryrefslogtreecommitdiff
path: root/lib/input/replStream.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-06 00:59:03 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-06 00:59:03 +0100
commit51ac5d2007f1caf6bc6e65b485ba896357696654 (patch)
treedb0566c8ca0c1ba1131e3c22d6cb886c6eefa2fb /lib/input/replStream.h
parentAdd conversion operators to get common types from DbValues (diff)
downloadmygrate-51ac5d2007f1caf6bc6e65b485ba896357696654.tar.bz2
mygrate-51ac5d2007f1caf6bc6e65b485ba896357696654.tar.xz
mygrate-51ac5d2007f1caf6bc6e65b485ba896357696654.zip
Add RecordSet RowView
This represents a view into a recordset by row number and provides easy access to values in a column by index and the ability to create a new object instance by N columns which are passed to the object's constructor.
Diffstat (limited to 'lib/input/replStream.h')
-rw-r--r--lib/input/replStream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/input/replStream.h b/lib/input/replStream.h
index 01c9ef3..bc47267 100644
--- a/lib/input/replStream.h
+++ b/lib/input/replStream.h
@@ -13,7 +13,7 @@ namespace MyGrate {
namespace MyGrate::Input {
class ReplicationStream : public EventSourceBase, MySQLConn {
public:
- ReplicationStream(const char * const host, const char * const user, const char * const pass,
+ ReplicationStream(const std::string & host, const std::string & user, const std::string & pass,
unsigned short port, uint64_t serverid, std::string filename, uint64_t position);
void readEvents(EventHandlerBase &) override;