summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: afca572)
raw | patch | inline | side by side (parent: afca572)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 14 Oct 2008 10:57:21 +0000 (12:57 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 16 Oct 2008 08:28:59 +0000 (10:28 +0200) |
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/postgresql.c | patch | blob | history |
diff --git a/src/postgresql.c b/src/postgresql.c
index 90e9f5db606ddcec80868e2225d8051f113221f4..faad16cd9b02b404c5326279bd8fa1aa85e64624 100644 (file)
--- a/src/postgresql.c
+++ b/src/postgresql.c
log_err ("SQL query returned wrong number of fields "
"(expected: %i, got: %i)", query->cols_num, cols);
log_info ("SQL query was: %s", query->query);
+ PQclear (res);
return -1;
}