diff options
author | Mattias Jonsson <mattias.jonsson@sun.com> | 2009-10-09 09:56:07 +0200 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@sun.com> | 2009-10-09 09:56:07 +0200 |
commit | ef31b39d1d62d9079e1ecaf15a53388ad8608811 (patch) | |
tree | 6f088c8ca845a7a5fd3011da49a8fe7456287156 /sql/ha_partition.cc | |
parent | 8905075456ddc2a9c7a8c61819043f94e62bbdd6 (diff) | |
parent | 0186334ae86380935124c4e71f5887ce6dab59e9 (diff) | |
download | mariadb-git-ef31b39d1d62d9079e1ecaf15a53388ad8608811.tar.gz |
merge into mysql-5.1-bugteam
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index ac55c4e718e..451631ff373 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -1280,10 +1280,10 @@ void ha_partition::cleanup_new_partition(uint part_count) m_file= m_added_file; m_added_file= NULL; + external_lock(ha_thd(), F_UNLCK); /* delete_table also needed, a bit more complex */ close(); - m_added_file= m_file; m_file= save_m_file; } DBUG_VOID_RETURN; |