Changeset View
Changeset View
Standalone View
Standalone View
src/engine/transaction.h
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
108 | template <typename Functor> | 108 | template <typename Functor> | ||
109 | void removeRecursively(quint64 id, Functor shouldDelete) { | 109 | void removeRecursively(quint64 id, Functor shouldDelete) { | ||
110 | Q_ASSERT(m_txn); | 110 | Q_ASSERT(m_txn); | ||
111 | Q_ASSERT(m_writeTrans); | 111 | Q_ASSERT(m_writeTrans); | ||
112 | 112 | | |||
113 | m_writeTrans->removeRecursively(id, shouldDelete); | 113 | m_writeTrans->removeRecursively(id, shouldDelete); | ||
114 | } | 114 | } | ||
115 | 115 | | |||
116 | void pruneFsTree(); | ||||
116 | void replaceDocument(const Document& doc, DocumentOperations operations); | 117 | void replaceDocument(const Document& doc, DocumentOperations operations); | ||
117 | void setPhaseOne(quint64 id); | 118 | void setPhaseOne(quint64 id); | ||
118 | void removePhaseOne(quint64 id); | 119 | void removePhaseOne(quint64 id); | ||
119 | 120 | | |||
120 | // Debugging | 121 | // Debugging | ||
121 | void checkFsTree(); | 122 | void checkFsTree(); | ||
122 | void checkTermsDbinPostingDb(); | 123 | void checkTermsDbinPostingDb(); | ||
123 | void checkPostingDbinTermsDb(); | 124 | void checkPostingDbinTermsDb(); | ||
Show All 14 Lines |