I like to know if there is a way to set sqlite3_mem_methods for each sqlite3 connection instance. The current methods setup a global sqlite3_mem_methods for process, in multithread app set sqlite3_mem_methods for each connection could reduce race condition.