diff options
author | unknown <heikki@donna.mysql.fi> | 2001-09-05 18:21:21 +0300 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-09-05 18:21:21 +0300 |
commit | 993603fe7155e8317294434b7e0c85d86b010a9e (patch) | |
tree | 87a1eb385a85d3be8526f403756a3e77f8611a8c /innobase/include | |
parent | aa161036d69995a71fcdb76d6732a8e658188f06 (diff) | |
download | mariadb-git-993603fe7155e8317294434b7e0c85d86b010a9e.tar.gz |
lock0lock.c Fix slowness of deadlock detection algorithm
trx0trx.h Fix slowness of deadlock detection algorithm
innobase/include/trx0trx.h:
Fix slowness of deadlock detection algorithm
innobase/lock/lock0lock.c:
Fix slowness of deadlock detection algorithm
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/trx0trx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/trx0trx.h b/innobase/include/trx0trx.h index fdef041e929..f179e20ad62 100644 --- a/innobase/include/trx0trx.h +++ b/innobase/include/trx0trx.h @@ -397,6 +397,8 @@ struct trx_struct{ wait_thrs; /* query threads belonging to this trx that are in the QUE_THR_LOCK_WAIT state */ + ulint deadlock_mark; /* a mark field used in deadlock + checking algorithm */ /*------------------------------*/ mem_heap_t* lock_heap; /* memory heap for the locks of the transaction; protected by |