mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
committed by
Sergei Golubchik
parent
f329fe1c23
commit
1c052e9011
@@ -8038,7 +8038,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
|
||||
ptr->select_lex= this;
|
||||
/*
|
||||
We can't cache internal temporary tables between prepares as the
|
||||
table may be deleted before next exection.
|
||||
table may be deleted before next execution.
|
||||
*/
|
||||
ptr->cacheable_table= !table->is_derived_table();
|
||||
ptr->index_hints= index_hints_arg;
|
||||
@@ -8059,8 +8059,8 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
|
||||
!cmp(&ptr->db, &tables->db)) &&
|
||||
!tables->sequence))
|
||||
{
|
||||
my_error(ER_NONUNIQ_TABLE, MYF(0), alias_str.str); /* purecov: tested */
|
||||
DBUG_RETURN(0); /* purecov: tested */
|
||||
my_error(ER_NONUNIQ_TABLE, MYF(0), alias_str.str); /* purecov: tested */
|
||||
DBUG_RETURN(0); /* purecov: tested */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user