store and destroy implementations for sqlite (closes issue #10446) and odbc (closes...