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

nvarchar SQL_TYPE undefined #3

Open
MilesRoberts opened this issue Jun 6, 2012 · 0 comments · May be fixed by #6
Open

nvarchar SQL_TYPE undefined #3

MilesRoberts opened this issue Jun 6, 2012 · 0 comments · May be fixed by #6

Comments

@MilesRoberts
Copy link

I get the following error when trying to query a SQL Server datasource with a column type of nvarchar:

undefined method []' for nil:NilClass /path/to/ruby/gems/rdbi-driver-odbc-0.1.2/lib/rdbi/driver/odbc.rb:214:inblock in new_execution'

I was able to get past the error by editing lines 214 and 215 in odbc.rb to include rescue nil and rescue :default, respectively, but obviously I'm not submitting that as a pull request since that's probably the most ham-fisted approach one could have come up with to address the issue.

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 a pull request may close this issue.

1 participant