summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
authorGuilhem Bichot <guilhem@mysql.com>2008-11-20 15:11:00 +0100
committerGuilhem Bichot <guilhem@mysql.com>2008-11-20 15:11:00 +0100
commit8d96bcda72df224f7a656cbcc1535a027bada75f (patch)
treedd09bd83169cc69655e75a2544a22726d8b2ca17 /include/errmsg.h
parentf36a9625e3848fb0c1d75e9596d8dc3c401034f3 (diff)
downloadmariadb-git-8d96bcda72df224f7a656cbcc1535a027bada75f.tar.gz
During Maria's checkpoint, use the proper mutex to read transaction's short_id
storage/maria/trnman.c: During Maria's checkpoint, we walk the list of active transactions; in this list we may find a transaction with a short_id of 0 which means "uninitialized" (is being created right now) and want to ignore this transaction. Such short_id is set under trn->state_lock, so use this mutex to reliably read short_id during checkpoint.
Diffstat (limited to 'include/errmsg.h')
0 files changed, 0 insertions, 0 deletions