summaryrefslogtreecommitdiff
path: root/src/lib/pgsql/pgsql_connection.h
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-01-25 20:18:43 +0200
committerAndrei Pavel <andrei@isc.org>2022-01-25 20:18:43 +0200
commite5d87e4f2fa3355a9896a9ea0799a9b4d93aea0e (patch)
tree4b323bdefa9502a3901faae18f29ba4b71bc3470 /src/lib/pgsql/pgsql_connection.h
parentcd64f52014004860323a811589bc398e25f5f4ca (diff)
[#2290] release changesKea-2.1.2
Diffstat (limited to 'src/lib/pgsql/pgsql_connection.h')
-rw-r--r--src/lib/pgsql/pgsql_connection.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/pgsql/pgsql_connection.h b/src/lib/pgsql/pgsql_connection.h
index 5422613fd3..4c58eb76bb 100644
--- a/src/lib/pgsql/pgsql_connection.h
+++ b/src/lib/pgsql/pgsql_connection.h
@@ -344,17 +344,17 @@ public:
/// @throw DbOperationError if the rollback failed.
void rollbackToSavepoint(const std::string& name);
- /// @brief Excutes the an SQL statement.
+ /// @brief Executes the an SQL statement.
///
/// It executes the given SQL text after first checking the
- /// connectition for usability. After the statement is excuted
+ /// connection for usability. After the statement is executed
/// @c checkStatementError() is invoked to ensure we detect
/// connectivity issues properly.
/// It is intended to be used to execute utility statements such
/// as commit, rollback et al, which have no parameters, return no
/// results, and are not pre-compiled.
///
- /// @param sql SQL statment to execute.
+ /// @param sql SQL statement to execute.
void executeSQL(const std::string& sql);
/// @brief Checks a result set's SQL state against an error state.
@@ -406,14 +406,14 @@ public:
}
}
- /// @brief Excutes a prepared SQL statement.
+ /// @brief Executes a prepared SQL statement.
///
/// It executes the given prepared SQL statement, after checking
/// for usability and input parameter sanity. After the statement
- /// is excuted @c checkStatementError() is invoked to ensure we detect
+ /// is executed @c checkStatementError() is invoked to ensure we detect
/// connectivity issues properly. Upon successful execution, the
/// the result set is returned. It may be used for any form of
- /// prepared SQL statement (e.g query, insert, udpate, delete...),
+ /// prepared SQL statement (e.g query, insert, update, delete...),
/// with or without input parameters.
///
/// @param statement PgSqlTaggedStatement describing the prepared