Ticket #1493: mysql-autologoutbug.patch
| File mysql-autologoutbug.patch, 0.6 kB (added by amax@snaplogic.org, 2 years ago) |
|---|
-
db/mysql_backend.py
old new 185 185 return self.cnx.insert_id() 186 186 187 187 def rollback(self): 188 if self.cnx.ping(): 189 self._set_character_set(self.cnx, 'utf8') 188 self.cnx.ping() 189 self._set_character_set(self.cnx, 'utf8') 190 try: 190 191 self.cnx.rollback() 191 e lse:192 except ProgrammingError: 192 193 self._is_closed = True 193 194 194 195 def close(self):
