mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
BUG#868908: Crash in check_simple_equality() with semijoin + materialization + prepared statement
- Part2: safety and code cleanup
This commit is contained in:
@ -5922,8 +5922,8 @@ bool TABLE_LIST::init_derived(THD *thd, bool init_view)
|
||||
int TABLE_LIST::fetch_number_of_rows()
|
||||
{
|
||||
int error= 0;
|
||||
if (jtbm_subselect) /* psergey-todo: how did we work before? */
|
||||
return 0; /*psergey-todo: check if we still need to set it? */
|
||||
if (jtbm_subselect)
|
||||
return 0;
|
||||
if (is_materialized_derived() && !fill_me)
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user