aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pq/pq_result_helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 78a375060..180c5fc18 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -70,6 +70,9 @@ extract_varsize_blob (void *cls,
70 void *idst; 70 void *idst;
71 int fnum; 71 int fnum;
72 72
73 *dst_size = 0;
74 *((void **) dst) = NULL;
75
73 fnum = PQfnumber (result, 76 fnum = PQfnumber (result,
74 fname); 77 fname);
75 if (fnum < 0) 78 if (fnum < 0)