Simon, no, i don't think this can help. because my problem is busy handler was not triggered at the situation. Another reply is from Mr. Hipp ! I believe it must work, because he is the god here :-) thank you anyway.
2011/8/11 Simon Slavin <slav...@bigfraud.org> > > On 11 Aug 2011, at 3:35am, Wenbo Zhao wrote: > > > I want a readonly connection wait for locked database instead of error > > return immediately. > > The question is equivalence to how to let a reaonly connection have > > busy_handler triggered > > when the database is locked. > > In my practice, the readonly connection will fail when db locked and > > busy_handler does not work. > > Does this help ? > > <http://www.sqlite.org/c3ref/busy_timeout.html> > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- Best Regards, ZHAO, Wenbo ======================= _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users