In that case if i am not registering the async writer then also my db will get updated (If i am writing to DB) am i correct?
> > On November 27, 2018 at 8:29 PM Simon Slavin <slav...@bigfraud.org> wrote: > > On 27 Nov 2018, at 2:43pm, Prajeesh Prakash > <prajeeshprakash@elear.solutions> wrote: > > > > > > I have one doubt, Is that sqlite3_exec function is working under > > the main application thread (Thread which calls the sqlite3_exec) or in a > > separate thread (If i am trying to INSERT the data in to DB without > > registering the Async writer). > > > > > > If you do not register an async writer, SQLite does not start its own > threads. Each SQLite library call executes in the thread which calls it. > > Simon. > > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users