Database: doc fixes

Change-Id: I6304e4379ee0d94bd816b968eb5f08a281cfd0b4
This commit is contained in:
Horst Schirmeier
2020-11-23 16:19:10 +01:00
parent 54155b1fe5
commit b516f2f07f

View File

@ -78,11 +78,11 @@ namespace fail {
*/ */
MYSQL * getHandle() const { return handle; } MYSQL * getHandle() const { return handle; }
/** /**
* Do a small database query. If get_result is set to false * Do a small database query. A return value of (MYSQL_RES *)0
* (MYSQL_RES *)0 or (MYSQL_RES *)1 is given back to indicate * indicates a query failure. If get_result is set to false, a return
* the result of the query. If the result should be fetched * value of (MYSQL_RES *)1 indicates success; if get_result is true, a
* a pointer is returned. This pointer is valid until the next * MySQL result handle is returned. This handle is valid until the
* call to this->query(stmt, true) * next call to this->query(stmt, true)
*/ */
MYSQL_RES *query(char const *query, bool get_result = false); MYSQL_RES *query(char const *query, bool get_result = false);
/** /**