File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1010- added content to ZRoundup refresh.txt file (sf bug 1147622)
1111- fix invalid reference to csv.colon_separated
1212- correct URL to What's New in setup.py meta-data
13+ - change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
1314
1415
15162005-02-17 0.8.1
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Cameron Blackwood,
7171Jeff Blaine,
7272Duncan Booth,
7373Seb Brezel,
74+ J Alan Brogan,
7475Titus Brown,
7576Godefroid Chapelle,
7677Roch'e Compaan,
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def sql_open_connection(self):
145145 except MySQLdb .OperationalError , message :
146146 raise DatabaseError , message
147147 cursor = conn .cursor ()
148- cursor .execute ("SET AUTOCOMMIT=OFF " )
148+ cursor .execute ("SET AUTOCOMMIT=0 " )
149149 cursor .execute ("START TRANSACTION" )
150150 return (conn , cursor )
151151
@@ -481,7 +481,7 @@ def sql_commit(self):
481481 self .cursor = self .conn .cursor ()
482482
483483 # make sure we're in a new transaction and not autocommitting
484- self .sql ("SET AUTOCOMMIT=OFF " )
484+ self .sql ("SET AUTOCOMMIT=0 " )
485485 self .sql ("START TRANSACTION" )
486486
487487class MysqlClass :
You can’t perform that action at this time.
0 commit comments