mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2026-03-13 08:00:02 +08:00
Version 1.1.4
* setup.py: changed include and library path order * MySQLdb/connections.py: fix super class reference in autocommit() * Tested against MySQL-4.1.4a with InnoDB tables
This commit is contained in:
@@ -18,7 +18,7 @@ __revision__ = """$Revision$"""[11:-2]
|
||||
version_info = (
|
||||
1,
|
||||
1,
|
||||
3,
|
||||
4,
|
||||
"final",
|
||||
1)
|
||||
if version_info[3] == "final": __version__ = "%d.%d.%d" % version_info[:3]
|
||||
|
||||
@@ -115,7 +115,7 @@ class Connection(_mysql.connection):
|
||||
flag = flag == True
|
||||
s = super(Connection, self)
|
||||
if hasattr(s, 'autocommit'):
|
||||
s.autocommit(self, flag)
|
||||
s.autocommit(flag)
|
||||
else:
|
||||
self.query("SET AUTOCOMMIT=%d" % flag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user