Home
last modified time | relevance | path

Searched refs:IdoMysqlResult (Results 1 – 2 of 2) sorted by relevance

/dports/net-mgmt/icinga2/icinga2-2.13.2/lib/db_ido_mysql/
H A Didomysqlconnection.hpp17 typedef std::shared_ptr<MYSQL_RES> IdoMysqlResult; typedef
19 typedef std::function<void (const IdoMysqlResult&)> IdoAsyncCallback;
75 IdoMysqlResult Query(const String& query);
79 Dictionary::Ptr FetchRow(const IdoMysqlResult& result);
80 void DiscardRows(const IdoMysqlResult& result);
H A Didomysqlconnection.cpp285 IdoMysqlResult result = Query("SELECT @@global.max_allowed_packet AS max_allowed_packet"); in Reconnect()
506 …ction::AsyncQuery(const String& query, const std::function<void (const IdoMysqlResult&)>& callback) in AsyncQuery()
593 IdoMysqlResult iresult; in FinishAsyncQueries()
609 iresult = IdoMysqlResult(result, [this](MYSQL_RES* result) { m_Mysql->free_result(result); }); in FinishAsyncQueries()
637 IdoMysqlResult IdoMysqlConnection::Query(const String& query) in Query()
683 return IdoMysqlResult(); in Query()
686 return IdoMysqlResult(result, [this](MYSQL_RES* result) { m_Mysql->free_result(result); }); in Query()
721 Dictionary::Ptr IdoMysqlConnection::FetchRow(const IdoMysqlResult& result) in FetchRow()
748 void IdoMysqlConnection::DiscardRows(const IdoMysqlResult& result) in DiscardRows()
1182 …AsyncQuery(qbuf.str(), [this, query, type, upsert](const IdoMysqlResult&) { FinishExecuteQuery(que… in InternalExecuteQuery() argument
[all …]