.Bind(ss->operation)
.Bind(ss->color_depth);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(priv->license)
.Bind(priv->type);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(dep->required_version);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(label)
.Bind(icon);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
.Bind(rc->max_res_version)
.Bind(rc->auto_close);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(priv->value)
.Bind(priv->type);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(priv)
.Bind(datacontrol->type);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(category);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(ac->visibility)
.Bind(ac->id);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
.Bind(nullptr);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
.Bind(reinterpret_cast<char*>(priv_list->data));
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
.Bind(mfx->light_user_switch_mode);
if (!db.Exec(q, r)) {
- _LOGE("db.Exec() failed");
+ _LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return -1;
}
}
auto r = db.Exec(q);
- if (!r)
+ if (!r) {
+ LOGE("db.Exec() failed : %s", static_cast<const char*>(r));
return PMINFO_R_ERROR;
+ }
int col_cnt = r.GetColumnCount();
for (const auto& row : r) {