summaryrefslogtreecommitdiff
path: root/storage/maria/ma_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_close.c')
-rw-r--r--storage/maria/ma_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_close.c b/storage/maria/ma_close.c
index 8fe2334f5e7..e01ac702772 100644
--- a/storage/maria/ma_close.c
+++ b/storage/maria/ma_close.c
@@ -115,7 +115,7 @@ int maria_close(register MARIA_HA *info)
keys = share->state.header.keys;
VOID(rwlock_destroy(&share->mmap_lock));
for(i=0; i<keys; i++) {
- VOID(rwlock_destroy(&share->key_root_lock[i]));
+ VOID(rwlock_destroy(&share->keyinfo[i].root_lock));
}
}
#endif