diff options
Diffstat (limited to 'odb/pgsql/error.hxx')
-rw-r--r-- | odb/pgsql/error.hxx | 6 |
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); |