|
Sorry, I was mistaken
When I put a more precise log I found that the problem is after the returning of the cursor.. in the 'fetch' line.
-- print('fetching rows') -- neither of my print statements worked
log('fetching rows') -- but when I put the output to a file, this log worked fine
row = cur:fetch ({}, "a") --<-- problem is probably here
-- print('rows fetched')
log('rows fetched') -- this one doesn´t