lua-users home
lua-l archive

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


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

> I also noticed that by using sqlite_prepare_v2() the vmstep() function could
> be a lot simpler:
> 	* you don't have to check for SQLITE_SCHEMA (it is done
> automatically) or call sqlite_reset()
> 	* you don't have to store the sql string in lua

Yes, the lsqlite3 code was written before sqlite_prepare_v2() was added to SQLite3. I haven't updated it so lsqlite3 would continue to function with older SQLite3 libraries.

e