summaryrefslogtreecommitdiff
path: root/innobase/ut
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-05-13 22:07:51 +0300
committerheikki@hundin.mysql.fi <>2004-05-13 22:07:51 +0300
commitd2649c110a3779196d0873378024a3c26d1a17f4 (patch)
treebeee046ed5311453bdb6ab92309349eb05cd9510 /innobase/ut
parent55e777572556eb5cd5ef001d6fc4218080849c13 (diff)
downloadmariadb-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