Fix schemarouter duplicate database detection
The detection wouldn't work if the database had no tables.
This commit is contained in:
@ -1310,7 +1310,7 @@ enum showdb_response SchemaRouterSession::parse_mapping_response(SSRBackend& bre
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!ignore_duplicate_database(data) && strchr(data, '.') != NULL)
|
||||
if (!ignore_duplicate_database(data))
|
||||
{
|
||||
duplicate_found = true;
|
||||
SERVER* duplicate = m_shard.get_location(data);
|
||||
|
Reference in New Issue
Block a user