aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/error.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-06-16 11:28:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-06-16 11:28:56 +0200
commitd094c398449be4366d6bfa93ad4fe58a19a159c1 (patch)
tree12d492c1b34bd9334e5fbe5c290c3f2d09ede617 /odb/pgsql/error.hxx
parentc6019273a7564be9ed772d45aa95e09aaff37a23 (diff)
Pipeline experimentbulk
Diffstat (limited to 'odb/pgsql/error.hxx')
-rw-r--r--odb/pgsql/error.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/pgsql/error.hxx b/odb/pgsql/error.hxx
index 36ecc44..24743ef 100644
--- a/odb/pgsql/error.hxx
+++ b/odb/pgsql/error.hxx
@@ -23,9 +23,9 @@ namespace odb
LIBODB_PGSQL_EXPORT void
translate_error (connection& c, PGresult* r);
- // Return true if the PGresult is in an error state. If both s and r are
- // non-null, the pointed to value will be populated with the result status.
- // Otherwise, s is ignored.
+ // Return true if PGresult is not NULL and is not in an error state. If
+ // both s and r are non-null, the pointed to value will be populated with
+ // the result status. Otherwise, s is ignored.
//
LIBODB_PGSQL_EXPORT bool
is_good_result (PGresult* r, ExecStatusType* s = 0);