# HG changeset patch # User Julien Cristau # Date 1396538753 -7200 # Node ID 1676d316171d908683d4d4642d6160f3d3a3e4ee # Parent 9fb2f15d5e850545f809aa6f4028c21e83a77937 [migration] make 'session' object be a server-side Connection, not ClientConnection I think this better corresponds to the previous behaviour. However, that Connection does not have a cnxset, which should probably be changed (for both interactive_shell and cmd_process_script). diff -r 9fb2f15d5e85 -r 1676d316171d server/migractions.py --- a/server/migractions.py Thu Mar 20 08:45:52 2014 +0100 +++ b/server/migractions.py Thu Apr 03 17:25:53 2014 +0200 @@ -310,7 +310,7 @@ 'schema': self.repo.get_schema(), 'cnx': self.cnx, 'fsschema': self.fs_schema, - 'session' : self.cnx, + 'session' : self.cnx._cnx, 'repo' : self.repo, }) return context