Skip to content
Extraits de code Groupes Projets
Vérifiée Valider fc46465b rédigé par Kubat's avatar Kubat
Parcourir les fichiers

REPO: Also set the 'is_new' field for dry-updated karas

parent f8e254a1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!179Queue download if update asked per ID
Ce commit fait partie de la requête de fusion !179. Les commentaires créés ici seront créés dans le contexte de cette requête de fusion.
...@@ -452,6 +452,8 @@ ___handle_got_json_internal_callback(const char *key, const char *val, int comp, ...@@ -452,6 +452,8 @@ ___handle_got_json_internal_callback(const char *key, const char *val, int comp,
const bool ok = database_update_add(kara->db, kara->filename, &kara->mdt, id, false); const bool ok = database_update_add(kara->db, kara->filename, &kara->mdt, id, false);
LOG_ERROR_IF(!ok, "REPO", "Could not add unavailable kara %ld to db", kara->id); LOG_ERROR_IF(!ok, "REPO", "Could not add unavailable kara %ld to db", kara->id);
LOG_INFO_IF(ok, "REPO", "Added unavailable kara %ld to the database", kara->id); LOG_INFO_IF(ok, "REPO", "Added unavailable kara %ld to the database", kara->id);
if (ok)
database_update_set_new(kara->db, (int)kara->id, kara->is_new);
} }
/* The file changed */ /* The file changed */
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter