I have a database that got corrupted; was working on implementing automatic recovery....
I have a callback configured on SQLITE_CONFIG_LOG sqlite3_config( SQLITE_CONFIG_LOG, errorLogCallback, 0); Which is global, and does not identify the instance. I figured, I could just easily register the same callback on the db connection object.... sqlite3_db_config( odbc->db, SQLITE_CONFIG_LOG, dbErrorLogCallback, odbc ); But that's not supported per connection. So how do I know which connection is executing a statement that failed? (I could potentially have more than one query active at the same time in different databases) Also; should I post that error as an async error? I mean... in the callback for the log, a query is outstanding on a statement in the db; so I suppose I should let that unwind before doing further operations.... _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users