diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-23 01:15:36 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-23 01:15:36 +0100 |
commit | b90ca820b4159f6fe2c713d2c3b4d08620e17beb (patch) | |
tree | 4b9a7b84984576aabebbe00d21cc5a18a2cb74de /lib/output/pq | |
parent | First cut replicating row inserts (diff) | |
download | mygrate-b90ca820b4159f6fe2c713d2c3b4d08620e17beb.tar.bz2 mygrate-b90ca820b4159f6fe2c713d2c3b4d08620e17beb.tar.xz mygrate-b90ca820b4159f6fe2c713d2c3b4d08620e17beb.zip |
Add missing keys initializer
Diffstat (limited to 'lib/output/pq')
-rw-r--r-- | lib/output/pq/updateDatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/pq/updateDatabase.cpp b/lib/output/pq/updateDatabase.cpp index ebc3c43..22ae346 100644 --- a/lib/output/pq/updateDatabase.cpp +++ b/lib/output/pq/updateDatabase.cpp @@ -52,7 +52,7 @@ namespace MyGrate::Output::Pq { return (*srcrec)[0].create<Input::ReplicationStream, 7>(); } - TableOutput::TableOutput(const RecordSet & crecs, std::string_view name) + TableOutput::TableOutput(const RecordSet & crecs, std::string_view name) : keys {0} { for (auto c {0U}; c < crecs.rows(); c++) { if (crecs.at(c, 0) == name) { |