diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-12-01 13:58:24 +0100 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-12-01 13:58:24 +0100 |
commit | cca1a6a43e9d4b23f82291bc6a1ce456b47f1ad5 (patch) | |
tree | fec1a903345cf2a41af9d0bb25cfda200c78f04c /storage/ndb | |
parent | fae72af5aa4940dd331bac3886625aa92abd6046 (diff) | |
parent | f8c691172a72bb1ed39e4ed13c091ea22df68c78 (diff) | |
download | mariadb-git-cca1a6a43e9d4b23f82291bc6a1ce456b47f1ad5.tar.gz |
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/51-work
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Auto merged
Diffstat (limited to 'storage/ndb')
-rw-r--r-- | storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp index a7865c356c8..a245dbe1ff9 100644 --- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp +++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp @@ -13732,6 +13732,15 @@ Dbdict::checkDictLockQueue(Signal* signal, bool poll) break; } + if (c_blockState != BS_IDLE) + { + /** + * If state is BS_NODE_FAILURE, it might be that no op is running + */ + jam(); + break; + } + ndbrequire(c_blockState == BS_IDLE); lockPtr.p->locked = true; c_blockState = lockPtr.p->lt->blockState; |