From 9124fba8acdf4f053dbcbb8add4055a2699aad3e Mon Sep 17 00:00:00 2001 From: ZhaoJinghui Date: Wed, 18 Jun 2025 10:51:03 +0800 Subject: [PATCH] fix spell Signed-off-by: ZhaoJinghui Change-Id: I6136c07da4af1ce6605c78f02682d8d277b3e651 --- .../relational_store/include/oh_rdb_transaction.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/distributeddatamgr/relational_store/include/oh_rdb_transaction.h b/distributeddatamgr/relational_store/include/oh_rdb_transaction.h index d1c71fb20..e98c6b85d 100644 --- a/distributeddatamgr/relational_store/include/oh_rdb_transaction.h +++ b/distributeddatamgr/relational_store/include/oh_rdb_transaction.h @@ -105,25 +105,25 @@ OH_RDB_TransOptions *OH_RdbTrans_CreateOptions(void); /** * @brief Destroys an OH_RDB_TransOptions instance object. * - * @param opitons Represents a pointer to an instance of OH_RDB_TransOptions. + * @param options Represents a pointer to an instance of OH_RDB_TransOptions. * @return Returns the error code. * Returns {@link RDB_OK} if the execution is successful. * Returns {@link RDB_E_INVALID_ARGS} if invalid input parameter. * @since 18 */ -int OH_RdbTrans_DestroyOptions(OH_RDB_TransOptions *opitons); +int OH_RdbTrans_DestroyOptions(OH_RDB_TransOptions *options); /** - * @brief Sets integer data to the opitons object. + * @brief Sets integer data to the options object. * - * @param opitons Represents a pointer to an instance of OH_RDB_TransOptions. + * @param options Represents a pointer to an instance of OH_RDB_TransOptions. * @param type Represents relation database transaction type. * @return Returns the error code. * Returns {@link RDB_OK} if the execution is successful. * Returns {@link RDB_E_INVALID_ARGS} if invalid input parameter. * @since 18 */ -int OH_RdbTransOption_SetType(OH_RDB_TransOptions *opitons, OH_RDB_TransType type); +int OH_RdbTransOption_SetType(OH_RDB_TransOptions *options, OH_RDB_TransType type); /** * @brief Commits a transaction of a relational database. -- Gitee