summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mssql/mxodbc.py
Commit message (Collapse)AuthorAgeFilesLines
* happy new year (see #2645)Diana Clarke2013-01-011-1/+1
|
* kill me now, pep8 pass, so closeDiana Clarke2012-11-201-5/+4
|
* just a pep8 passDiana Clarke2012-11-201-1/+0
|
* juts a 'expected 2 blank lines' pep8 passDiana Clarke2012-11-191-0/+4
|
* - rework the sphinx customizations into distinct modulesMike Bayer2012-10-191-16/+6
| | | | | | | - build a new Sphinx extension that allows dialect info to be entered as directives which is then rendered consistently throughout all dialect/dbapi sections - break out the "empty_strings" requirement for oracle test
* finished fixes for mxodbc; need to use at least version 3.2.1Mike Bayer2012-09-211-5/+13
|
* - fixes for mxODBC, some pyodbcMike Bayer2012-09-021-4/+22
| | | | | | - enhancements to test suite including ability to set up a testing engine for a whole test class, fixes to how noseplugin sets up/tears down per-class context
* - more import cleanup for MSSQLMike Bayer2012-08-071-4/+4
|
* trailing whitespace bonanzaMike Bayer2012-07-281-2/+2
|
* typoes in lib/sqlalchemy/dialectsDiana Clarke2012-03-171-1/+1
|
* happy new yearMike Bayer2012-01-041-1/+1
|
* - whitespace removal bonanzaMike Bayer2011-01-021-2/+2
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-0/+6
| | | | | a consistent tag - AUTHORS file
* Ridding the world of a few wasteful imports.Michael Trier2010-12-191-5/+1
|
* - idle 78-char adjustmentsMike Bayer2010-07-031-18/+26
|
* documentation updatesMike Bayer2010-03-281-2/+34
|
* Added module docstring for mssql+mxodbc dialect.Brad Allen2010-03-181-1/+10
|
* Removed MxNumeric and MxFloat because now the sqlalchemy.types base classes ↵Brad Allen2010-03-181-12/+10
| | | | support dialects having a class attribute of "supports_native_decimal" indicating native Python Demimal support. Adjusted mssql+mxodbc to use the sqlalchemy.types base classes for Float and Numeric instead of using the base mssql dialect's numeric types.
* Merged from main tip, and resolved conflicts in mxodbc dialect and connector.Brad Allen2010-03-171-2/+8
|\
| * - added pyodbc for sybase driver.Mike Bayer2010-03-171-3/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - generalized the "freetds" / "unicode statements" behavior of MS-SQL/pyodbc into the base Pyodbc connector, as this seems to apply to Sybase as well. - generalized the python-sybase "use autocommit for DDL" into the pyodbc connector. With pyodbc, the "autocommit" flag on connection is used, as Pyodbc seems to have more database conversation than python-sybase that can't otherwise be suppressed. - Some platforms will now interpret certain literal values as non-bind parameters, rendered literally into the SQL statement. This to support strict SQL-92 rules that are enforced by some platforms including MS-SQL and Sybase. In this model, bind parameters aren't allowed in the columns clause of a SELECT, nor are certain ambiguous expressions like "?=?". When this mode is enabled, the base compiler will render the binds as inline literals, but only across strings and numeric values. Other types such as dates will raise an error, unless the dialect subclass defines a literal rendering function for those. The bind parameter must have an embedded literal value already or an error is raised (i.e. won't work with straight bindparam('x')). Dialects can also expand upon the areas where binds are not accepted, such as within argument lists of functions (which don't work on MS-SQL when native SQL binding is used).
| | * - mxodbc can use default execute() callMike Bayer2010-03-161-2/+41
| |/ | | | | | | | | | | | | | | | | | | | | | | | | - modified SQLCompiler to support rendering of bind parameters as literal inline strings for specific sections, if specified by the compiler subclass, using either literal_binds=True passed to process() or any visit method, or by setting to False the "binds_in_columns_clause" flag for SQL-92 compatible columns clauses.. The compiler subclass is responsible for implementing the literal quoting function which should make use of the DBAPI's native capabilities. - SQLCompiler now passes **kw to most process() methods (should be all, ideally) so that literal_binds is propagated. - added some rudimentary tests for mxodbc.
* | corrected import statements forgotten on prior commitBrad Allen2010-03-161-1/+2
| |
* | Fixes to pass numeric tests; now by default, the mxodbc connector natively ↵Brad Allen2010-03-161-0/+8
|/ | | | returns Python Decimal data types from columns of type SQL.NUMERIC or SQL.DECIMAL
* Now using pyodbc execution context once again (to pass the test involving ↵Brad Allen2010-03-111-2/+9
| | | | insert to trigger table)
* Removed pyodbc execution context, because output inserted is now handled by ↵Brad Allen2010-03-081-3/+2
| | | | the base. No more need for SELECT SCOPE_IDENTITY().
* - the execution sequence pulls all rowcount/last inserted IDMike Bayer2010-02-281-13/+1
| | | | | | | | info from the cursor before commit() is called on the DBAPI connection in an "autocommit" scenario. This helps mxodbc with rowcount and is probably a good idea overall. - cx_oracle wants list(), not tuple(), for empty execute. - cleaned up plain SQL param handling
* mxodbc supports rowcount, just have to snag before the cursor is closed.Mike Bayer2010-02-281-4/+15
|
* working on pyodbc / mxodbcMike Bayer2010-02-271-1/+2
|
* A few cleanups of the mxodbc dialect.Michael Trier2010-02-271-37/+4
|
* - threadlocal engine wasn't properly closing the connectionMike Bayer2010-02-271-0/+56
upon close() - fixed that. - Transaction object doesn't rollback or commit if it isn't "active", allows more accurate nesting of begin/rollback/commit. - Added basic support for mxODBC [ticket:1710]. - Python unicode objects as binds result in the Unicode type, not string, thus eliminating a certain class of unicode errors on drivers that don't support unicode binds.