Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 3, 2011
Commits on Nov 23, 2010
Commits on Sep 6, 2010
  1. More Unicode fixes. Updated mysql tests.

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

    authored
    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. UCS4 fixes; printf fixes;

    Michael Kleehammer authored committed
    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.
  2. Reworked Unicode; changed version format; more Py_ssize_t

    authored
    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.
Something went wrong with that request. Please try again.