• vasil's avatar
    branches/zip: · e7c63e2c
    vasil authored
    Add the query in information_schema.innodb_trx.trx_query. Add it even
    though it is available in information_schema.processlist.info to make
    inconsistencies between those two tables obvious.
    
    It is rather confusting to see a transaction shown in innodb_trx and
    innodb_locks that holds a lock on one table and the corresponding query
    in processlist executing INSERT on another table. We do not want users
    to contact us asking to explain that. It is caused by the fact that the
    data for innodb_* tables and processlist is fetched at different time.
    
    Approved by:	Marko
    e7c63e2c
i_s.cc 30.8 KB