14 May 21:44
Savepoints not generated with MySQL?
From: Jacob Gabrielson <jacobg23 <at> gmail.com>
Subject: Savepoints not generated with MySQL?
Newsgroups: gmane.comp.python.sqlalchemy.user
Date: 2008-05-14 19:45:53 GMT
Subject: Savepoints not generated with MySQL?
Newsgroups: gmane.comp.python.sqlalchemy.user
Date: 2008-05-14 19:45:53 GMT
Hi, I'm testing out the below script with MySQL 5.0.51a and SA 0.4.6. Based on the documentation I expected to see a SAVEPOINT be created (at some point) and rolled-back to but instead I get the following: >>> satest.doit() 2008-05-14 12:42:37,813 INFO sqlalchemy.engine.threadlocal.TLEngine. 0x..cc BEGIN 2008-05-14 12:42:37,814 INFO sqlalchemy.engine.threadlocal.TLEngine. 0x..cc INSERT INTO test_table (name) VALUES (%s) 2008-05-14 12:42:37,814 INFO sqlalchemy.engine.threadlocal.TLEngine. 0x..cc ['outer'] 2008-05-14 12:42:37,815 INFO sqlalchemy.engine.threadlocal.TLEngine. 0x..cc INSERT INTO test_table (name) VALUES (%s) 2008-05-14 12:42:37,815 INFO sqlalchemy.engine.threadlocal.TLEngine. 0x..cc ['inner'] 2008-05-14 12:42:37,816 INFO sqlalchemy.engine.threadlocal.TLEngine. 0x..cc COMMIT Am I doing something wrong? I looked thru this mailing-list, bug reports and documentation but couldn't see anything obvious. Thanks! -- Jacob The script is:(Continue reading)
RSS Feed