提交 161388f8 编写于 作者: X xieqiongyang

fix crash

Signed-off-by: Nxieqiongyang <xieqiongyang@huawei.com>
Change-Id: Ic8ba70894523371083abd0025cd9287d074e2319
上级 f43217dc
...@@ -20,7 +20,7 @@ import dataRdb from '@ohos.data.rdb' ...@@ -20,7 +20,7 @@ import dataRdb from '@ohos.data.rdb'
const TABLE_NAME = 'book' const TABLE_NAME = 'book'
const STORE_CONFIG = {name: 'book.db'} const STORE_CONFIG = {name: 'book.db'}
const SQL_CREATE_TABLE = 'CREATE TABLE IF NOT EXISTS book' + const SQL_CREATE_TABLE = 'CREATE TABLE IF NOT EXISTS book' +
'(id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, age INTEGER, introduction TEXT NOT NULL)' '(contact_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, age INTEGER, introduction TEXT NOT NULL, salary FLOAT)'
let rdbStore = undefined let rdbStore = undefined
const TAG = 'ACTS_ DataAbility.data' const TAG = 'ACTS_ DataAbility.data'
const context = featureAbility.getContext() const context = featureAbility.getContext()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册