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 | 8d7492d12eca69a9949896c335aa31aedc8cc109 (patch) | |
tree | cb5904e45625b4ba29d6f48a1a696844efb96f15 | |
parent | Add an update util for triggering database updates (diff) | |
download | gentoobrowse-api-8d7492d12eca69a9949896c335aa31aedc8cc109.tar.bz2 gentoobrowse-api-8d7492d12eca69a9949896c335aa31aedc8cc109.tar.xz gentoobrowse-api-8d7492d12eca69a9949896c335aa31aedc8cc109.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(); } } } |