lua-users home
lua-l archive

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


On Aug 3, 2010, at 5:38 AM, Ronny Dierckx wrote:

> I think there's a bug in the LuaSQLite3 library (Version "0.7-devel").
> 
> In function dbvm_bind_names() the stack is not pop-ed so it will crash if
> there are > 20 parameters:

Yes, I've made note of it for the next release.

> Some other improvements:
> 
> 	* dbvm_bind_index() should bind a double only if necessary:

Hmm, I'm not convinced. What is your rationale? Since Lua's number type is (normally) double the extra test seems excessive. 

> 	* I think dbvm_bind_index() should bind boolean as 1 or 0 (and not
> as null)

Yes.

Thank you for the report.

Regards,

e