[migration] commit just after symetric has been renamed to symmetric (else later rollback may cancel this) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 13 Sep 2010 10:00:05 +0200
branchstable
changeset 6213 efde9f08f2ae
parent 6212 73565b770559
child 6214 e03808843325
[migration] commit just after symetric has been renamed to symmetric (else later rollback may cancel this)
server/schemaserial.py
--- a/server/schemaserial.py	Sun Sep 12 15:53:16 2010 +0200
+++ b/server/schemaserial.py	Mon Sep 13 10:00:05 2010 +0200
@@ -95,6 +95,7 @@
                                       dbhelper.TYPE_MAPPING['Boolean'], True)
         sqlcu.execute(sql)
         sqlcu.execute("UPDATE cw_CWRType SET cw_name='symmetric' WHERE cw_name='symetric'")
+        session.commit(False)
     ertidx = {}
     copiedeids = set()
     permsidx = deserialize_ertype_permissions(session)