Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 1, 2015
  1. Add Connection.set_attr

Commits on Sep 7, 2015
  1. SQLFreeHandle(stmt) can now raise an error if necessary. Closes #74

    In the past I ignored these since close is usually called during stack
    unwinding and "real" errors shouldn't occur in free handle.  (That is,
    the user of pyodbc can't cause errors here.)
    Perhaps it is not true for this driver, however.  I still think it could
    be something else, but it is better to raise errors when we can.  I do
    ignore errors if we already have one, however.  I really don't want to
    "eat" more important errors.
Commits on Sep 4, 2015
Commits on Aug 8, 2015
  1. Merge pull request #67 from uber/mb-fix-git-version

    Fix git version when not on a branch
Commits on Jul 15, 2015
  1. @tekknolagi

    Fix git version when not on a branch

    tekknolagi committed
    * Use short commit hash instead
    * Use less fragile way of determining current branch
Commits on May 3, 2015
  1. Package README in source. Remove unused items.

    Fixes #46.  I had changed from README.rst to during the move
    to GitHub and did not update the file.
Commits on Apr 30, 2015
  1. Merge pull request #23 from geota/master

    Fixes #22 - Increase number of loop iterations to fully pull in data
  2. Create error before freeing HSTMT.

    The previous fix from Tim Golden needed to be applied in another area.
    Thanks Tim.
  3. @tjguk
Commits on Apr 29, 2015

    I didn't mean to push the previous to the master branch yet.  This
    should have been rebased into it.
  2. SQL Server test cleanup.

    Commented out largest size test since it is slow.  Whitespace cleanup.
    Added test for columns with spaces in the name.
  3. Switch from SQLWCHAR to our own type.

    Fixes #43.  unixODBC does not define the SQLWCHAR type to match its
    requirements (2-byte chars), so I can't rely on it.  I've added
    At this time it is hardcoded to 2-bytes which works for Windows and
    unixODBC.  I need to add a mechanism to override this.
    Tested on OS X postgres, Ubuntu 14 64-bix postgres, and Windows 7 64-bit
    SQL Server.
  4. Update version string format to PEP 440.

    Was using [branch-]1.2.3[-beta04] but this does not match PEP 440.  I
    now use 1.2.3[b4][+branch].  I also remove dashes from the branch name.
    So "fix-bug-1.2.3-beta04" would now be "1.2.3b4+fixbug".
  5. Corrected doc link on readme

Commits on Apr 28, 2015
  1. Fix Windows compile error.

Commits on Apr 27, 2015
  1. Clear extra error during decimal import.

    Potential fix for #38.  pyodbc first tries to import cdecimal and then
    loads decimal if not found.  The error after attempting cdecimal was not
    being cleared so later versions of Python stopped the load.
Commits on Apr 25, 2015
  1. Assume unixODBC on OS X

Commits on Mar 16, 2015
  1. @jcristau

    Fix cursor.description for SQL_*BINARY columns

    jcristau committed
    We return a bytearray on python >= 2.6.
Commits on Aug 19, 2014
  1. Merge pull request #27 from jbq/bugfix2

    Fix overflow in GetDataDecimal
  2. Merge pull request #26 from jbq/master

    Use cdecimal to speedup
  3. @jbq

    Fix overflow in GetDataDecimal

    jbq committed
  4. @jbq

    Fix overflow in GetDataDecimal

    jbq committed
  5. @jbq

    Use cdecimal to speedup

    jbq committed
Commits on Mar 7, 2014
  1. @geota

    Fixes #22 - Increase number of loop iterations to fully pull in data …

    geota committed
    …from VARCHAR 65000 fields.
Commits on Jan 1, 2014
  1. Merge pull request #16 from mikegoodspeed/patch-1

    update _git_version_git() to better parse `git branch`
Commits on Oct 13, 2013
  1. Add SQL_WCHART_CONVERT to 64-bit Unix with 32-bit Unicode

    Thanks to Marc-Antoine Parent.
  2. Merge pull request #21 from maparent/id_64bits

    Invalid parameter values passed in, due to size mismatch.
  3. @maparent
  4. Added OS/X settings to setup.cfg

    I have no idea how include and lib directories are supposed to work on
    OS/X now, so I've punted and added the include_dirs setting to setup.cfg
Commits on Aug 1, 2013
  1. @mikegoodspeed

    update _git_version_git() to better parse `git branch`

    mikegoodspeed committed
    Sometimes, `git branch` may output in color, which causes the regex search to fail.  Specifying --color=never fixes this.
Something went wrong with that request. Please try again.