Searched refs:journalSize (Results 1 - 5 of 5) sorted by relevance
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store_config.cpp | 29 int journalSize, int pageSize) in RdbStoreConfig() 30 : readOnly_(isReadOnly), isCreateNecessary_(isCreateNecessary), autoCheck_(autoCheck), journalSize_(journalSize), in RdbStoreConfig() 155 void RdbStoreConfig::SetJournalSize(int journalSize) in SetJournalSize() argument 157 this->journalSize_ = journalSize; in SetJournalSize() 26 RdbStoreConfig(const std::string &name, StorageMode storageMode, bool isReadOnly, const std::vector<uint8_t> &encryptKey, const std::string &journalMode, const std::string &syncMode, const std::string &databaseFileType, SecurityLevel securityLevel, bool isCreateNecessary, bool autoCheck, int journalSize, int pageSize) RdbStoreConfig() argument
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
H A D | rdb_store_config.h | 139 bool isCreateNecessary = true, bool autoCheck = false, int journalSize = 1048576, int pageSize = 4096); 180 void SetJournalSize(int journalSize);
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_execute_test.cpp | 219 int64_t journalSize; in HWTEST_F() local 220 ret = store->ExecuteAndGetLong(journalSize, "PRAGMA journal_size_limit"); in HWTEST_F() 222 EXPECT_EQ(journalSize, 1048576); in HWTEST_F()
|
H A D | rdb_store_config_test.cpp | 704 static constexpr int journalSize = 2 * 1024 * 1024; in HWTEST_F() local 705 config.SetJournalSize(journalSize); in HWTEST_F() 707 EXPECT_EQ(journalSize, retJournalSize); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_store_config.h | 274 * @param journalSize Indicates the journal size of the database. 281 bool isCreateNecessary = true, bool autoCheck = false, int journalSize = DB_JOURNAL_SIZE, 466 API_EXPORT void SetJournalSize(int journalSize);
|
Completed in 6 milliseconds