mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -4856,7 +4856,12 @@ static my_bool discover_handlerton(THD *thd, plugin_ref plugin,
|
||||
{
|
||||
if (error)
|
||||
{
|
||||
DBUG_ASSERT(share->error); // tdc_lock_share needs that
|
||||
if (!share->error)
|
||||
{
|
||||
share->error= OPEN_FRM_ERROR_ALREADY_ISSUED;
|
||||
plugin_unlock(0, share->db_plugin);
|
||||
}
|
||||
|
||||
/*
|
||||
report an error, unless it is "generic" and a more
|
||||
specific one was already reported
|
||||
|
Reference in New Issue
Block a user