Merge "Revert "NoteDbUpdateManager: Remove unused flush method""
This commit is contained in:
@@ -455,6 +455,15 @@ public class NoteDbUpdateManager implements AutoCloseable {
|
|||||||
return draftIds;
|
return draftIds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void flush() throws IOException {
|
||||||
|
if (changeRepo != null) {
|
||||||
|
changeRepo.flush();
|
||||||
|
}
|
||||||
|
if (allUsersRepo != null) {
|
||||||
|
allUsersRepo.flush();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public BatchRefUpdate execute() throws OrmException, IOException {
|
public BatchRefUpdate execute() throws OrmException, IOException {
|
||||||
return execute(false);
|
return execute(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user