the current mysql module contains two methods to finish a transaction (commit, rollback). But how can I start one?
Unfortunately PEP249 does not specify a method to start a transaction. You are free to execute a BEGIN (or START TRANSACTION) statement, however this will likely do nothing on a non-transactional engine like MyISAM,
Your question leads me to another one - PEP249 says:
"Note that if the database supports an auto-commit feature, this must be initially off. An interface method may be provided to turn it back on."
To be honest, mypysql may not follow this strictly, I'll have to check this further and make a fix if necessary.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.