if (mfx->res_type == nullptr || mfx->res_version == nullptr)
return 0;
+ if (mfx->lib == nullptr)
+ mfx->lib = strdup("false");
+
auto q = tizen_base::Database::Sql(
"INSERT INTO package_res_info (package, res_type,"
- " res_version) VALUES (?, ?, ?)")
+ " res_version, lib) VALUES (?, ?, ?, ?)")
.Bind(mfx->package)
.Bind(mfx->res_type)
- .Bind(mfx->res_version);
+ .Bind(mfx->res_version)
+ .Bind(mfx->lib);
auto r = db.Exec(q);
if (!r) {