diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2013-09-16 15:52:11 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2013-09-16 15:52:11 +0900 |
commit | cc00c1b5f3e327892529ed26b1130353392a6228 (patch) | |
tree | 8d1ab94a584202cf40a0f301ec8df7a7da930ea2 /pkgmgr_livebox/src/service_register.c | |
parent | 941b30125c131c0fdd83f64c3db397552fb9ebaa (diff) | |
download | data-provider-master-cc00c1b5f3e327892529ed26b1130353392a6228.tar.gz data-provider-master-cc00c1b5f3e327892529ed26b1130353392a6228.tar.bz2 data-provider-master-cc00c1b5f3e327892529ed26b1130353392a6228.zip |
Fix the default content info bug.
If there is no definition of content info,
it should be "".
Change-Id: I25fd26e61a881190b1a2cdcbe003f76a146ea20f
Diffstat (limited to 'pkgmgr_livebox/src/service_register.c')
-rw-r--r-- | pkgmgr_livebox/src/service_register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgmgr_livebox/src/service_register.c b/pkgmgr_livebox/src/service_register.c index 01c36be..ae02359 100644 --- a/pkgmgr_livebox/src/service_register.c +++ b/pkgmgr_livebox/src/service_register.c @@ -83,7 +83,7 @@ * +-------+------+---------+-------------+---------+---------+-----------+-------+-------------+ * | - | - | - | - | - | - | - | - | - } * +-------+------+---------+-------------+---------+---------+-----------+-------+-------------+ - * CREATE TABLE client ( pkgid TEXT PRIMARY KEY NOT NULL, icon TEXT, name TEXT, auto_launch TEXT, pd_size TEXT, content TEXT DEFAULT "default", nodisplay INTEGER, setup TEXT, mouse_event, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ) + * CREATE TABLE client ( pkgid TEXT PRIMARY KEY NOT NULL, icon TEXT, name TEXT, auto_launch TEXT, pd_size TEXT, content TEXT, nodisplay INTEGER, setup TEXT, mouse_event, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ) * * = auto_launch = UI-APPID * = pd_size = WIDTHxHEIGHT @@ -640,7 +640,7 @@ static inline int db_create_client(void) ddl = "CREATE TABLE client (" \ "pkgid TEXT PRIMARY KEY NOT NULL, icon TEXT, name TEXT, " \ - "auto_launch TEXT, pd_size TEXT, content TEXT DEFAULT 'default', nodisplay INTEGER, setup TEXT, mouse_event INTEGER, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ON DELETE CASCADE)"; + "auto_launch TEXT, pd_size TEXT, content TEXT, nodisplay INTEGER, setup TEXT, mouse_event INTEGER, FOREIGN KEY(pkgid) REFERENCES pkgmap(pkgid) ON DELETE CASCADE)"; if (sqlite3_exec(s_info.handle, ddl, NULL, NULL, &err) != SQLITE_OK) { ErrPrint("Failed to execute the DDL (%s)\n", err); return -EIO; |