Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix #9 #10

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
4 participants

yihuang commented Mar 21, 2012

No description provided.

yihuang commented Mar 28, 2012

I don't have many experiences with c and 64bit platform, but these changes do fix my problems.
details of my environment is listed in issue #9.

gthb commented May 7, 2012

FWIW: Switching to the head of @yihuang's branch got me past the same/a similar issue; I am using FreeTDS on an amd64-platform linux, and was stuck on this:

  File "/opt/pyenv/LIVE/lib/python2.5/site-packages/sqlalchemy/engine/base.py", line 3125, in _fetchone_impl
    return self.cursor.fetchone()
sqlalchemy.exc.DBAPIError: (Error) ('HY003', '[HY003] [FreeTDS][SQL Server]Program type out of range (0) (SQLGetData)') None None

hejsan commented Sep 1, 2012

This fixed things for me as well.
I am also on a 64 bit ubuntu.
Please merge :)

Owner

mkleehammer commented Sep 27, 2012

Use SQLCHAR when retrieving decimals. Fixes #9.

Thanks to yihuang for the fix.

@mkleehammer mkleehammer reopened this Sep 27, 2012

@mkleehammer mkleehammer was assigned Sep 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment