1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
Igor Babaev
2011-08-16 22:48:35 -07:00
parent 923dc9ea76
commit 249a10c7dd
8 changed files with 73 additions and 0 deletions

View File

@ -7847,6 +7847,7 @@ bool setup_tables(THD *thd, Name_resolution_context *context,
{
table_list->table->tablenr= table_list->tablenr_exec;
table_list->table->map= table_list->map_exec;
table_list->table->maybe_null= table_list->maybe_null_exec;
table_list->table->pos_in_table_list= table_list;
}
select_lex->leaf_tables.push_back(table_list);