Remove PatchSetAncestors table

The only remaining callers are the insert and delete code paths; it is
no longer used for lookups.

Change-Id: Id665eda39b585750f1b4032312ea04f5539456b4
This commit is contained in:
Dave Borowitz
2015-10-27 13:33:41 -04:00
parent e3cd90ffb9
commit 4ebea5bd67
16 changed files with 27 additions and 215 deletions

View File

@@ -583,8 +583,6 @@ public class ConsistencyChecker {
// historical information.
db.accountPatchReviews().delete(
db.accountPatchReviews().byPatchSet(psId));
db.patchSetAncestors().delete(
db.patchSetAncestors().byPatchSet(psId));
db.patchSetApprovals().delete(
db.patchSetApprovals().byPatchSet(psId));
db.patchComments().delete(