commit | 30174be3842e3167ff01b76ff85811b013dca601 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Mon Jun 20 08:07:46 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Jun 24 09:21:38 2011 -0700 |
tree | 858884e5df2086075f6e66951d1b97a62411085e | |
parent | f846d778523bdcbaf748fbdfae39c6cc456be5b7 [diff] |
Fix MySQL counter resets MySQL resets its counters to 0 on server restarts, resulting in database errors on the next insertion attempt for common entities like account or change. gwtorm 1.1.5 was patched to leave in the dummy row that incremented the counter, ensuring the server will use MAX() + 1 instead of 1 on the next increment after restart. Bug: issue 518 Change-Id: I52cf5354f4fccf787fe8c62539ead6d5f6a0fead (cherry picked from commit 17ca55ff0f4553212c9fc53275d7cf75a0b6d188)