lua-users home
lua-l archive

Re: LuaSQL for Lua 5.1

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


I have compiled every library and binary with my G++ 3.4.2 (MinGW Edition)..
The only thing I believe to be strange here is that it seems that luasql wasn´t prepared to compile under G++ (I needed to add some const char casts and an 'export "C" for luaopen_*')

Fabio Mascarenhas escreveu: [lsantos@itquality.com.br> wrote:
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



--
Luís Eduardo Jason Santos
Coordenador Técnico
IT Quality Systems
lsantos@itquality.com.br
[21]2242-7959 ramal 49



AltStyle によって変換されたページ (->オリジナル) /