summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-05-12 15:54:51 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-05-12 15:54:51 (GMT)
commite44ffc323c8a9d4b446baba6e0b131107312fa84 (patch)
treeb9f05f0d9b12f2f07f7e4b925dd5d1f2f1a6f179
parent56320dc74baf04854b36d045b4ef8987dffdd2c5 (diff)
Fixed a little mistake when loading SQL values.
-rw-r--r--src/common/sqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/sqlite.c b/src/common/sqlite.c
index af2af9f..d497c81 100644
--- a/src/common/sqlite.c
+++ b/src/common/sqlite.c
@@ -355,14 +355,14 @@ bool load_db_values(sqlite3 *db, const char *table, bound_value *values, size_t
}
+ index++;
+
}
/* Chargement d'un nouvel élément */
cb(values, count, data);
- index++;
-
}
bind_error: