Fixed #12118 -- Added shared cache support to SQLite in-memory testing.