Comment 2 for bug 1019479

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

On a related note,

I would like the ability to define mysql session variables for all/most pt-tools (through --mysql-var variable which can take an array type argument value) before they start since there are several combinations of variables one would like to define (to workaround among other things), and we have seen issues with variables like tx_isolation and sql_mode, also it is hard to test with different values of sql_mode (and countless combinations of these with values of other variables) .

Most of them can be solved by defining session variable (currently the workaround is to set the global variable and toggle back but that is not good).

So, this is more of a wishlist type request.