[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).
--- 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