> > trx_rw_is_active needs to be modified to do that, right?
>
> No this is current behaviour, I did not change anything on
> trx_rw_is_active
In xtradb trx_rw_is_active returns bool.
I think xtradb is still the default innodb in 10.2.
In innobase it returns, indeed, trx_t*, I didn't notice that at first,
that's why I was confused.