summaryrefslogtreecommitdiffstats
path: root/src/lib/pgsql
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2022-02-07 17:05:38 +0100
committerRazvan Becheriu <razvan@isc.org>2022-02-07 18:55:57 +0100
commitadaa8c4199dd04f0371dbf49c0abf918d85f6aa6 (patch)
tree8a294f34ac5d15dc948f834f9d62fe7eeedd0b73 /src/lib/pgsql
parent[#2285] Fixed out of scope error in PgSql code in dhcpsrv (diff)
downloadkea-adaa8c4199dd04f0371dbf49c0abf918d85f6aa6.tar.xz
kea-adaa8c4199dd04f0371dbf49c0abf918d85f6aa6.zip
[#2285] Addressed review comments, fixed doxygen
Minor changes modified: src/lib/dhcpsrv/pgsql_host_data_source.cc src/lib/pgsql/pgsql_exchange.h
Diffstat (limited to 'src/lib/pgsql')
-rw-r--r--src/lib/pgsql/pgsql_exchange.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/pgsql/pgsql_exchange.h b/src/lib/pgsql/pgsql_exchange.h
index 0b0383610f..9c40c30756 100644
--- a/src/lib/pgsql/pgsql_exchange.h
+++ b/src/lib/pgsql/pgsql_exchange.h
@@ -26,8 +26,6 @@
namespace isc {
namespace db {
-/// @}
-
/// @brief RAII wrapper for PostgreSQL Result sets
///
/// When a Postgresql statement is executed, the results are returned
@@ -331,7 +329,7 @@ struct PsqlBindArray {
/// Stores the current value of a triplet to the bind array.
/// If it is unspecified it stores a NULL.
///
- /// @param triple Triplet instance from which to get the value.
+ /// @param triplet Triplet instance from which to get the value.
void add(const isc::util::Triplet<uint32_t>& triplet);
/// @brief Adds an integer Triplet's minimum value to the bind array
@@ -339,7 +337,7 @@ struct PsqlBindArray {
/// Stores the minimum value of a triplet to the bind array.
/// If it is unspecified it stores a NULL.
///
- /// @param triple Triplet instance from which to get the value.
+ /// @param triplet Triplet instance from which to get the value.
void addMin(const isc::util::Triplet<uint32_t>& triplet);
/// @brief Adds an integer Triplet's maximum value to the bind array
@@ -347,7 +345,7 @@ struct PsqlBindArray {
/// Stores the maximum value of a triplet to the bind array.
/// If it is unspecified it stores a NULL.
///
- /// @param triple Triplet instance from which to get the value.
+ /// @param triplet Triplet instance from which to get the value.
void addMax(const isc::util::Triplet<uint32_t>& triplet);
/// @brief Adds an @c Optional string to the bind array.
@@ -721,6 +719,7 @@ public:
/// @param r the result set containing the query results
/// @param row the row number within the result set
/// @param col the column number within the row
+ /// @param[out] value ElementPtr to receive the column data
///
/// @throw DbOperationError if the value cannot be fetched or is
/// invalid.