android/jni/com_tencent_wcdb_database_SQLiteGlobal.cpp
static void sqliteInitialize()
{
    // Enable multi-threaded mode.  In this mode, SQLite is safe to use by multiple
    // threads as long as no two threads use the same database connection at the same
    // time (which we guarantee in the SQLite database wrappers).
    sqlite3_config(SQLITE_CONFIG_MULTITHREAD);

    // Redirect SQLite log messages to the Android log.
    sqlite3_config(SQLITE_CONFIG_LOG, &sqliteLogCallback, (void *) 1);

    // The soft heap limit prevents the page cache allocations from growing
    // beyond the given limit, no matter what the max page cache sizes are
    // set to. The limit does not, as of 3.5.0, affect any other allocations.
    sqlite3_soft_heap_limit(SOFT_HEAP_LIMIT);

    // Register vfslog VFS.
    sqlite3_register_vfslog(NULL);

    // Initialize SQLite.
    sqlite3_initialize();
}
// Sets the global SQLite configuration.
// This must be called before any other SQLite functions are called.
Sets the global SQLite configuration.
This must be called before any other SQLite functions are called.
Sets the global SQLite configuration . This must be called before any other SQLite functions are called .
static void sqliteInitialize()
{
    sqlite3_config(SQLITE_CONFIG_MULTITHREAD);
    sqlite3_config(SQLITE_CONFIG_LOG, &sqliteLogCallback, (void *) 1);
    sqlite3_soft_heap_limit(SOFT_HEAP_LIMIT);
    sqlite3_register_vfslog(NULL);
    sqlite3_initialize();
}
static void sqliteInitialize ( ) { sqlite3_config ( SQLITE_CONFIG_MULTITHREAD ) ; sqlite3_config ( SQLITE_CONFIG_LOG , & sqliteLogCallback , ( void * ) 1 ) ; sqlite3_soft_heap_limit ( SOFT_HEAP_LIMIT ) ; sqlite3_register_vfslog ( NULL ) ; sqlite3_initialize ( ) ; }
Sets the global SQLite configuration.
Sets the global SQLite configuration .
// Enable multi-threaded mode.  In this mode, SQLite is safe to use by multiple // threads as long as no two threads use the same database connection at the same // time (which we guarantee in the SQLite database wrappers). // Redirect SQLite log messages to the Android log. // The soft heap limit prevents the page cache allocations from growing // beyond the given limit, no matter what the max page cache sizes are // set to. The limit does not, as of 3.5.0, affect any other allocations. // Register vfslog VFS. // Initialize SQLite.