equal
deleted
inserted
replaced
210 # Connection yet so we use this trick to unsure the session have the |
210 # Connection yet so we use this trick to unsure the session have the |
211 # proper cnx loaded. This can be simplified one we have Standalone |
211 # proper cnx loaded. This can be simplified one we have Standalone |
212 # Connection object |
212 # Connection object |
213 rset = self._cnx.execute(*args, **kwargs) |
213 rset = self._cnx.execute(*args, **kwargs) |
214 rset.req = self |
214 rset.req = self |
215 # XXX keep the same behavior as the old dbapi |
|
216 # otherwise multiple tests break. |
|
217 # The little internet kitten is very sad about this situation. |
|
218 rset._rqlst = None |
|
219 return rset |
215 return rset |
220 |
216 |
221 @_open_only |
217 @_open_only |
222 def commit(self, *args, **kwargs): |
218 def commit(self, *args, **kwargs): |
223 try: |
219 try: |