Skip to content
Commits on Jul 16, 2011
  1. Issue 188: Segfault when fetching NVARCHAR(MAX) data over 511 bytes

    committed Jul 16, 2011
    The provided fix suggestion looks correct and I can see how it would crash, but was unable to
    reproduce with the unit test.  Probably related to Microsoft vs. FreeTDS differences.
Commits on Jul 11, 2011
  1. LONGVARCHAR/LONGWVARCHAR fix

    committed Jul 10, 2011
    Was passing the incorrect length when binding, causing SQLPut errors when using long strings
    (usually when inserting long strings) for some drivers.
Commits on Jul 8, 2011
  1. Cleaned up compiler warnings

    committed May 20, 2011
Commits on Jul 4, 2011
  1. Issue 186: Added SQLite tests

    committed Jul 4, 2011
    The issue was actually in the ODBC driver, which has been fixed in version
    0.91 of the driver.
    
    There are a couple of issues left, but I'll need to work through them with the driver author:
    reading a zero-byte blob and reading text values in 2 passes.
Commits on Nov 25, 2010
  1. Fixed printf in new pyodbcconf.

    committed Nov 24, 2010
    Eliminated unused code.
    Eliminated compiler warning.
Commits on Nov 24, 2010
  1. Added pyodbc.drivers() for Windows builds.

    committed Nov 24, 2010
    In the future, I will try to add the method to other platforms by reading the iODBC and
    unixODBC configuration files.
Commits on Nov 23, 2010
Commits on Nov 21, 2010
  1. Issue 121: update with large parameter + no rows updated = error

    committed Nov 21, 2010
    Issue and patch (!) from luke@deller.id.au.  Thanks.
  2. Issue 129: ("select ?", None) fails

    committed Nov 21, 2010
    If SQLDescribeParam cannot tell us the type of a column for a NULL parameter, we'll assume it
    is VARCHAR.  We already do this if SQLDescribeParam is not supported.
Commits on Sep 6, 2010
  1. Allocated own string for decimals.

    committed Sep 6, 2010
    Was using str(decimal), but it can return items in exponential notation, which I'm not sure
    many databases would handle properly.
  2. More Unicode fixes. Updated mysql tests.

    Michael Kleehammer committed Sep 6, 2010
Commits on Sep 5, 2010
  1. Issue 91: decimal fix; Completely reworked parameters; added leakcheck

    committed Sep 5, 2010
    Fixed issue 91 - handling of decimals was incorrect (off by 1).  Added lots of SQL Server unit
    tests.
    
    To properly fix this, reworked and simplified parameter binding.  Instead of separating the
    memory requirement and the actual memory preparation, it is now performed in 1 step and stored
    in the new ParamInfo structures.
    
    I added a lot of optional malloc calls (not usually used), so I added a PYODBC_LEAK_CHECK
    parameter which causes pyodbc_malloc and pyodbc_free to track allocations.  This is not thread
    safe and is intended only for troubleshooting.
Commits on Sep 4, 2010
  1. Issue 86: getinfo reading into wrong data type.

    Michael Kleehammer committed with Aug 30, 2010
    Was using PyArg_ParseTuple to read a long into a SQLUSMALLINT, which is completely wrong.
    Changed dadta type to unsigned long then cast as necessary later.
  2. Issue 83/90: Fixed manifest so sdist works on non-Windows.

    Michael Kleehammer committed with Aug 30, 2010
  3. Added more decimal tests (which fail right now).

    Michael Kleehammer committed with Aug 30, 2010
  4. Implemented Row comparisons.

    Michael Kleehammer committed with Aug 30, 2010
  5. Issue 101: Added connect timeout keyword.

    Michael Kleehammer committed with Aug 30, 2010
  6. Added user-defined conversions to the connection.

    Michael Kleehammer committed with Aug 30, 2010
  7. UCS4 fixes; printf fixes;

    Michael Kleehammer committed with Aug 28, 2010
    Fixes found with UCS4 Python and UCS2 SQLWCHAR (Fedora 13 64-bit).
    
    Connection code now uses common SQLWChar class too.
    
    Added pyodbc.UNICODE_SIZE and pyodbc.SQLWCHAR_SIZE to help troubleshoot problems.
    
    Fixed some printfs 64-bit problems.
  8. Reworked Unicode; changed version format; more Py_ssize_t

    committed Aug 26, 2010
    Reworked Unicode support, properly differentiating between SQLWCHAR on the different platforms.
    This should fix a lot of the OS/X problems and perhaps Linux UCS4 build problems.
    
    Version format now includes the branch name if not 'master' or v<version>, allowing custom
    builds to be identified, such as v2unicode-2.1.8-beta03.
    
    Also tested with 64-bit Windows builds, so more Py_ssize_t warnings were found and corrected.
    
    Created TRACE macro to replace the #ifdefs sprinkled through the code.
Commits on Aug 28, 2010
  1. Modified decimal param binding; Updated varchar/longvarchar fix.

    committed Aug 28, 2010
    Updated calculation of buffer size needed for binding decimals.  This shouldn't have any affect
    other than assertions - generally the old calculation added an extra character or two.
    
    The previous varchar/longvarchar fix used varchar max with Unicode instead of wvarchar.  Also
    updated unit tests.
Commits on Aug 26, 2010
Something went wrong with that request. Please try again.