Merge branch '2.3' into develop

This commit is contained in:
Esa Korhonen
2019-05-28 10:57:18 +03:00
4 changed files with 151 additions and 50 deletions

View File

@ -134,10 +134,12 @@ namespace maxscale
* @param conn Server connection
* @param query The query
* @param errmsg_out Where to store an error message if query fails. Can be null.
* @param errno_out Error code output. Can be null.
* @return Pointer to query results, or an empty pointer on failure
*/
std::unique_ptr<mxq::QueryResult> execute_query(MYSQL* conn, const std::string& query,
std::string* errmsg_out = NULL);
std::string* errmsg_out = nullptr,
unsigned int* errno_out = nullptr);
}
MXS_END_DECLS