diff options
author | heikki@hundin.mysql.fi <> | 2004-05-13 22:07:51 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2004-05-13 22:07:51 +0300 |
commit | d2649c110a3779196d0873378024a3c26d1a17f4 (patch) | |
tree | beee046ed5311453bdb6ab92309349eb05cd9510 /innobase/ut | |
parent | 55e777572556eb5cd5ef001d6fc4218080849c13 (diff) | |
download | mariadb-git-d2649c110a3779196d0873378024a3c26d1a17f4.tar.gz |
ha_innodb.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Reserve the MySQL LOCK_thread_count mutex when printing thd->query of
an arbitrary transaction; if we are printing thd->query of a transaction that
we know is currently executing inside InnoDB, then we know that MySQL cannot
meanwhile change thd->query, and no need to reserve the MySQL mutex; note
that this patch still leaves open the possibility of races in MySQL's
thd->query_len
Diffstat (limited to 'innobase/ut')
0 files changed, 0 insertions, 0 deletions