Change-Id: I311a652e8ef92139c3759aff7325e8e800bf314a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
goto cleanup;
}
+ if (!db)
+ return STICKERD_SERVER_ERROR_DB_FAILED;
+
ret = _create_db_table(db);
if (ret != SQLITE_OK)
goto cleanup;
goto cleanup;
}
+ if (!db)
+ return STICKERD_SERVER_ERROR_DB_FAILED;
+
ret = _create_db_table(db);
if (ret != SQLITE_OK)
goto cleanup;
goto cleanup;
}
+ if (!db)
+ return;
+
ret = sqlite3_exec(db, STICKER_INFO_CREATE_TABLE, NULL, NULL, &err);
if (ret != SQLITE_OK) {
LOGE("Failed to create sticker_info table : %s" , err);
goto cleanup;
}
+ if (!db)
+ return;
+
if (__change_ownership(db_path, UIFW_ID, UIFW_ID) != 0)
LOGE("failed to change ownership");