On 6 Jan 2017, at 3:20pm, Simone Mosciatti <sisciamir...@yahoo.com> wrote:

> 1. Retrieve the connection object inside Redis
> 2. Parse the SQL statement (sqlite3_prepare_v2)
> 3. Execute the parsed statement
> 4. Return an "OK" to the client

Are you using the sequence

sqlite3_prepare_v2(), sqlite3_step(), sqlite3_finalize()

for each statement ?  If not you are asking your program to do a lot of extra 
memory handling.

Alternatively you could just use sqlite3_exec(), which does all three of the 
above things.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to