Re: [Sqlrelay-discussion] Ruby Binding Issue - SQLRCursor has no explicit "close" method
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2008-05-01 15:18:39
|
Aaah! You're right. And it looks like that's not a ruby-specific issue. Basically any non C/C++ api has the problem. In C/C++ you can free or delete the cursor, but not in other languages. I'll add a feature to close a cursor in the next release. David Muse dav...@fi... On Thu, 2008-04-24 at 17:18 -0500, Chad Johnson wrote: > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > __________________________________________________ > D O T E A S Y - "Join the web hosting revolution!" > http://www.doteasy.com __________________________________________________ D O T E A S Y - "Join the web hosting revolution!" http://www.doteasy.com |