cursor.execute('SELECT @@tx_isolation') generates a warning with MySQL 5.7+
That warning has been fixed in 1.1. But there seems to be a regression with 1.2
in that the fix is no longer present.
dialects/mysql/base.py?rel_1_2_0b2
<https://bitbucket.org/zzzeek/sqlalchemy/src/32c4c8ace41a8eb269d4b6294a9cfac1d8411e7d/lib/sqlalchemy/dialects/mysql/base.py?at=rel_1_2_0b2&fileviewer=file-view-default#base.py-1713>
vs dialects/mysql/base.py?rel_1_1
<https://bitbucket.org/zzzeek/sqlalchemy/src/0b33a8c48f184b6b530cfc4ee9af743c761845b2/lib/sqlalchemy/dialects/mysql/base.py?at=rel_1_1&fileviewer=file-view-default#base.py-1576>
The relevant commit
<https://bitbucket.org/zzzeek/sqlalchemy/diff/lib/sqlalchemy/dialects/mysql/base.py?diff2=71c9b4914187&at=rel_1_1>
can likely be applied to the 1.2 branch as well.
Would you like a pull request for this or would it be easier to grab the
commit and apply it yourself?
--
Josh A.
--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
http://www.sqlalchemy.org/
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable
Example. See http://stackoverflow.com/help/mcve for a full description.
---
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.