On Friday, June 29, 2012 3:09:46 AM UTC-7, skeller1 wrote: > > Hello, > > > I'm using Sequel 3.36.1 on Linux 64 bit and Windows Server 2008. On > Linux this code works without problems: > > require "rubygems" > require "sequel" > > DB=Sequel.ibmdb(:database => "db", :user => "user", :password => > "user123", :host => "MyHost", :port => 1234) > > DB[:ttcmcs046110].each do |row| > p row[:t_dsca] > end > > On Windows Server the ibmdb.rb adapter file has problems: > > ibmdb.rb line 140-142: > method field_type returns false for field_type (on Linux this method > returns :string for my select statement, correct behaviour) > This method is using the ibm_db gem method > IBM_DB.field_type(@statement,key) > > Could this be a bug (ibm_db) or it's a problem with sequel? >
Most likely, this is a bug in IBM_DB. I recommend creating a self contained example showing the error using IBM_DB outside of Sequel, and post it to their bugtracker. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/sequel-talk/-/4fg93mCMWT4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
