MXS-2572 Add basic smartrouter test

Very simple, creates 10 threads that concurrently starts making
simple INSERTs and SELECTs. The purpose is to test that the basic
router to router mechanism of smartrouter works.
This commit is contained in:
Johan Wikman
2019-06-26 09:46:05 +03:00
parent fa243a9ec4
commit 3424158b7c
4 changed files with 242 additions and 0 deletions

View File

@ -321,6 +321,11 @@ public:
return get_row(m_conn, q);
}
Result rows(const std::string& q) const
{
return get_result(m_conn, q);
}
std::string field(std::string q, int idx = 0)
{
Row r = get_row(m_conn, q);