Searched refs:checkFunction (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/ |
H A D | db_config.cpp | 81 std::function<bool(int32_t)> checkFunction = [](int32_t val) { in CheckPageSizeConfig() local 85 return CheckAndGetDBConfig(config, DB_CONFIG_PAGESIZE, checkFunction, pageSize); in CheckPageSizeConfig() 90 std::function<bool(uint32_t)> checkFunction = [](uint32_t val) { in CheckRedoFlushConfig() local 93 return CheckAndGetDBConfig(config, DB_CONFIG_REDO_FLUSH_BY_TRX, checkFunction, redoFlush); in CheckRedoFlushConfig() 98 std::function<bool(uint32_t)> checkFunction = [pageSize](uint32_t val) { in CheckRedoBufSizeConfig() local 107 std::function<bool(int32_t)> checkFunction = [](int32_t val) { in CheckMaxConnNumConfig() local 110 return CheckAndGetDBConfig(config, DB_CONFIG_MAX_CONN_NUM, checkFunction, maxConnNum); in CheckMaxConnNumConfig() 115 std::function<bool(uint32_t)> checkFunction = [pageSize](uint32_t val) { in CheckBufferPoolSizeConfig() local 119 return CheckAndGetDBConfig(config, DB_CONFIG_BUFFER_POOL_SIZE, checkFunction, redoBufSize); in CheckBufferPoolSizeConfig() 124 std::function<bool(uint32_t)> checkFunction = [](uint32_t val) { in CheckCrcCheckEnableConfig() local [all …]
|