summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/connectors/pyodbc.py
Commit message (Collapse)AuthorAgeFilesLines
...
* - the raw 2to3 runMike Bayer2013-04-271-13/+13
| | | | - went through examples/ and cleaned out excess list() calls
* happy new year (see #2645)Diana Clarke2013-01-011-1/+1
|
* just a pep8 pass of lib/sqlalchemy/connectorsDiana Clarke2012-11-191-10/+13
|
* -whitespace bonanza, contdMike Bayer2012-07-281-5/+5
|
* - absolute imports in connectors, databasesMike Bayer2012-06-231-2/+2
|
* - sqlMike Bayer2012-04-011-2/+10
| | | | | | | | | | | | | | | - [bug] Removed warning when Index is created with no columns; while this might not be what the user intended, it is a valid use case as an Index could be a placeholder for just an index of a certain name. - mssql - [feature] Added interim create_engine flag supports_unicode_binds to PyODBC dialect, to force whether or not the dialect passes Python unicode literals to PyODBC or not.
* happy new yearMike Bayer2012-01-041-1/+1
|
* - [bug] pyodbc-based dialects now parse theMike Bayer2011-12-041-0/+17
| | | | | | | | pyodbc accurately as far as observed pyodbc strings, including such gems as "py3-3.0.1-beta4" [ticket:2318] - [bug] use new pyodbc version detection for _need_decimal_fix option, [ticket:2318]
* - Changes to attempt support of FreeTDS 0.91 withMike Bayer2011-09-181-1/+9
| | | | | | | | | | | | | Pyodbc. This includes that string binds are sent as Python unicode objects when FreeTDS 0.91 is detected, and a CAST(? AS NVARCHAR) is used when we detect for a table. However, I'd continue to characterize Pyodbc + FreeTDS 0.91 behavior as pretty crappy, there are still many queries such as used in reflection which cause a core dump on Linux, and it is not really usable at all on OSX, MemoryErrors abound and just plain broken unicode support. [ticket:2273]
* - Adjusted the pyodbc dialect such that boundMike Bayer2011-06-061-4/+10
| | | | | | | | | values are passed as bytes and not unicode if the "Easysoft" unix drivers are detected. This is the same behavior as occurs with FreeTDS. Easysoft appears to segfault if Python unicodes are passed under certain circumstances.
* - add connection and cursor to is_disconnect(). We aren't using it yet,Mike Bayer2011-02-091-1/+1
| | | | | | | | | | | | | | | but we'd like to. Most DBAPIs don't give us anything we can do with it. Some research was done on psycopg2 and it still seems like they give us no adequate method (tried connection.closed, cursor.closed, connection.status). mxodbc claims their .closed attribute will work (but I am skeptical). - remove beahvior in pool that auto-invalidated a connection when the cursor failed to create. That's not the pool's job. we need the conn for the error logic. Can't get any tests to fail, curious why that behavior was there, guess we'll find out (or not). - add support for psycopg2 version detection. even though we have no use for it yet... - adjust one of the reconnect tests to work with oracle's horrendously slow connect speed
* - whitespace removal bonanzaMike Bayer2011-01-021-7/+7
|
* - 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-1/+0
|
* - idle 78-char adjustmentsMike Bayer2010-07-031-9/+15
|
* re-split PyODBCNumeric among Sybase and MS-SQL, they can't be shared.Mike Bayer2010-03-191-43/+0
| | | | | MS-SQL really needs the pure string approach else crashes occur on windows.
* still poking at numericsMike Bayer2010-03-191-1/+4
|
* - the string approach appears to be necessary for large numbers, however.Mike Bayer2010-03-191-38/+26
| | | | Don't know how to get large decimals through to Sybase.
* switching Decimal treatment in MSSQL to be pyodbc specific, addedMike Bayer2010-03-191-0/+53
| | | | | | to connector to share between sybase/mssql. Going with turning decimals with very low significant digit to floats, seems to work so far.
* - basic sybase+pyodbc support. in particular this will impact freetds ↵Mike Bayer2010-03-171-0/+24
| | | | detection for MS-SQL as well.
* mxodbc supports rowcount, just have to snag before the cursor is closed.Mike Bayer2010-02-281-1/+1
|
* working on pyodbc / mxodbcMike Bayer2010-02-271-0/+1
|
* - threadlocal engine wasn't properly closing the connectionMike Bayer2010-02-271-1/+2
| | | | | | | | | | 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.
* - All pyodbc-dialects now support extra pyodbc-specificMike Bayer2009-12-181-2/+8
| | | | | kw arguments 'ansi', 'unicode_results', 'autocommit'. [ticket:1621]
* Corrected problem with a Trusted Connection under MSSQL 2008 native driver.Michael Trier2009-10-051-1/+1
|
* merge 0.6 series to trunk.Mike Bayer2009-08-061-0/+80