From fcdca58617caf6a8c034a91588d6abb399be6b57 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 18 May 2021 00:06:37 +0100 Subject: Initial commit, still lots to do! --- lib/row.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/row.h (limited to 'lib/row.h') diff --git a/lib/row.h b/lib/row.h new file mode 100644 index 0000000..ac2c135 --- /dev/null +++ b/lib/row.h @@ -0,0 +1,21 @@ +#ifndef MYGRATE_ROW_H +#define MYGRATE_ROW_H + +#include "mysql_types.h" +#include "rawDataReader.h" +#include + +namespace MyGrate { + class Row { + public: + Row(const st_mariadb_rpl_rows_event &, const st_mariadb_rpl_table_map_event &); + + void forEachField(const std::function & callback); + + private: + const st_mariadb_rpl_rows_event & row; + const st_mariadb_rpl_table_map_event & tm; + }; +} + +#endif -- cgit v1.2.3