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.
    committed Sep 7, 2015
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
    committed Aug 8, 2015
Commits on Jul 15, 2015
  1. Fix git version when not on a branch

    * Use short commit hash instead
    * Use less fragile way of determining current branch
    Maxwell Bernstein committed Jun 29, 2015
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.
    committed May 3, 2015
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
    committed Apr 30, 2015
  2. Create error before freeing HSTMT.

    The previous fix from Tim Golden needed to be applied in another area.
    Thanks Tim.
    committed Apr 30, 2015
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.
    committed Apr 29, 2015
  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.
    committed Apr 29, 2015
  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.
    committed Apr 29, 2015
  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".
    committed Apr 29, 2015
  5. Corrected doc link on readme

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

    committed Apr 28, 2015
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.
    committed Apr 27, 2015
Commits on Apr 25, 2015
  1. Assume unixODBC on OS X

    committed Apr 25, 2015
Commits on Mar 16, 2015
  1. Fix cursor.description for SQL_*BINARY columns

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

    Fix overflow in GetDataDecimal
    committed Aug 19, 2014
  2. Merge pull request #26 from jbq/master

    Use cdecimal to speedup
    committed Aug 19, 2014
  3. Fix overflow in GetDataDecimal

    jbq committed Aug 19, 2014
  4. Fix overflow in GetDataDecimal

    jbq committed Aug 19, 2014
  5. Use cdecimal to speedup

    jbq committed Jul 22, 2014
Commits on Mar 7, 2014
  1. Fixes #22 - Increase number of loop iterations to fully pull in data …

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

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

    Thanks to Marc-Antoine Parent.
    committed Oct 13, 2013
  2. Merge pull request #21 from maparent/id_64bits

    Invalid parameter values passed in, due to size mismatch.
    committed Oct 13, 2013
  3. 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
    committed Oct 13, 2013
Commits on Aug 1, 2013
  1. update _git_version_git() to better parse `git branch`

    Sometimes, `git branch` may output in color, which causes the regex search to fail.  Specifying --color=never fixes this.
    mikegoodspeed committed Aug 1, 2013
Commits on May 19, 2013
  1. Added support for pickling Row objects.

    Michael Kleehammer committed with Sep 16, 2011