summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisammrg/myrg_open.c')
-rw-r--r--myisammrg/myrg_open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/myisammrg/myrg_open.c b/myisammrg/myrg_open.c
index 0606e0d7d88..d3bb0b4e7b6 100644
--- a/myisammrg/myrg_open.c
+++ b/myisammrg/myrg_open.c
@@ -119,6 +119,7 @@ int handle_locking;
pthread_mutex_lock(&THR_LOCK_open);
myrg_open_list=list_add(myrg_open_list,&m_info->open_list);
pthread_mutex_unlock(&THR_LOCK_open);
+ m_info->by_key.root=0;
DBUG_RETURN(m_info);
err: