18 for (
int i = 0; i < r.
Rows(); ++i)
20 const std::map<Anope::string, Anope::string> &map = r.
Row(i);
21 for (std::map<Anope::string, Anope::string>::const_iterator it = map.begin(); it != map.end(); ++it)
24 query =
"SHOW PROCEDURE STATUS WHERE `Db` = Database();";
26 for (
int i = 0; i < r.
Rows(); ++i)
30 query =
"SHOW EVENTS WHERE `Db` = Database();";
32 for (
int i = 0; i < r.
Rows(); ++i)
40 for (std::vector<Anope::string>::const_iterator it =
TableList.begin(); it !=
TableList.end(); ++it)
56 for (std::vector<Anope::string>::const_iterator it =
EventList.begin(); it !=
EventList.end(); ++it)
std::vector< Anope::string > EventList
MySQLInterface sqlinterface
std::vector< Anope::string > ProcedureList
const std::map< Anope::string, Anope::string > & Row(size_t index) const
ServiceReference< SQL::Provider > sql
bool HasEvent(const Anope::string &table)
const Anope::string Get(size_t index, const Anope::string &col) const
bool HasProcedure(const Anope::string &table)
std::vector< Anope::string > TableList
bool HasTable(const Anope::string &table)
void RunQuery(const SQL::Query &q)