Michael,

sorry for my late reply.

Anyway I can confirm that your change works! Thank you!

Michael Bayer schrieb:
> hey there - can you try reverting your change and applying this patch 
> instead ?  i havent tested locally so it would be helpful if you can 
> confirm it works....
>
> Index: lib/sqlalchemy/databases/mssql.py
> ===================================================================
> --- lib/sqlalchemy/databases/mssql.py   (revision 1775)
> +++ lib/sqlalchemy/databases/mssql.py   (working copy)
> @@ -237,17 +237,13 @@
> class MSSQLDialect(ansisql.ANSIDialect):
>      def __init__(self, module = None, **params):
>          self.module = module or dbmodule
> -        self.opts = {}
>          ansisql.ANSIDialect.__init__(self, **params)
>      def create_connect_args(self, url):
> -        self.opts = url.translate_connect_args(['host', 'database', 
> 'user', 'password', 'port'])
> -        self.opts.update(url.query)
> -        return ([], self.opts)
> +        opts = url.translate_connect_args(['host', 'database', 
> 'user', 'password', 'port'])
> +        opts.update(url.query)
> +        return make_connect_string(opts)
> -    def connect_args(self):
> -        return make_connect_string(self.opts)
> -
>      def create_execution_context(self):
>          return MSSQLExecutionContext(self)
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to