1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

ha_discover_table_names() now always remove duplicates

Discoverred to be needed by the upcoming S3 engine
This commit is contained in:
Monty
2019-05-08 23:15:16 +03:00
parent 007f68c37f
commit 10e8ba13c6

View File

@ -5634,6 +5634,8 @@ int ha_discover_table_names(THD *thd, LEX_CSTRING *db, MY_DIR *dirp,
error= ext_table_discovery_simple(dirp, result) ||
plugin_foreach(thd, discover_names,
MYSQL_STORAGE_ENGINE_PLUGIN, &args);
if (args.possible_duplicates > 0)
result->remove_duplicates();
}
else
{