lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


David Burgess wrote:
> If I use lua_ref to lock the stmt(cursor) then things
> are not gc'ed until the program terminates (which is not
> good for stmt handles). Any ideas?
> 
> DB

You'll probably have to add a CUR:Close() function
which unlocks the referece and performs a GC.
Expliit close is not a bad thing, IMO.

-- 
"No one knows true heroes, for they speak not of their greatness." -- 
Daniel Remar.
Björn De Meyer 
bjorn.demeyer@pandora.be