summaryrefslogtreecommitdiff
path: root/lib/row.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-05-24 01:01:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-05-24 01:01:30 +0100
commit15c1e5566f7ad8448985ca6e52805ceb4ec389a8 (patch)
tree14908b221d01cca00975da84656adcea57898620 /lib/row.h
parentMinor tidy up of replStream (diff)
downloadmygrate-15c1e5566f7ad8448985ca6e52805ceb4ec389a8.tar.bz2
mygrate-15c1e5566f7ad8448985ca6e52805ceb4ec389a8.tar.xz
mygrate-15c1e5566f7ad8448985ca6e52805ceb4ec389a8.zip
Basic support for queries with bound parameters
Bit of a reshuffle to make the types not DB specific, add some basic tests over query execution, no selects yet and no validation anything is actually right.
Diffstat (limited to 'lib/row.h')
-rw-r--r--lib/row.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/row.h b/lib/row.h
index a40b1b2..35d8bcd 100644
--- a/lib/row.h
+++ b/lib/row.h
@@ -1,7 +1,7 @@
#ifndef MYGRATE_ROW_H
#define MYGRATE_ROW_H
-#include "mysql_types.h"
+#include "dbTypes.h"
#include <utility>
#include <vector>
namespace MyGrate {
@@ -11,7 +11,7 @@ struct st_mariadb_rpl_rows_event;
struct st_mariadb_rpl_table_map_event;
namespace MyGrate {
- class Row : public std::vector<MySQL::FieldValue> {
+ class Row : public std::vector<DbValue> {
public:
Row(const st_mariadb_rpl_rows_event &, const st_mariadb_rpl_table_map_event &);