Closed
Description
In the current implementation of Query_Processor and mysql_query_rules
, a query is rewritten only at the end of the analysis of the rules of mysql_query_rules
.
This leads to the fact that a query can only be rewritten once.
To allow multiple rewrites a lot of code needs to changed, because after each re-write we need to recalculate:
- original query
- digest