mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.0 into 10.1
This commit is contained in:
@ -5830,7 +5830,7 @@ int handler::ha_external_lock(THD *thd, int lock_type)
|
||||
|
||||
DBUG_EXECUTE_IF("external_lock_failure", error= HA_ERR_GENERIC;);
|
||||
|
||||
if (error == 0)
|
||||
if (error == 0 || lock_type == F_UNLCK)
|
||||
{
|
||||
m_lock_type= lock_type;
|
||||
cached_table_flags= table_flags();
|
||||
|
Reference in New Issue
Block a user