commit | 77c684b417cf101dafef86f9efbd20a287e764dd | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Oct 28 15:57:51 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Mon Oct 31 17:36:06 2011 -0700 |
tree | c5c93ac17ffd85af391e36760ac9d0d33d872b23 | |
parent | d3743450a2981a3cada725e1af54f229bdc1738d [diff] |
Use transactions to handle comments when possible If the database supports transactions (see gwtorm, not all do) try to perform some update operations as a single transaction on the change. This may allow the database to batch together any record updates, saving some time. Change-Id: I5af9efe3a541d83515109e3bf9a3497b3d8127de