From 8f254866dc993d2e832ef12ea7b4179f87ab3bd9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 3 Jun 2017 23:33:43 +0200 Subject: more pq work --- src/include/gnunet_pq_lib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/gnunet_pq_lib.h') diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h index 5e54813e3..ff4df563d 100644 --- a/src/include/gnunet_pq_lib.h +++ b/src/include/gnunet_pq_lib.h @@ -523,9 +523,9 @@ GNUNET_PQ_eval_result (PGconn *connection, * @param statement_name name of the statement * @param params parameters to give to the statement (#GNUNET_PQ_query_param_end-terminated) * @return status code from the result, mapping PQ status - * codes to `enum GNUNET_PQ_QueryStatus`. Never - * returns positive values as this function does - * not look at the result set. + * codes to `enum GNUNET_PQ_QueryStatus`. If the + * statement was a DELETE or UPDATE statement, the + * number of affected rows is returned. */ enum GNUNET_PQ_QueryStatus GNUNET_PQ_eval_prepared_non_select (PGconn *connection, -- cgit v1.2.3