diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-06-14 22:15:52 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-06-15 18:42:31 +0200 |
commit | cf1a09e42f695bcd24dd8a4a928cd1f560c3c00a (patch) | |
tree | 1d9c502f2529f0240fb91d88ed4012c9a9989d2e /sql/datadict.cc | |
parent | 2edcf8f9ff2a1afb1d2bd5028a93b5f07ef0644e (diff) | |
download | mariadb-git-cf1a09e42f695bcd24dd8a4a928cd1f560c3c00a.tar.gz |
MDEV-6107 merge default_tmp_storage_engine
Adapt default_tmp_storage_engine implementation from mysql-5.6
New feature (as compared to 5.6), default_tmp_storage_engine=NULL
means that temporary tables will use default_storage_engine value.
This makes the behavior backward compatible.
Diffstat (limited to 'sql/datadict.cc')
-rw-r--r-- | sql/datadict.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/datadict.cc b/sql/datadict.cc index deeedcd512d..15e64c11bc2 100644 --- a/sql/datadict.cc +++ b/sql/datadict.cc @@ -113,7 +113,7 @@ frm_type_enum dd_frm_type(THD *thd, char *path, enum legacy_db_type *dbt) LEX_STRING name; name.str= (char*) next_chunk + 2; name.length= str_db_type_length; - plugin_ref tmp_plugin= ha_resolve_by_name(thd, &name); + plugin_ref tmp_plugin= ha_resolve_by_name(thd, &name, false); if (tmp_plugin) *dbt= plugin_data(tmp_plugin, handlerton *)->db_type; else |