ChangeInserter: Remove stray beginTransaction call

Transactions are now handled by BatchUpdate; this one was accidentally
left in.

Change-Id: I283d4d6b87f3eaffa82f54c0e551d4ab4a7529df
This commit is contained in:
Dave Borowitz
2015-10-12 15:34:15 -04:00
parent b729d3e82b
commit 02481e7ac7

View File

@@ -269,7 +269,6 @@ public class ChangeInserter extends BatchUpdate.InsertChangeOp {
ReviewDb db = ctx.getDb();
ChangeControl ctl = ctx.getChangeControl();
ChangeUpdate update = ctx.getChangeUpdate();
db.changes().beginTransaction(change.getId());
ChangeUtil.insertAncestors(db, patchSet.getId(), commit);
if (patchSet.getGroups() == null) {
patchSet.setGroups(GroupCollector.getDefaultGroups(patchSet));