Peter Melnichenko

Results 117 comments of Peter Melnichenko

Confirmed on Win10/VS2015, it returns an empty iterator. I think that current behaviour on other platforms (raising an error) is preferable.

IMO if a directory you are trying to iterate over doesn't exist it's a real error, too, and it shouldn't be silently ignored. Let's see if there are any more...

Removed th global on 2.0 branch.

The issue is that fallback implementation of `luaL_buffinitsize` calls `luaL_prepbuffer` instead of `luaL_prepbuffsize`. `luaL_prepbuffer` is equivalent to `luaL_prepbuffsize` with buffer size `LUAL_BUFFERSIZE` (8192). Incidentally, feature detection is invalid (`luaL_buffinitsize` is...

@joell, sorry, that was unintentional. @tomasguisasola if `malloc` can't be avoided while maintaining correctness @4acc737 should be (partially) reverted, right?

`gh-pages` is supposed to document latest release, not master

Try `require("luasql.mysql")`.

Hi @argos83! This problem in general is relatively difficult to detect: it's specific to LuaJIT IIRC, and simply filtering out misses on such lines is sometimes wrong because `fieldname =...

That's strange. cluacov fixed it for me. What version of Lua/LuaJIT are you using? I see that the first line of your example is executed 11 times so it must...