mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed LP bug #825035.
The value of maybe_null flag should be saved for the second execution of a prepared statement from SELECT that uses an outer join.
This commit is contained in:
@ -3015,6 +3015,7 @@ bool mysql_insert_select_prepare(THD *thd)
|
||||
select_lex->leaf_tables_exec.push_back(table);
|
||||
table->tablenr_exec= table->table->tablenr;
|
||||
table->map_exec= table->table->map;
|
||||
table->maybe_null_exec= table->table->maybe_null;
|
||||
}
|
||||
if (arena)
|
||||
thd->restore_active_arena(arena, &backup);
|
||||
|
Reference in New Issue
Block a user