Commit b77985b4 authored by Alexey Botchkov's avatar Alexey Botchkov

test if the TABLE_LIST::find_derived_handler is actually working

(expecially for the partition engine)
 Seems it implemented for the federatedex egngine only.
parent fa582de2
...@@ -1645,6 +1645,7 @@ derived_handler *TABLE_LIST::find_derived_handler(THD *thd) ...@@ -1645,6 +1645,7 @@ derived_handler *TABLE_LIST::find_derived_handler(THD *thd)
handlerton *ht= tbl->table->file->partition_ht(); handlerton *ht= tbl->table->file->partition_ht();
if (!ht->create_derived) if (!ht->create_derived)
continue; continue;
DBUG_ASSERT(0);
derived_handler *dh= ht->create_derived(thd, this); derived_handler *dh= ht->create_derived(thd, this);
if (dh) if (dh)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment