Source

django-mssql / sqlserver_ado / base.py

Author Commit Message Labels Comments Date
Michael Manfre
Set 'supports_regex_backreferencing = False' to disable those Django tests.
Michael Manfre
Fixed #17 - Added support for can_return_id_from_insert This is enabled by default and disabled if the SQL version is detected as SQL Server 2000. Implementation for Django < 1.5 will inject a comment containing the quoted table name and column name. This comment is not present in Django 1.5, compliments of Django ticket #19096.
Michael Manfre
Fixed 'unsupported format character 'S'' caused by iendswith operator
Michael Manfre
Convert % format strings to using format in preparation for Python 3
Michael Manfre
Fixed #14 - Default provider changed to 'SQLCLI10' with use_mars = True
Michael Manfre
SQL containing AVG(...) will be modified to cast the contained values to float to allow the function to behave the same as for other databases. E.g. AVG([1,2]) will return 1.5, instead of 1. Casting can be disabled by 'disable_avg_cast' database option. Fixes #7
Michael Manfre
Allow backend to work in a timezone aware install while maintaining supports_timezones = False
Michael Manfre
Set 'microsoft' as vendor to allow conditional tests
Michael Manfre
Ensure a connection exists for disable/enable/check constraint functions.
Michael Manfre
Escape table names in check_constraints()
Michael Manfre
Fix ops reference
Michael Manfre
Implement disable_constraint_checking. Should probably only get used in single user mode if you're not familiar with scoping for the specific version of SQL server
Michael Manfre
Fix connection_created signal to provide "connection"
Michael Manfre
Disable bulk insert to allow tests to run
Michael Manfre
Disable timezone support because the tests fail.
Michael Manfre
Trim down DatabaseCreation to rely more upon django now that ticket 17467 has been resolved. Database drop and create happen against a transactionless connection to 'master'. Fixes #4
Michael Manfre
Enable has_bulk_insert database feature. Fixes #2
Michael Manfre
Fix apitest
Michael Manfre
Rework SQL server version detection to auto-introspect if a connection has not been established
Tags
release/1.0.1
Michael Manfre
Remove initial database connection because it is not needed to introspect the database server version prior to cursor being used. Fixes case #115
Michael Manfre
Fix PORT setting to ensure it is actually include in the connection string. Fixes #117. Thanks Robert Ziebarth for reporting.
Michael Manfre
DatabaseOperations should accept passing the DatabaseWrapper
Michael Manfre
Fix SQL version detection. A no-op cursor is opened when DatabaseWrapper is initialized to ensure the connection has been interogated.
Michael Manfre
use_mars option will now set the correct OLE keyword 'MARS Connection', instead of the one used by ADO.NET. issue 60
Michael Manfre
Connection will now detect if the database is SQL 2005. If 2005, date & time values will no longer strip microseconds.
Michael Manfre
Issue 98: Add support for django 1.3 change to DatabaseFeatures class.
Michael Manfre
Refactored repository to allow for easier packaging