On Jan 20, 2011, at 6:25 PM, Terry Bayne wrote:

>       local rc = cursor:fetch()

Ah... yes... also... as Tomas has pointed out on lua-l... this will only 
capture the first value returned by fetch()... which can be nil (e.g. select 
null as foo, 'bar' as baz from dual)... even though the fetch is not finish... 
in general, you cannot rely on the values directly returned to know if the 
fetch is finish or not... your best bet is to use 
cur:fetch([table[,modestring]])... which will create a table with the result 
values and return that to you...



_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to