diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-08 09:08:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-08 09:08:25 +0100 |
commit | 3e3992bbab56da69fc0c39e10a11862dea7a5c43 (patch) | |
tree | 8730aefce6c72f51a31380a99335daa793d335af /lib/output/pq/updateDatabase.h | |
parent | Push lots of test logic into a fixture for easier test case creation (diff) | |
download | mygrate-3e3992bbab56da69fc0c39e10a11862dea7a5c43.tar.bz2 mygrate-3e3992bbab56da69fc0c39e10a11862dea7a5c43.tar.xz mygrate-3e3992bbab56da69fc0c39e10a11862dea7a5c43.zip |
Create indexes and keys after copying table data
Diffstat (limited to 'lib/output/pq/updateDatabase.h')
-rw-r--r-- | lib/output/pq/updateDatabase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/output/pq/updateDatabase.h b/lib/output/pq/updateDatabase.h index 716d7f6..63a96b9 100644 --- a/lib/output/pq/updateDatabase.h +++ b/lib/output/pq/updateDatabase.h @@ -78,6 +78,7 @@ namespace MyGrate::Output::Pq { static void copyKeys(const Row & r, const TableDefPtr &, std::back_insert_iterator<Row> &&); void copyTableContent(Input::MySQLConn *, const char * tableName, const TableDefPtr &); + void copyIndexes(Input::MySQLConn *, const char * tableName); using Tables = std::map<std::string, TableDefPtr, std::less<>>; Tables tables; |