diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-05-27 19:22:36 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-05-27 19:22:36 +0100 |
commit | bea14ae389e33626683dec29226065824831b1bb (patch) | |
tree | cb5904e45625b4ba29d6f48a1a696844efb96f15 | |
parent | Add an update util for triggering database updates (diff) | |
download | gentoobrowse-api-bea14ae389e33626683dec29226065824831b1bb.tar.bz2 gentoobrowse-api-bea14ae389e33626683dec29226065824831b1bb.tar.xz gentoobrowse-api-bea14ae389e33626683dec29226065824831b1bb.zip |
Empty the right table on masks removal
-rw-r--r-- | gentoobrowse-api/service/maintenance/masksProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenance/masksProcessor.cpp b/gentoobrowse-api/service/maintenance/masksProcessor.cpp index 225ccb8..0bed3be 100644 --- a/gentoobrowse-api/service/maintenance/masksProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/masksProcessor.cpp @@ -103,7 +103,7 @@ namespace Gentoo { void MasksProcessor::deleted(DB::Connection * dbc, const boost::filesystem::path &) { - dbc->modify("DELETE FROM gentoobrowse.use_local")->execute(); + dbc->modify("DELETE FROM gentoobrowse.masksets")->execute(); } } } |