# HG changeset patch # User Sylvain Thénault # Date 1425552269 -3600 # Node ID 9bdc741421640df17d15194c23c8d5ba843ab980 # Parent d5403de0792b5af26fc4ccdf77bfca3cb370d9b1 [native source] log the used connection in doexecmany as in doexec diff -r d5403de0792b -r 9bdc74142164 server/sources/native.py --- a/server/sources/native.py Tue Feb 17 12:43:42 2015 +0100 +++ b/server/sources/native.py Thu Mar 05 11:44:29 2015 +0100 @@ -757,7 +757,7 @@ it's a function just so that it shows up in profiling """ if server.DEBUG & server.DBG_SQL: - print 'execmany', query, 'with', len(args), 'arguments' + print 'execmany', query, 'with', len(args), 'arguments', cnx.cnxset.cnx cursor = cnx.cnxset.cu try: # str(query) to avoid error if it's a unicode string