Commit 10a21dbc authored by Mattias Jonsson's avatar Mattias Jonsson

pre push fix for bug#38804

sql/ha_partition.cc:
  pre push fix for bug#38804
  Found a missing 'if' for releasing the mutex
parent 38592fb0
......@@ -2502,6 +2502,7 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
sizeof(HA_DATA_PARTITION));
if (!ha_data)
{
if (is_not_tmp_table)
pthread_mutex_unlock(&table_share->mutex);
goto err_handler;
}
......
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