rowland / fb

Firebird Extension Library for Ruby
64 stars 36 forks source link

Insert with return clause broken in 0.9.0 #66

Closed jwood381 closed 5 years ago

jwood381 commented 5 years ago

When migrating code to a new server I found that code which works with 0.7.0 fails with 0.9.0. I tested to make sure it was not a ruby or firebird issue. The insert statement succeeds but attempting to retrieve the expected value from the cursor fails with: " The cursor identified in an OPEN statement is already open."

rowland commented 5 years ago

I was not aware that that ever worked. Certainly we have no tests in the suite to prove it.

jwood381 commented 5 years ago

I started from scratch with my tests and I missed something last time. The problem appears to the result of a change in ruby.

jwood381 commented 5 years ago

Not sure how I got so off track. Seems to be a configuration issue. My aplogies.