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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user