[Checkins] SVN: Products.SQLAlchemyDA/trunk/da.py - send a simple
COMMIT to open a connection (sending an additional
Andreas Jung
andreas at andreas-jung.com
Fri Jun 8 11:43:09 EDT 2007
Log message for revision 76509:
- send a simple COMMIT to open a connection (sending an additional
BEGIN causes Oracle to barf)
Changed:
U Products.SQLAlchemyDA/trunk/da.py
-=-
Modified: Products.SQLAlchemyDA/trunk/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/da.py 2007-06-08 15:36:50 UTC (rev 76508)
+++ Products.SQLAlchemyDA/trunk/da.py 2007-06-08 15:43:08 UTC (rev 76509)
@@ -217,7 +217,7 @@
def manage_start(self, RESPONSE=None):
""" start engine """
try:
- self.query('BEGIN; COMMIT;');
+ self.query('COMMIT;');
if RESPONSE:
msg = 'Database connection opened'
RESPONSE.redirect(self.absolute_url() + '/manage_workspace?manage_tabs_message=%s' % msg)
More information about the Checkins
mailing list