-
magnus.blaudd@oracle.com authored
- rewrite clean_away_stray_files() to use find_files() direct rather than going via make_db_list(). - The only difference between make_db_list() and find_files() is that the information_schema database is not return in the list of databases. But it's currently not possible to create a NDB table in information_schema and thus there can not be any "stray" tables there either. - testcase added to ndb_reconnect which shows access denied when trying to create table in information_schema - This avoids patching the MySQL Server to make the static make_db_list() function available to use in ha_ndbcluster_binlog and thus the MCP for make_db_list() and LOOKUP_FIELD_VALUES can be removed. - Also remove the NDB_WITHOUT_MAKE_DB_LIST which was used for compiling ndbcluster in MySQL Server
magnus.blaudd@oracle.com authored- rewrite clean_away_stray_files() to use find_files() direct rather than going via make_db_list(). - The only difference between make_db_list() and find_files() is that the information_schema database is not return in the list of databases. But it's currently not possible to create a NDB table in information_schema and thus there can not be any "stray" tables there either. - testcase added to ndb_reconnect which shows access denied when trying to create table in information_schema - This avoids patching the MySQL Server to make the static make_db_list() function available to use in ha_ndbcluster_binlog and thus the MCP for make_db_list() and LOOKUP_FIELD_VALUES can be removed. - Also remove the NDB_WITHOUT_MAKE_DB_LIST which was used for compiling ndbcluster in MySQL Server
Loading