未验证 提交 ff5810da 编写于 作者: O openharmony_ci 提交者: Gitee

!9408 (weekly)fix crash

Merge pull request !9408 from xieqiongyang/master
...@@ -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.
先完成此消息的编辑!
想要评论请 注册