Update sipb-xen-
authorEvan Broder <broder@mit.edu>
Thu, 2 Oct 2008 23:41:44 +0000 (19:41 -0400)
committerEvan Broder <broder@mit.edu>
Thu, 2 Oct 2008 23:41:44 +0000 (19:41 -0400)
Update invirt.database to not be transactional by default

svn path=/trunk/packages/sipb-xen-database/; revision=1008

debian/changelog
python/database/models.py

index 2d99c31..63d7940 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-database (10.26) unstable; urgency=low
+
+  * Disable transactions by default
+
+ -- Evan Broder <broder@mit.edu>  Thu, 02 Oct 2008 19:40:34 -0400
+
 sipb-xen-database (10.25) unstable; urgency=low
 
   * add remote and console to pg_hba.conf template
 sipb-xen-database (10.25) unstable; urgency=low
 
   * add remote and console to pg_hba.conf template
index b91107f..6ba0446 100644 (file)
@@ -26,7 +26,7 @@ __all__ = ['meta',
            ]
 
 meta = ThreadLocalMetaData()
            ]
 
 meta = ThreadLocalMetaData()
-session = orm.scoped_session(orm.sessionmaker())
+session = orm.scoped_session(orm.sessionmaker(transactional=False))
 
 machine_table = Table('machines', meta,
        Column('machine_id', Integer, primary_key=True, nullable=False),
 
 machine_table = Table('machines', meta,
        Column('machine_id', Integer, primary_key=True, nullable=False),