1# ArkData Changelog 2 3## cl.arkdata.1 Change in the Return Value When the Encryption Mode Is Changed in getRdbStore in @ohos.data.relationalStore.d.ts 4**Access Level** 5 6Public API 7 8**Reason for the Change** 9 10If the value of **encrypt** contained in the **config** parameter of **getRdbStore()** does not match the actual encryption mode, error 14800011 will be returned, which does not indicate the actual error. 11 12**Change Impact** 13 14This change is a compatible change. 15 16Before the change: 17If the encryption mode in **getRdbStore()** in [@ohos.data.relationalStore.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.data.relationalStore.d.ts) is changed, error 14800011 is returned. 18 19After the change: 20If the encryption mode in **getRdbStore()** in [@ohos.data.relationalStore.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.data.relationalStore.d.ts) is changed, the RDB store will be opened in the specified encryption mode. 21 22 23**Start API Level** 24 25API 9 26 27**Change Since** 28 29OpenHarmony 5.0.1.1 30 31**Key API/Component Changes** 32 33The following APIs in [@ohos.data.relationalStore.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.data.relationalStore.d.ts): 34 351. function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore\>): void; 36 372. function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore\>; 38 39**Adaptation Guide** 40 41No adaptation is required. 42