#fixed code
                                int shared_cache(boolean enable) throws SQLException
    {
        // The shared cache is per-process, so it is useless as
        // each nested connection is its own process.
        return -1;
    }
#vulnerable code 
                                int enable_load_extension(boolean enable) throws SQLException
    {
        return call("sqlite3_enable_load_extension", handle, enable ? 1 : 0);
    } 
                            #location 3 
                            #vulnerability type THREAD_SAFETY_VIOLATION