mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
fixes #5276 check for a locktree before trying to update its descriptor
git-svn-id: file:///svn/toku/tokudb@45908 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
4cea97e2b4
commit
68a73432b2
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ toku_db_change_descriptor(DB *db, DB_TXN* txn, const DBT* descriptor, u_int32_t
|
|||
// the lock tree uses a copy of the header's descriptor for comparisons.
|
||||
// if we need to update the cmp descriptor, we need to make sure the lock
|
||||
// tree can get a copy of the new descriptor.
|
||||
if (update_cmp_descriptor) {
|
||||
if (db->i->lt && update_cmp_descriptor) {
|
||||
toku_lt_update_descriptor(db->i->lt, db->cmp_descriptor);
|
||||
}
|
||||
cleanup:
|
||||
|
|
Loading…
Add table
Reference in a new issue