Home
last modified time | relevance | path

Searched refs:GRD_DB_OPEN_CREATE (Results 1 - 17 of 17) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/
H A Ddocumentdb_api_test.cpp62 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
87 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, nullptr); in HWTEST_F()
91 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
98 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
109 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
115 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db1); in HWTEST_F()
160 int status = GRD_DBOpen(path, nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
176 int status = GRD_DBOpen(pathNoPerm.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
191 int status = GRD_DBOpen(pathNoPerm.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F()
208 int status = GRD_DBOpen(path.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, in HWTEST_F()
[all...]
H A Ddocumentdb_collection_test.cpp48 EXPECT_EQ(GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db), GRD_OK); in SetUp()
H A Ddocumentdb_delete_test.cpp46 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
H A Ddocumentdb_data_test.cpp50 EXPECT_EQ(GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db), GRD_OK); in SetUp()
H A Ddocumentdb_insert_test.cpp64 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
H A Ddocumentdb_find_test.cpp113 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
1473 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &test_db); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/
H A Ddocument_store_manager.cpp29 unsigned int mask = ~(GRD_DB_OPEN_CREATE | GRD_DB_OPEN_CHECK_FOR_ABNORMAL | GRD_DB_OPEN_CHECK | in CheckDBOpenFlag()
42 if ((flags & GRD_DB_OPEN_CREATE) == 0 && !OSAPI::IsPathExist(path)) { in CheckDBCreate()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dgrd_type_export.h36 #define GRD_DB_OPEN_CREATE 0x01 macro
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_base/
H A Dgrd_type_export.h35 #define GRD_DB_OPEN_CREATE 0x01 macro
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_connection.cpp155 errCode = RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &dbHandle_); in InnerOpen()
164 errCode = RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &dbHandle_); in InnerOpen()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_storage_engine.cpp192 flag |= GRD_DB_OPEN_CREATE; in OpenGrdDb()
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/
H A Dpreferences_db_adapter.h30 #define GRD_DB_OPEN_CREATE 0x01 macro
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dkv_delegate.cpp188 (path_ + "/dataShare.db").c_str(), nullptr, GRD_DB_OPEN_CREATE | GRD_DB_OPEN_CHECK_FOR_ABNORMAL, &db_); in Init()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/
H A Djson_fuzzer.cpp434 GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
1417 int ret = GRD_DBOpen(dbFileVal, configStr, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenCloseFuzz()
1487 int ret = GRD_DBOpen(nullptr, configStrVal, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenFuzz()
1511 int ret = GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbCloseResultSetFuzz()
1512 int errCode = GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db2); in DbCloseResultSetFuzz()
1570 int ret = GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbFlushFuzz()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/jsoninner_fuzzer/
H A Djsoninner_fuzzer.cpp443 GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
1426 int ret = GRD_DBOpenInner(dbFileVal, configStr, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenCloseFuzz()
1496 int ret = GRD_DBOpenInner(nullptr, configStrVal, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenFuzz()
1520 int ret = GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbCloseResultSetFuzz()
1521 int errCode = GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db2); in DbCloseResultSetFuzz()
1579 int ret = GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbFlushFuzz()
/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/
H A Dpreferences_db_adapter.cpp198 uint32_t flag = GRD_DB_OPEN_CREATE; in OpenDb()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_execute_rd_test.cpp258 EXPECT_EQ(RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &db2), E_OK); in HWTEST_P()
259 EXPECT_EQ(RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &db4), E_OK); in HWTEST_P()

Completed in 18 milliseconds