aboutsummaryrefslogtreecommitdiff
path: root/include/modules/sql.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-31 10:38:54 +0100
committerGravatar Sadie Powell2021-03-31 10:51:51 +0100
commit952ee5cc603a5231348b8cfab18ee85a097f5394 (patch)
treeaf56b96d229f931ace18fcf69a35614b5921e289 /include/modules/sql.h
parentAdd support for matching multiple hosts in <connect:{allow,deny}>. (diff)
Fix various documentation comments.
Diffstat (limited to 'include/modules/sql.h')
-rw-r--r--include/modules/sql.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h
index 47da6f6bf..292322cda 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -129,9 +129,9 @@ class SQL::Result : public classbase
/**
* Check if there's a column with the specified name in the result
*
- * @param the column name
- * @param on success, this is the column index
- * @returns true, or false if the column is not found
+ * @param column The column name.
+ * @param index The place to store the column index if it exists.
+ * @returns If the column exists then true; otherwise, false.
*/
virtual bool HasColumn(const std::string& column, size_t& index) = 0;
};