MXS-2299: Hints always take precedence
Hints should override all statement level routing decisions that would otherwise be done based on the query type.
This commit is contained in:
@ -348,7 +348,8 @@ private:
|
||||
*/
|
||||
bool query_type_is_read_only(uint32_t qtype) const;
|
||||
|
||||
uint32_t get_route_target(uint8_t command, uint32_t qtype, HINT* pHints);
|
||||
void process_routing_hints(HINT* pHints, uint32_t* target);
|
||||
uint32_t get_route_target(uint8_t command, uint32_t qtype);
|
||||
|
||||
MXS_SESSION* session() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user