From 3d44ab08453a81324fa024347b1d91b67a2aeeb7 Mon Sep 17 00:00:00 2001 From: luyangyang <1049603119@qq.com> Date: Mon, 1 Jul 2024 20:22:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9=20Sign?= =?UTF-8?q?ed-off-by:=20luyangyang=20<1049603119@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- distributeddatamgr/relational_store/include/relational_store.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distributeddatamgr/relational_store/include/relational_store.h b/distributeddatamgr/relational_store/include/relational_store.h index ff8863e40..b515ced31 100644 --- a/distributeddatamgr/relational_store/include/relational_store.h +++ b/distributeddatamgr/relational_store/include/relational_store.h @@ -126,7 +126,7 @@ typedef struct { */ bool isEncrypt; /** - * Indicates the security level {@link OH_Rdb_SecurityLevel} of the database. + * Indicates the security level {@link OH_Rdb_SecurityLevel} of the database. It is mandatory. */ int securityLevel; /** -- Gitee From 34af1a00edebebe4b278ddb8251a4bc8c034174c Mon Sep 17 00:00:00 2001 From: luyangyang <1049603119@qq.com> Date: Tue, 9 Jul 2024 19:41:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A=20Sign?= =?UTF-8?q?ed-off-by:=20luyangyang=20<1049603119@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../relational_store/include/relational_store.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/distributeddatamgr/relational_store/include/relational_store.h b/distributeddatamgr/relational_store/include/relational_store.h index b515ced31..ef6189190 100644 --- a/distributeddatamgr/relational_store/include/relational_store.h +++ b/distributeddatamgr/relational_store/include/relational_store.h @@ -106,31 +106,31 @@ typedef struct { */ int selfSize; /** - * Indicates the directory of the database. + * Indicates the directory of the database. It is mandatory, must be initialized, and cannot be null. */ const char *dataBaseDir; /** - * Indicates the name of the database. + * Indicates the name of the database. It is mandatory, must be initialized, and cannot be null. */ const char *storeName; /** - * Indicates the bundle name of the application. + * Indicates the bundle name of the application. It is mandatory, must be initialized, and cannot be null. */ const char *bundleName; /** - * Indicates the module name of the application. + * Indicates the module name of the application. It is mandatory, must be initialized, and can be null. */ const char *moduleName; /** - * Indicates whether the database is encrypted. + * Indicates whether the database is encrypted. It is mandatory, must be initialized to true or false. */ bool isEncrypt; /** - * Indicates the security level {@link OH_Rdb_SecurityLevel} of the database. It is mandatory. + * Indicates the security level {@link OH_Rdb_SecurityLevel} of the database. It is mandatory, must be initialized. */ int securityLevel; /** - * Indicates the security area {@link Rdb_SecurityArea} of the database. + * Indicates the security area {@link Rdb_SecurityArea} of the database. It is mandatory, must be initialized. * * @since 11 */ -- Gitee