1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-5740: Assertion `!derived->first_select()->exclude_from_table_unique_test || derived->outer_select()-> exclude_from_table_unique_test' failed on 2nd execution of PS with derived_merge

Do not check tables of executed units.
Debug info about stages of derived tables execution added.
This commit is contained in:
unknown
2014-03-07 13:57:07 +02:00
parent 1f2ef57403
commit 321ff25f3d
5 changed files with 112 additions and 20 deletions

View File

@@ -1791,9 +1791,11 @@ struct TABLE_LIST
}
inline void set_merged_derived()
{
DBUG_ENTER("set_merged_derived");
derived_type= ((derived_type & DTYPE_MASK) |
DTYPE_TABLE | DTYPE_MERGE);
set_check_merged();
DBUG_VOID_RETURN;
}
inline bool is_materialized_derived()
{
@@ -1801,9 +1803,11 @@ struct TABLE_LIST
}
void set_materialized_derived()
{
DBUG_ENTER("set_materialized_derived");
derived_type= ((derived_type & DTYPE_MASK) |
DTYPE_TABLE | DTYPE_MATERIALIZE);
set_check_materialized();
DBUG_VOID_RETURN;
}
inline bool is_multitable()
{