diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 15:38:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 15:38:08 +0200 |
commit | 8499c2d29b082f35ac2eb55f7633e0d4103cefe5 (patch) | |
tree | a85e7ab63f8cc96f71d6aca979c3f8d22ca76086 /common/resource.cpp | |
parent | 53d571a4ba75474a6d12d0de6b4059c83578e94b (diff) | |
download | sink-8499c2d29b082f35ac2eb55f7633e0d4103cefe5.tar.gz sink-8499c2d29b082f35ac2eb55f7633e0d4103cefe5.zip |
Avoid using the resource object to remove the data from disk.
...because creating it will potentially start transactions on the
database we're about to remove.
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index 82c9fc8..f4c2ad4 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -61,10 +61,6 @@ void Resource::setLowerBoundRevision(qint64 revision) | |||
61 | Q_UNUSED(revision) | 61 | Q_UNUSED(revision) |
62 | } | 62 | } |
63 | 63 | ||
64 | void Resource::removeDataFromDisk() | ||
65 | { | ||
66 | } | ||
67 | |||
68 | 64 | ||
69 | class ResourceFactory::Private | 65 | class ResourceFactory::Private |
70 | { | 66 | { |