Feature request: A function to read the value of db->u1.isInterrupted The purpose of this is so that extensions that implement additional SQL functions and/or virtual tables that use loops that aren't VDBE programs can still know that it is interrupted. For example, if the extension uses libcurl then the progress callback can use this to know when to stop due to interruption. For example it might use:
int progress_callback(void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow) { return sqlite3_interrupted(clientp); } Implementing the sqlite3_interrupted() function (or whatever you want to call it) should be very easy to implement. However, it must be added into the extension loading mechanism, so if I do it by myself then it will be incompatible. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users