correct. Uploading to trunk...

On Apr 18, 9:04 am, fgpy <[email protected]> wrote:
> The DB2 connection string with DSN does not work anymore.
>
> In version 1.94.6 (but the problem may exist for earlier versions
> too), the uri is checked with a regex_dbname to force
> <name_of_the_driver>://<parameters>.
>
> However, for DB2 odbc driver with DSN, the syntax used to be
> db2:DSN...
>
> The problem is that when changing it to "db2://DSN..." to comply
> (which is more coherent, I agree), the driver does not work because
> the uri is not split correctly.
>
> My guess is that line 2277 of DAL.py should be cnxn = uri.split('://',
> 1)[1] instead of current cnxn = uri.split(':',1)[1].

Reply via email to