RE: resetting sqlite statements and cancellation
From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 28 Mar 2011 15:03:44 +0200
> -----Original Message-----
The SQLite handle is stored in the svn_wc__db_t instance, which in turn is stored in the svn_wc_context_t, which is kept in svn_client_ctx_t. So only when the pool of the client context is recycled the database handle is closed. So, "No: we can't wait for sqlite instance cleanup"
> > And is it really expected for this function to run for more than a second?
Some of the recent additions from Stephan might include comparing files to their pristines within a db transaction. So given that this can be on network paths we really want cancelation support here.
Or (like I suggested in an earlier mail) we can move the comparision to a callback outside wc_db.c.
Bert
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.