[client-connect] drop rqlst on rset returned client side
The DBAPI used to drop the RQL syntax tree on rset to save bandwidth. We could
stop doing it for In-memory client connection. However keeping the syntax tree
leads to multiple tests failures. So we keep dropping it as the DBAPI always
did.
related to #2503918
--- a/repoapi.py Fri Jun 21 15:25:47 2013 +0200
+++ b/repoapi.py Fri Jun 21 15:26:03 2013 +0200
@@ -173,6 +173,10 @@
with self._srv_cnx as cnx:
rset = cnx.execute(*args, **kwargs)
rset.req = self
+ # XXX keep the same behavior as the old dbapi
+ # otherwise multiple tests break.
+ # The little internet kitten is very sad about this situation.
+ rset._rqlst = None
return rset
commit = _srv_cnx_func('commit')