liquid_feedback_core

changeset 550:48ea1c309928

Bugfix regarding snapshots in admission phase: use correct snapshot_id in lf_update program
author jbe
date Tue Sep 12 16:54:26 2017 +0200 (2017-09-12)
parents 81a35235b450
children deabd90adae8
files lf_update.c
line diff
     1.1 --- a/lf_update.c	Tue Sep 12 16:23:12 2017 +0200
     1.2 +++ b/lf_update.c	Tue Sep 12 16:54:26 2017 +0200
     1.3 @@ -140,7 +140,7 @@
     1.4        else {
     1.5          char *snapshot_id, *escaped_snapshot_id;
     1.6          int j, count2;
     1.7 -        snapshot_id = PQgetvalue(res, 0, 0);
     1.8 +        snapshot_id = PQgetvalue(res2, 0, 0);
     1.9          escaped_snapshot_id = PQescapeLiteral(db, snapshot_id, strlen(snapshot_id));
    1.10          PQclear(res2);
    1.11          if (!escaped_snapshot_id) {

Impressum / About Us