[CalendarServer-changes] [9275] CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/ database.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 24 13:33:38 PDT 2012


Revision: 9275
          http://trac.macosforge.org/projects/calendarserver/changeset/9275
Author:   glyph at 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:
--------------
    CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py

Modified: CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py
===================================================================
--- 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):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120524/91ddd5af/attachment-0001.html>


More information about the calendarserver-changes mailing list