blob: 929d7874103627f49e8576f7e733ec268adf20aa [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sql/sql_features.h"
#include "base/feature_list.h"
namespace sql::features {
// Enable WAL mode for all SQLite databases.
BASE_FEATURE(kEnableWALModeByDefault,
"EnableWALModeByDefault",
base::FEATURE_DISABLED_BY_DEFAULT);
// Preload database before opening the file.
BASE_FEATURE(kPreOpenPreloadDatabase,
"PreOpenPreloadDatabase",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use a fixed memory-map size instead of using the heuristic.
BASE_FEATURE(kSqlFixedMmapSize,
"SqlFixedMmapSize",
base::FEATURE_DISABLED_BY_DEFAULT);
// Explicitly unlock the database on close to ensure lock is released.
BASE_FEATURE(kUnlockDatabaseOnClose,
"UnlockDatabaseOnClose",
base::FEATURE_DISABLED_BY_DEFAULT);
} // namespace sql::features