-
Notifications
You must be signed in to change notification settings - Fork 11
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
RDBI group_concat: `fetch': negative string size (or size too big) #5
Comments
Why RDBI doesn't support group_concat function? Similar problem happens when database returns null value. |
@wlodi83, can you provide a concise, complete, and correct code sample that reproduces your symptoms? Can you also supply relevant versions for: rdbi, rdbi-driver-odbc, ruby-odbc, your system odbc library, and the backend database? Also, what is the backend database, MySQL or HSQLDB? |
Hello, I am using following gems: gem list *** LOCAL GEMS *** bundler (1.3.5) I am using unixODBC library on Ubuntu 12.04. Database is EXASOL. This is example of code: require 'rdbi-driver-odbc' it returns an error: /home/lukasz/.rvm/gems/ruby-2.0.0-p0@rdbi/gems/rdbi-driver-odbc-0.1.2/lib/rdbi/driver/odbc.rb:106:in WARNING: #ODBC::Statement:0x233cb40 was not dropped before garbage collection. If I will remove the group_concat function everything is OK. Regarding null values: I am getting following error if I will remove "nvl" function from the code: /home/lukasz/.rvm/gems/ruby-2.0.0-p0@rdbi/gems/rdbi-driver-odbc-0.1.2/lib/rdbi/driver/odbc.rb:106:in require 'rdbi-driver-odbc' |
Hi pilcrow, do you know where could be the problem? |
I'm also having this problem. Using 2.0.0-p247. |
Hi, when I use RDBI and query with group_concat function I am getting following error:
.rvm/gems/ruby-2.0.0-p0@rdbi/gems/rdbi-driver-odbc-0.1.2/lib/rdbi/driver/odbc.rb:106:in `fetch': negative string size (or size too big) (ArgumentError)
The text was updated successfully, but these errors were encountered: