diff options
author | acurtis@xiphis.org <> | 2006-06-12 06:50:11 -0700 |
---|---|---|
committer | acurtis@xiphis.org <> | 2006-06-12 06:50:11 -0700 |
commit | 62729fcdfe5d46b6c6b1af11fb376bb49be022c1 (patch) | |
tree | 765547ed68437f6b146e3624d5185aecdac82e0a /sql/sql_tablespace.cc | |
parent | acf3a1938205cb0660e79b1974ec4aa2171f525a (diff) | |
download | mariadb-git-62729fcdfe5d46b6c6b1af11fb376bb49be022c1.tar.gz |
Bug#20168
"Change in behavior --default-storage-engine=ndb or ndbcluster"
Reduce use of legacy_db_type, some code cleanup
(serg read my mind and implemented desired mysqld.cc changes)
Diffstat (limited to 'sql/sql_tablespace.cc')
-rw-r--r-- | sql/sql_tablespace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_tablespace.cc b/sql/sql_tablespace.cc index 94318a67575..13dfb491af4 100644 --- a/sql/sql_tablespace.cc +++ b/sql/sql_tablespace.cc @@ -30,7 +30,7 @@ int mysql_alter_tablespace(THD *thd, st_alter_tablespace *ts_info) */ if (hton == NULL || hton->state != SHOW_OPTION_YES) { - hton= ha_resolve_by_legacy_type(thd, DB_TYPE_DEFAULT); + hton= ha_default_handlerton(thd); if (ts_info->storage_engine != 0) push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_ERROR, ER_WARN_USING_OTHER_HANDLER, |