diff options
Diffstat (limited to 'src/include/gnunet_pq_lib.h')
-rw-r--r-- | src/include/gnunet_pq_lib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h index ff4df563d..0f6b88b78 100644 --- a/src/include/gnunet_pq_lib.h +++ b/src/include/gnunet_pq_lib.h | |||
@@ -525,7 +525,10 @@ GNUNET_PQ_eval_result (PGconn *connection, | |||
525 | * @return status code from the result, mapping PQ status | 525 | * @return status code from the result, mapping PQ status |
526 | * codes to `enum GNUNET_PQ_QueryStatus`. If the | 526 | * codes to `enum GNUNET_PQ_QueryStatus`. If the |
527 | * statement was a DELETE or UPDATE statement, the | 527 | * statement was a DELETE or UPDATE statement, the |
528 | * number of affected rows is returned. | 528 | * number of affected rows is returned; if the |
529 | * statment was an INSERT statement, and no row | ||
530 | * was added due to a UNIQUE violation, we return | ||
531 | * zero; if INSERT was successful, we return one. | ||
529 | */ | 532 | */ |
530 | enum GNUNET_PQ_QueryStatus | 533 | enum GNUNET_PQ_QueryStatus |
531 | GNUNET_PQ_eval_prepared_non_select (PGconn *connection, | 534 | GNUNET_PQ_eval_prepared_non_select (PGconn *connection, |