lua-users home
lua-l archive

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


* Doug Currie:

>> 	* 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.

SQLite has distinct types for integers and doubles and keeps them in
the database.  This might become visible when you access the database
using a different binding or from a different programming language.