@@ -10286,10 +10286,10 @@ delete_table_drop_share(NDB_SHARE* share, const char * path)
1028610286/* static version which does not need a handler */
1028710287
1028810288int
10289- ha_ndbcluster::drop_table (THD *thd, ha_ndbcluster *h, Ndb *ndb,
10290- const char *path,
10291- const char *db,
10292- const char *table_name)
10289+ ha_ndbcluster::drop_table_impl (THD *thd, ha_ndbcluster *h, Ndb *ndb,
10290+ const char *path,
10291+ const char *db,
10292+ const char *table_name)
1029310293{
1029410294 DBUG_ENTER("ha_ndbcluster::ndbcluster_delete_table");
1029510295 NDBDICT *dict= ndb->getDictionary();
@@ -10481,8 +10481,8 @@ int ha_ndbcluster::delete_table(const char *name)
1048110481 If it was already gone it might have been dropped
1048210482 remotely, give a warning and then drop .ndb file.
1048310483 */
10484- if (!(error= drop_table (thd, this, ndb, name,
10485- m_dbname, m_tabname)) ||
10484+ if (!(error= drop_table_impl (thd, this, ndb, name,
10485+ m_dbname, m_tabname)) ||
1048610486 error == HA_ERR_NO_SUCH_TABLE)
1048710487 {
1048810488 /* Call ancestor function to delete .ndb file */
@@ -11288,7 +11288,7 @@ int ndbcluster_drop_database_impl(THD *thd, const char *path)
1128811288 while ((tabname=it++))
1128911289 {
1129011290 tablename_to_filename(tabname, tmp, FN_REFLEN - (tmp - full_path)-1);
11291- if (ha_ndbcluster::drop_table (thd, 0, ndb, full_path, dbname, tabname))
11291+ if (ha_ndbcluster::drop_table_impl (thd, 0, ndb, full_path, dbname, tabname))
1129211292 {
1129311293 const NdbError err= dict->getNdbError();
1129411294 if (err.code != 709 && err.code != 723)
@@ -17289,7 +17289,8 @@ mysql_declare_plugin(ndbcluster)
1728917289 0x0100, /* plugin version */
1729017290 ndb_status_variables_export,/* status variables */
1729117291 system_variables, /* system variables */
17292- NULL /* config options */
17292+ NULL, /* config options */
17293+ 0 /* flags */
1729317294},
1729417295{
1729517296 MYSQL_STORAGE_ENGINE_PLUGIN,
@@ -17303,7 +17304,8 @@ mysql_declare_plugin(ndbcluster)
1730317304 0x0001, /* plugin version */
1730417305 NULL, /* status variables */
1730517306 ndbinfo_system_variables, /* system variables */
17306- NULL /* config options */
17307+ NULL, /* config options */
17308+ 0 /* flags */
1730717309}
1730817310mysql_declare_plugin_end;
1730917311
0 commit comments