Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #9 #10

Closed
wants to merge 2 commits into from
Closed

fix #9 #10

wants to merge 2 commits into from

Conversation

yihuang
Copy link

@yihuang yihuang commented Mar 21, 2012

No description provided.

@yihuang
Copy link
Author

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
Copy link

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
Copy link

hejsan commented Sep 1, 2012

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

@mkleehammer
Copy link
Owner

Use SQLCHAR when retrieving decimals. Fixes #9.

Thanks to yihuang for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants