Revision
9275
Author
glyph@apple.com
Date
2012-05-24 13:33:38 -0700 (Thu, 24 May 2012)

Log Message

add a commit after the schema upgrade

Modified Paths

Diff

Modified: CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py (9274 => 9275)


--- CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py	2012-05-24 20:33:35 UTC (rev 9274)
+++ CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py	2012-05-24 20:33:38 UTC (rev 9275)
@@ -355,6 +355,7 @@
         Upgrade the stored schema version to the current one.
         """
         yield self._db_execute("insert or replace into CALDAV (KEY, VALUE) values ('SCHEMA_VERSION', :1)", (self._db_version(),))
+        yield self._db_commit()
 
     @inlineCallbacks
     def _db_remove(self):