Set the query_id. For now, used by performance test to later find the query in the server query_log. Must be called before sending the query to the server.
| 116 | /// Set the query_id. For now, used by performance test to later find the query |
| 117 | /// in the server query_log. Must be called before sending the query to the server. |
| 118 | void setQueryId(const std::string& query_id_) { assert(!sent_query); query_id = query_id_; } |
| 119 | |
| 120 | /// Specify how we allocate connections on a shard. |
| 121 | void setPoolMode(PoolMode pool_mode_) { pool_mode = pool_mode_; } |