via a new postgres.PGDoublePrecision object.
This is postgresql.DOUBLE_PRECISION in 0.6.
[ticket:1085]
+
+- mssql
+ - Changed the name of TrustedConnection to
+ Trusted_Connection when constructing pyodbc connect
+ arguments [ticket:1561]
0.5.6
=====
* *mssql://mydsn* - connects using the specified DSN named ``mydsn``.
The connection string that is created will appear like::
- dsn=mydsn;TrustedConnection=Yes
+ dsn=mydsn;Trusted_Connection=Yes
* *mssql://user:pass@mydsn* - connects using the DSN named
``mydsn`` passing in the ``UID`` and ``PWD`` information. The
connectors.append("UID=%s" % user)
connectors.append("PWD=%s" % keys.pop('password', ''))
else:
- connectors.append("TrustedConnection=Yes")
+ connectors.append("Trusted_Connection=Yes")
# if set to 'Yes', the ODBC layer will try to automagically convert
# textual data from your database encoding to your client encoding
u = url.make_url('mssql://mydsn')
dialect = mssql.MSSQLDialect_pyodbc()
connection = dialect.create_connect_args(u)
- eq_([['dsn=mydsn;TrustedConnection=Yes'], {}], connection)
+ eq_([['dsn=mydsn;Trusted_Connection=Yes'], {}], connection)
def test_pyodbc_connect_old_style_dsn_trusted(self):
u = url.make_url('mssql:///?dsn=mydsn')
dialect = mssql.MSSQLDialect_pyodbc()
connection = dialect.create_connect_args(u)
- eq_([['dsn=mydsn;TrustedConnection=Yes'], {}], connection)
+ eq_([['dsn=mydsn;Trusted_Connection=Yes'], {}], connection)
def test_pyodbc_connect_dsn_non_trusted(self):
u = url.make_url('mssql://username:password@mydsn')