Commit 91d6278c authored by Mattias Jonsson's avatar Mattias Jonsson

pre push fix for bug#38804

parent c51023d9
......@@ -2502,7 +2502,8 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
sizeof(HA_DATA_PARTITION));
if (!ha_data)
{
pthread_mutex_unlock(&table_share->mutex);
if (is_not_tmp_table)
pthread_mutex_unlock(&table_share->mutex);
goto err_handler;
}
DBUG_PRINT("info", ("table_share->ha_data 0x%p", ha_data));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment