[Sqlrelay-discussion] Ruby Binding Issue - SQLRCursor has no explicit "close" method
Brought to you by:
mused
|
From: Chad J. <cha...@gm...> - 2008-04-24 22:18:38
|
Within the Ruby bindings there does not appear to be a way to explicitly close an open SQLRCursor object. Now this isn't a catastrophic problem because cursors are being closed when SQLRCursor objects are garbage collected. But if you run up against the configured SQL Relay cursor limit (5 by default) it appears as though your code will hang (assuming the garbage collector hasn't had a chance to kick in). Can a method be added to the Ruby bindings to allow a cursor to be closed by hand? -Chad Johnson |