[Checkins] SVN: Products.SQLAlchemyDA/branches/zsql_commit_fix/Products/SQLAlchemyDA/da.py - Fix for zsql commit issue

Abdul Kader Maliyakkal akm.mail at gmail.com
Sun May 2 06:34:22 EDT 2010


Log message for revision 111861:
  - Fix for zsql commit issue
  - Marked the initial state as 'invalidated' when instantiating the SAWrapper
  

Changed:
  U   Products.SQLAlchemyDA/branches/zsql_commit_fix/Products/SQLAlchemyDA/da.py

-=-
Modified: Products.SQLAlchemyDA/branches/zsql_commit_fix/Products/SQLAlchemyDA/da.py
===================================================================
--- Products.SQLAlchemyDA/branches/zsql_commit_fix/Products/SQLAlchemyDA/da.py	2010-05-02 09:49:08 UTC (rev 111860)
+++ Products.SQLAlchemyDA/branches/zsql_commit_fix/Products/SQLAlchemyDA/da.py	2010-05-02 10:34:22 UTC (rev 111861)
@@ -98,6 +98,7 @@
                 return createSAWrapper(self.dsn, 
                                        forZope=True, 
                                        transactional=self.transactional,
+                                       extension_options={'initial_state': 'invalidated'},
                                        engine_options={'convert_unicode' : self.convert_unicode,
                                                        'encoding' : self.encoding},
                                        name=self.util_id)



More information about the checkins mailing list